web/hdalab/templates/facettes.html
author ymh <ymh.work@gmail.com>
Mon, 12 Mar 2012 01:07:56 +0100
changeset 145 5e79ea1eccb3
parent 135 dd6578e36a57
child 148 9b8354e224fb
permissions -rw-r--r--
improve interface
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
     1
{% extends "base.html" %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
     2
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
     3
{% load i18n %}
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
     4
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
     5
{% block title %}{{block.super}} &gt; {% trans "Recherche par facettes" %}{% endblock %}
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
     6
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
     7
{% block css_import %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
     8
{{block.super}}
127
8642f1fb6499 Integration scripts django et html
veltr
parents: 119
diff changeset
     9
        <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/lib/leaflet/leaflet.css" />
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
        <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/ui-lightness/jquery-ui-1.8.16.custom.css" />
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    11
        <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/facettes.css" />
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    12
{% endblock %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    13
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    14
{% block js_import %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    15
{{block.super}}
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
        <script src="{{STATIC_URL}}hdalab/lib/raphael-min.js"></script>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
        <script src="{{STATIC_URL}}hdalab/lib/underscore-min.js"></script>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
        <script src="{{STATIC_URL}}hdalab/lib/jquery-ui-1.8.16.custom.min.js"></script>
127
8642f1fb6499 Integration scripts django et html
veltr
parents: 119
diff changeset
    19
        <script src="{{STATIC_URL}}hdalab/lib/leaflet/leaflet.js"></script>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    20
        <script src="{{STATIC_URL}}hdalab/lib/ZeroClipboard.js"></script>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    22
        <script src="{% url jsi18n 'hdalab' %}"></script>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
        <script src="{{STATIC_URL}}hdalab/js/gomina.js?v=1"></script>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
        
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
        <script type="text/javascript">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    26
        gomNs.languageCode = '{{LANGUAGE_CODE}}';
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
        gomNs.urls = {
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
            'filter': "{% url filter %}",
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
            'session_info': "{% url session_info %}",
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
            'tag_search': "{% url tag_search %}",
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
            'tag_info': "{% url tag_info %}",
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    32
            'countries': "{{STATIC_URL}}hdalab/lib/countries.geo.json",
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
        };
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    34
        ZeroClipboard.setMoviePath('{{STATIC_URL}}hdalab/lib/ZeroClipboard.swf');
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
        </script>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    36
{% endblock %}
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    37
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    38
{% block facettes_actif %}actif{% endblock %}
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    39
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    40
{% block main_content %}
145
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    41
        <div id="titleleft">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    42
            <h2 id="hdatitle">{% trans "Recherche par facettes" %}&nbsp;: <span id="sessionname"></span></h2>
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    43
        </div>
145
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    44
        <div id="titleright">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    45
            <div id='langselect'>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    46
                <form action="{% url django.views.i18n.set_language %}" method="post" id="lang_form">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    47
                {% csrf_token %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    48
                    <!--input name="next" type="hidden" value="" /-->
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    49
                    <select name="language" onchange="this.form.submit()">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    50
                    {% get_language_info_list for LANGUAGES as languages %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    51
                    {% for language in languages %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    52
                        <option value="{{ language.code }}" {% if language.code == LANGUAGE_CODE %}selected="selected"{% endif %}>{{ language.name_local }} ({{ language.code }})</option>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    53
                    {% endfor %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    54
                    </select>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    55
                </form>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    56
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    57
            <div id="apartager"><a href="#">{% trans "Partager la session" %}</a></div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    58
            <div id="partageurls">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    59
                <ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    60
                    <li class="actif" id="partagero"><a href="#">{% trans "En lecture seule" %}</a></li>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    61
                    <li id="partagerw"><a href="#">{% trans "En lecture-ecriture" %}</a></li>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    62
                </ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    63
                <div id="zc-partageligne">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    64
                    <label id="zc-partagelabel">{% trans "Copier le lien" %}&nbsp;: </label>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    65
                    <input id="zc-partageinput" onfocus="select();" />
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    66
                </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    67
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    68
            <div id="vues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    69
                <h4 id="vuestitre">{% trans "Mes vues :"%}</h4>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    70
                <ul id="ongletsvues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    71
                </ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    72
                <span id="nouvellevue"><a href="#">+</a></span>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    73
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    74
            <ul id="plusdevues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    75
                <li id="nouv_resrech"><a href="#">{% trans "Creer une vue sur des resultats de recherche" %}</a></li>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    76
                <li id="nouv_liste"><a href="#">{% trans "Creer une liste de notices" %}</a></li>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
            </ul>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    78
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    79
        <div id="waitcontainer">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    80
            <div id="waiting"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    81
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    82
        <div id="bandefiltre">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    83
            <h4 id="filtertitle">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    84
                {% trans "Filtres :" %}
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    85
            </h4>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    86
            <ul id="filters">
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
            </ul>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    88
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    89
        <div id="timeline">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    90
            <ul id="dates"></ul>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    91
            <div id="dateheat"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    92
            <div id="handle_0" class="handle">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    93
                <div class="handleinner"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    94
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    95
            <div id="handle_1" class="handle">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    96
                <div class="handleinner"></div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    97
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    98
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    99
        <div id="leftcol">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   100
            <div id="bloc_gestvue">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   101
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   102
                    <h2>{% trans "Gerer la vue" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   103
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   104
                <div class="corpsbloc" id="gestvue">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   105
                    <div id="div_titrevue">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   106
                        <label>{% trans "Nom :" %}</label>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   107
                        <input id="titrevue" />
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   108
                    </div>
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   109
                    <h4>{% trans "Blocs visibles :" %}</h4>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   110
                </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   111
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   112
            <div class="bloc" id="bloc_map">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   113
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   114
                    <h2>{% trans "Pays" %}</h2>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   115
                </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   116
                <div class="corpsbloc" id="map"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   117
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   118
            <div class="bloc" id="bloc_tagcloud">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   119
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   120
                    <h2>{% trans "Nuage de mots-cles" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   121
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   122
                <div class="corpsbloc" id="tagcloud">
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   123
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   124
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   125
            <div class="bloc" id="bloc_taginfo">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   126
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   127
                    <h2>{% trans "Information sur un mot-cle" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   128
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   129
                <div class="corpsbloc" id="taginfo">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   130
                    <div id="tagcount"></div>
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   131
                    <div id="tagsearchwrap"><input id="tagsearch" value="{% trans "Rechercher un tag" %}" /></div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   132
                    <div id="tagdata"></div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   133
                </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   134
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   135
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   136
        <div id="rightcol">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   137
            <div class="bloc" id="bloc_notes">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   138
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   139
                    <h2>{% trans "Notes" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   140
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   141
                <div id="notes" class="corpsbloc"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   142
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   143
            <div class="bloc" id="bloc_disciplines">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   144
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   145
                    <h2>{% trans "Disciplines artistiques" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   146
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   147
                <div id="disciplines" class="corpsbloc"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   148
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   149
            <div class="bloc" id="bloc_notices">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   150
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   151
                    <h2>{% trans "Resultats de recherche" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   152
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   153
                <div class="corpsbloc">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   154
                    <div id="contentcount"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   155
                    <div id="contents"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   156
                </div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   157
            </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   158
        </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   159
    </div>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
   160
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
   161
{% endblock %}