summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/base.html26
-rw-r--r--templates/edit.html2
-rw-r--r--templates/edit_route.html2
-rw-r--r--templates/main_map.html2
-rw-r--r--templates/submited.html2
5 files changed, 20 insertions, 14 deletions
diff --git a/templates/base.html b/templates/base.html
index 943448e..ffa6025 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -12,24 +12,22 @@
</head>
<body>
- {% block top %}{% endblock %}
- <div id="topbar">
+ {% block top %}{% endblock %}
+ <div id="topbar">
<ul id='action'>
{% for action in actions %}
- <li{% ifequal action.id action_selected %} id='selected'{% endifequal %}><a href='/{{ action.path }}' onclick='saveExtent();'>{{ action.label }}</a></li>
+ <li{% ifequal action.id action_selected %} id='selected'{% endifequal %}><a href='/{{ action.path }}' onclick='saveExtent();'>{{ action.label }}</a></li>
{% endfor %}
</ul>
- </div>
- {% block sidebar %}{% endblock %}
- <div id="content">
- {% block message_map %}{% endblock %}
- {% block message_edit %}{% endblock %}
- {% block content %}{% endblock %}
- </div>
- {% 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>
+ </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>
diff --git a/templates/edit.html b/templates/edit.html
index 730035b..1378a63 100644
--- a/templates/edit.html
+++ b/templates/edit.html
@@ -1,6 +1,7 @@
{% extends "base_user.html" %}
{% load i18n %}
{% block message_map %}{% endblock %}
+{% block message_edit%}<div id='content'>{{block.super}}{% endblock %}
{% block content %}{{ block.super }}
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
@@ -47,4 +48,5 @@
<p><input type='submit' onclick='saveExtent();' value="{% trans 'Propose'%}"/></p>
</form>
</fieldset>
+</div>
{% endblock %}
diff --git a/templates/edit_route.html b/templates/edit_route.html
index 7f1aa1d..421a600 100644
--- a/templates/edit_route.html
+++ b/templates/edit_route.html
@@ -1,6 +1,7 @@
{% extends "base_user.html" %}
{% load i18n %}
{% block message_map %}{% endblock %}
+{% block message_edit%}<div id='content'>{{block.super}}{% endblock %}
{% block content %}{{ block.super }}
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<fieldset class='edit'>
@@ -47,4 +48,5 @@
<p><input type='submit' onclick='saveExtent();' value="{% trans 'Propose'%}"/></p>
</form>
</fieldset>
+</div>
{% endblock %}
diff --git a/templates/main_map.html b/templates/main_map.html
index 4d4f94d..117451a 100644
--- a/templates/main_map.html
+++ b/templates/main_map.html
@@ -3,6 +3,7 @@
{% block message_edit %}{% endblock %}
{% block sidebar %}{{ block.super }}
<div id='panel'>
+<h2>{% trans "Topics"%}</h2>
<form method='post' name='frm_categories' id='frm_categories'>
<ul id='categories'>{% for category, lst_sub_categories in sub_categories %}
<script language='javascript'><!--
@@ -27,6 +28,7 @@ lst_{{category.id}}.push("{{sub_category.id}}");{% endfor %}
</form>
</div>
{%if areas%}<div id='areas'>
+<h2>{% trans "Shortcuts"%}</h2>
<ul>{% for area in areas%}
<li><img class='zoom_image' alt='{% trans "Zoom to" %} {{area.name}}' src='{{media_path}}icons/zoom.png' onclick='zoomToArea({{area.upper_left_corner.x}}, {{area.upper_left_corner.y}}, {{area.lower_right_corner.x}}, {{area.lower_right_corner.y}})'/> {{area.name}}</li>{%endfor%}
</ul>
diff --git a/templates/submited.html b/templates/submited.html
index ab40cce..200717e 100644
--- a/templates/submited.html
+++ b/templates/submited.html
@@ -1,9 +1,11 @@
{% extends "base_user.html" %}
{% load i18n %}
{% block message_map %}{% endblock %}
+{% block message_edit%}<div id='content'>{{block.super}}{% endblock %}
{% block content %}{{ block.super }}
<fieldset class='edit'>
<p>{% trans "Your proposition has been submited. A moderator will treat your submission shortly. Thanks!" %}</p>
</fieldset>
+</div>
{% endblock %}