Skip to content
Snippets Groups Projects
Commit 31b5997d authored by Alvaro Graves's avatar Alvaro Graves
Browse files

Do not move css file

Fixed lodspeakr dir as 'lodspeakr' css is not moved views will include
loudspeaker in the css path
parent c0cdbe90
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
root_htaccess="root.htaccess"
cssdir="css"
parent_htaccess="../.htaccess"
settings_file="settings.inc.php"
......@@ -44,14 +43,6 @@ do
basedir=$aux_basedir
fi
echo -n "From the base directory, where lodspeakr located? (default '$lodspeakrdir'): "
read -u 1 aux_lodspeakrdir
echo ""
if [ "$aux_lodspeakrdir" != "" ]
then
lodspeakrdir=$aux_lodspeakrdir
fi
ns=$basedir
echo -n "Type the local namespace you will use (default '$ns'): "
......@@ -178,5 +169,4 @@ echo ""
cp $root_htaccess $parent_htaccess
echo 'RewriteRule ^(.+)$ '$lodspeakrdir'/index.php?q=$1 [L]' >> $parent_htaccess
cp -rv $cssdir ../
......@@ -5,7 +5,7 @@
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<head>
<title>Page about {{base.value.this}}</title>
<link href="{{base.baseUrl}}css/basic.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{{base.baseUrl}}/lodspeakr/css/basic.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<h1>Page about <a href='{{base.value.this}}'>{{base.curie.this}}</a></h1>
......
......@@ -5,7 +5,7 @@
{%endfor%}version="XHTML+RDFa 1.0" xml:lang="en">
<head>
<title>Page about {{row.value.name}}</title>
<link href="{{base.baseUrl}}css/person.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{{base.baseUrl}}lodspeakr/css/person.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
{% for row in r %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment