summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2008-10-22 22:39:53 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2008-10-22 22:39:53 +0000
commit030ed86130fabc78695355021b5a0586df3e77b9 (patch)
treebd06e4842c67577829cd433d7621bd22dac12776 /templates/base.html
downloadChimère-030ed86130fabc78695355021b5a0586df3e77b9.tar.bz2
Chimère-030ed86130fabc78695355021b5a0586df3e77b9.zip
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@1 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
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>
+