Add and link to /howto static page (no content yet).
[matthijs/projects/xerxes.git] / templates / base / base.html
index 72d2214d483b8e1220213ffd8b8a2acd15b3df6c..c5405a9255971c49ff2501c76d47401f3bf0144e 100644 (file)
@@ -1,14 +1,20 @@
 {% load i18n %}
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+        "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>
 <div class="logo"></div>
@@ -45,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>