summaryrefslogtreecommitdiff
path: root/chimere/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/base.html')
-rw-r--r--chimere/templates/base.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/chimere/templates/base.html b/chimere/templates/base.html
new file mode 100644
index 0000000..d8127cc
--- /dev/null
+++ b/chimere/templates/base.html
@@ -0,0 +1,41 @@
+{% load i18n %}
+<!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>
+ <script type="text/javascript"><!--
+ var media_path = '{{ media_path }}';
+ // --></script>
+ {% block extra_head %}{{extra_head|safe}}{% endblock %}
+ <link rel="stylesheet" href="{{ media_path }}styles.css" />
+ {% block head %}{% endblock %}
+</head>
+
+<body>
+ {% block top %}{% endblock %}
+ <div id="topbar">
+ <ul id='action'>
+{% for action, subactions in actions %}
+ <li{% ifequal action.id action_selected.0 %} class='selected'{% endifequal %}>
+ <a href='/{{ action.path }}' onclick='saveExtent();'>{{ action.label }}</a>
+ {% ifequal action.id action_selected.0 %}{% if subactions %}<ul>{% for subaction in subactions %}
+ <li{% ifequal subaction.id action_selected.1 %} class='selected'{% endifequal %}>
+ <a href='/{{ subaction.path }}' onclick='saveExtent();'>{{ subaction.label }}</a>
+ </li>
+ {% endfor %}</ul>{% endif %}{% endifequal %}
+ </li>
+{% endfor %}
+ </ul>
+ </div>
+ {% block sidebar %}{% endblock %}
+ {% block message_map %}{% endblock %}
+ {% block message_edit %}{% endblock %}
+ {% block content %}{% endblock %}
+ {% block bottom %}{% endblock %}
+ <div id='footer'>{% block footer %}
+{% trans "This site uses Chimère"%} - © 2008-2010 <a href='http://blog.peacefrogs.net/nim/chimere/'>Chimère project</a>
+ {% endblock %}</div>
+</body>
+</html>
+