summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authoretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2009-01-14 00:05:56 +0000
committeretienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864>2009-01-14 00:05:56 +0000
commit0d1b6ecd08c24cca9aa283fcb4f30a456899a5f3 (patch)
tree765ee8b20f577a8e6756c3403bf471451c9aa296 /templates/base.html
parent5577411f505db728e778a9bda8cd8a958c805317 (diff)
downloadChimère-0d1b6ecd08c24cca9aa283fcb4f30a456899a5f3.tar.bz2
Chimère-0d1b6ecd08c24cca9aa283fcb4f30a456899a5f3.zip
Keep zoom level and bounds between pages
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@13 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index e30e1e6..f54450d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -8,6 +8,7 @@
<script type="text/javascript"><!--
var media_path = '{{ media_path }}';
// --></script>
+ <script src="{{ media_path }}base.js"></script>
{% block extra_head %}{{extra_head|safe}}{% endblock %}
</head>
@@ -15,7 +16,7 @@
<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>
+ <li{% ifequal action.id action_selected %} id='selected'{% endifequal %}><a href='/{{ action.path }}' onclick='saveExtent();'>{{ action.label }}</a></li>
{% endfor %}
</ul>
</div>