summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..3f4e0ac
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>{% block title %}Chimère{% endblock %}</title>
+ <link rel="stylesheet" href="{{ media_path }}styles.css" />
+ <script type="text/javascript"><!--
+ var media_path = '{{ media_path }}';
+ // --></script>
+ {% block extra_head %}{{extra_head|safe}}{% endblock %}
+</head>
+
+<body>
+ <div id="topbar">
+ <ul id='action'>
+{% for action in actions %}
+ <li{% ifequal action.id action_selected %} id='selected'{% endifequal %}><a href='/{{ action.path }}'>{{ action.label }}</a></li>
+{% endfor %}
+ </ul>
+ </div>
+ <div id="sidebar">
+ {% block sidebar %}{% endblock %}
+ </div>
+ <div id="content">
+ {% block content %}{% endblock %}
+ </div>
+</body>
+</html>
+