diff options
| author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-14 00:05:56 +0000 |
|---|---|---|
| committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-14 00:05:56 +0000 |
| commit | 0d1b6ecd08c24cca9aa283fcb4f30a456899a5f3 (patch) | |
| tree | 765ee8b20f577a8e6756c3403bf471451c9aa296 /templates | |
| parent | 5577411f505db728e778a9bda8cd8a958c805317 (diff) | |
| download | Chimè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')
| -rw-r--r-- | templates/base.html | 3 | ||||
| -rw-r--r-- | templates/edit.html | 2 |
2 files changed, 3 insertions, 2 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> diff --git a/templates/edit.html b/templates/edit.html index 9d3ee8c..99dc99b 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -45,7 +45,7 @@ {{ field }} </div> {%endifequal%}{%endfor%}{%endfor%} -<p><input type='submit' value="{% trans 'Propose'%}"/></p> +<p><input type='submit' onclick='saveExtent();' value="{% trans 'Propose'%}"/></p> </form> </fieldset> {% endblock %} |
