summaryrefslogtreecommitdiff
path: root/templates/main_map.html
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2009-01-20 22:23:15 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2009-01-20 22:23:15 +0000
commit91a96b5435f79c8fe390b24b22ad5d63a41d29d3 (patch)
tree9e1f10f92a9e3bb0a6563f170e1c72ac20eeefe6 /templates/main_map.html
parent6221a562642f80c7de0bc3e406b551528f45d06a (diff)
downloadChimère-91a96b5435f79c8fe390b24b22ad5d63a41d29d3.tar.bz2
Chimère-91a96b5435f79c8fe390b24b22ad5d63a41d29d3.zip
Areas to easily to zoom at - main map
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@22 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'templates/main_map.html')
-rw-r--r--templates/main_map.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/main_map.html b/templates/main_map.html
index 13d2e36..17ad9b7 100644
--- a/templates/main_map.html
+++ b/templates/main_map.html
@@ -24,6 +24,12 @@ lst_{{category.id}}.push("{{sub_category.id}}");{% endfor %}
</form>
</div>
+{%if areas%}<div id='areas'>
+<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>
+</div>{%endif%}
+
<div id='detail'>
</div>
{{welcome}}{% endblock %}