Add and link to /howto static page (no content yet).
[matthijs/projects/xerxes.git] / templates / base / base.html
index b64e4449ec5d35cbd12b6f48b8d139e041c2bb4c..c5405a9255971c49ff2501c76d47401f3bf0144e 100644 (file)
@@ -3,14 +3,17 @@
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 <head>
-{# <link rel="stylesheet" type="text/css" href="http://www.evolution-events.nl/algemeen/css.php?skin=lex"/> #}
-<link rel="stylesheet" type="text/css" href="{{ STATIC_URL_PREFIX }}/base/css/lex.css"/>
-
-<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{{ STATIC_URL_PREFIX }}/base/css/base.css{% endblock %}"/>
+{% if debug %}
+{# Use local copy of skin css when in debug mode #}
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/base/css/lex.css"/>
+{% else %}
+<link rel="stylesheet" type="text/css" href="http://www.evolution-events.nl/algemeen/css.php?skin=lex"/>
+{% endif %}
+<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{{ MEDIA_URL }}/base/css/base.css{% endblock %}"/>
 {# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/yahoo-dom-event/yahoo-dom-event.js"></script>  #}
 {# <script type="text/javascript" src="http://yui.yahooapis.com/2.5.1/build/logger/logger-debug.js"></script> #}
-<script type="text/javascript" src="{{ STATIC_URL_PREFIX }}/base/js/yahoo-dom-event.js"></script> 
-<script type="text/javascript" src="{{ STATIC_URL_PREFIX }}/base/js/logger-debug.js"></script> 
+<script type="text/javascript" src="{{ MEDIA_URL }}/base/js/yahoo-dom-event.js"></script> 
+<script type="text/javascript" src="{{ MEDIA_URL }}/base/js/logger-debug.js"></script> 
 <title>Xerxes</title>
 </head>
 <body>
@@ -48,6 +51,7 @@
                <div class="navleftbox">
                <ul>
                        <li><a href="/influences/">Home</a></li>
+                       <li><a href="/influences/howto">Hoe werkt Xerxes?</a></li>
                        <li><a href="/accounts/logout/">Logout</a></li>
                </ul>
                </div>