summaryrefslogtreecommitdiff
path: root/chimere/templates/chimere/main_map.html
blob: b7aa8688145aae85fb6cd01eda5d9cb4cd24adbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{% extends "chimere/base.html" %}
{% load i18n unlocalize_point chimere_tags %}
{% block extra_head %}
{% head_jquery %}
{% head_chimere %}
{% head_jme %}
<script src="{{ STATIC_URL }}chimere/js/jquery.chimere.js" type="text/javascript"></script>
{{ block.super }}
{% endblock %}
{% block message_edit %}{% endblock %}
{% block sidebar %}
    <div id='panel' class='draggable ui-widget ui-corner-all'>
        <h2 class='ui-widget ui-state-default ui-corner-all ui-widget-header'>{% trans "Categories"%}</h2>
        <form method='post' name='frm_categories' id='frm_categories'>
            <div id='categories'>
            {# Categories are displayed in JS #}
            </div>
        </form>
    </div>

    <div id='category_description'>
    </div>
    <script type='text/javascript'>
    $(function(){$('#category_description').dialog({'autoOpen':false});});
    </script>

    <div id='utils-div' class='ui-widget ui-state-default ui-corner-all'>
    {% if areas_visible %}
        {% display_areas %}
    {% endif %}
        {% routing %}
        {% display_welcome %}
        {% display_news news_visible %}
        <div id='permalink' class='ui-widget ui-button ui-state-default ui-corner-all'></div>
        <a id='simple_button' class='ui-widget ui-button ui-state-default ui-corner-all' href='{% url chimere:simple_index area_name_slash %}'>{% trans "Simple map" %}</a>
    </div>
    <div id='detail' class='ui-widget ui-corner-all'></div>
{% endblock %}
{% block content %}
    {{block.super}}
    <div id='main-map'></div>
<script type="text/javascript">
   $("#main-map").show();
</script>
    {% map_menu %}
    {% map 'main-map' %}
    <div id='chimere_message'></div>
    <script type='text/javascript'>
    $(function(){$('#chimere_message').dialog({'autoOpen':false});});
    </script>
{% endblock %}
{% block footer %}
    <p class='map-footer'>{% include "chimere/blocks/footer.html" %}</p>
{% endblock %}