src/hdalab/templates/facettes.html
author cavaliet
Tue, 17 Jun 2014 10:32:57 +0200
changeset 272 1c774f7a0341
parent 271 8f77cf71ab02
parent 266 825ff4d6a8ac
child 279 177b508612f4
permissions -rw-r--r--
Merge with 0f8c8b16cb58987fb71a997407cf06a8873bbbbb
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" />
261
f5b5affc2586 Make thesaurus and categories visible
veltr
parents: 253
diff changeset
    11
        <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/facettes.css?refresh" />
131
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>
261
f5b5affc2586 Make thesaurus and categories visible
veltr
parents: 253
diff changeset
    23
        <script src="{{STATIC_URL}}hdalab/js/gomina.js?refresh"></script>
119
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 %}",
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    30
            'countries': "{{STATIC_URL}}hdalab/lib/countries.geo.json",
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
            'tag_search': "{% url tag_search %}",
253
1113c3874dd6 Added Datasheet View
veltr
parents: 250
diff changeset
    32
            'datasheet': "{% url notice 'ID' %}"
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
                    {% get_language_info_list for LANGUAGES as languages %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    50
                    {% for language in languages %}
149
e1bed43f3a1b Correction flags
veltr
parents: 148
diff changeset
    51
                        <input type="submit" name="language" class="langbutton{% if language.code == LANGUAGE_CODE %} selected{% endif %}" style="background-image: url({{STATIC_URL}}hdalab/img/flag_{{ language.code }}.png)" value="{{ language.code }}" title="{{ language.name_local }}" />
145
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    52
                    {% endfor %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    53
                </form>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    54
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    55
            <div id="apartager"><a href="#">{% trans "Partager la session" %}</a></div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    56
            <div id="partageurls">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    57
                <ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    58
                    <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
    59
                    <li id="partagerw"><a href="#">{% trans "En lecture-ecriture" %}</a></li>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    60
                </ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    61
                <div id="zc-partageligne">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    62
                    <label id="zc-partagelabel">{% trans "Copier le lien" %}&nbsp;: </label>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    63
                    <input id="zc-partageinput" onfocus="select();" />
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    64
                </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    65
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    66
            <div id="vues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    67
                <h4 id="vuestitre">{% trans "Mes vues :"%}</h4>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    68
                <ul id="ongletsvues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    69
                </ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    70
                <span id="nouvellevue"><a href="#">+</a></span>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    71
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    72
            <ul id="plusdevues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    73
                <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
    74
                <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
    75
            </ul>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    76
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    77
        <div id="waitcontainer">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    78
            <div id="waiting"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    79
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    80
        <div id="bandefiltre">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    81
            <h4 id="filtertitle">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    82
                {% trans "Filtres :" %}
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    83
            </h4>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    84
            <ul id="filters">
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
            </ul>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    86
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    87
        <div id="timeline">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    88
            <ul id="dates"></ul>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    89
            <div id="dateheat"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    90
            <div id="handle_0" class="handle">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    91
                <div class="handleinner"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    92
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    93
            <div id="handle_1" class="handle">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    94
                <div class="handleinner"></div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    95
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    96
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    97
        <div id="leftcol">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    98
            <div id="bloc_gestvue">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    99
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   100
                    <h2>{% trans "Gerer la vue" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   101
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   102
                <div class="corpsbloc" id="gestvue">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   103
                    <div id="div_titrevue">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   104
                        <label>{% trans "Nom :" %}</label>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   105
                        <input id="titrevue" />
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   106
                    </div>
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   107
                    <h4>{% trans "Blocs visibles :" %}</h4>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   108
                </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   109
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   110
            <div class="bloc" id="bloc_map">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   111
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   112
                    <h2>{% trans "Pays" %}</h2>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   113
                </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   114
                <div class="corpsbloc" id="map"></div>
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="bloc" id="bloc_tagcloud">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   117
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   118
                    <h2>{% trans "Nuage de mots-cles" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   119
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   120
                <div class="corpsbloc" id="tagcloud">
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>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   123
            <div class="bloc" id="bloc_taginfo">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   124
                <div class="barrebloc">
250
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   125
                    <h2>{% trans "Rechercher un tag" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   126
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   127
                <div class="corpsbloc" id="taginfo">
250
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   128
                    <form id="tagform">
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   129
                        <input id="tagsearch" placeholder="{% trans "Rechercher un tag" %}" />
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   130
                    </form>
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   131
                    <div class="wpinfo">
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   132
                        
7c3f54ce68af Merged Completion List back into Facettes
veltr
parents: 235
diff changeset
   133
                    </div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   134
                </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   135
            </div>
190
8ab21bb2a376 add trandslation information
ymh <ymh.work@gmail.com>
parents: 149
diff changeset
   136
            <div class="bloc" id="bloc_translationinfo">
8ab21bb2a376 add trandslation information
ymh <ymh.work@gmail.com>
parents: 149
diff changeset
   137
            {% trans "translation_info" %}
8ab21bb2a376 add trandslation information
ymh <ymh.work@gmail.com>
parents: 149
diff changeset
   138
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   139
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   140
        <div id="rightcol">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   141
            <div class="bloc" id="bloc_notes">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   142
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   143
                    <h2>{% trans "Notes" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   144
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   145
                <div id="notes" class="corpsbloc"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   146
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   147
            <div class="bloc" id="bloc_disciplines">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   148
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   149
                    <h2>{% trans "Disciplines artistiques" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   150
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   151
                <div id="disciplines" class="corpsbloc"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   152
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   153
            <div class="bloc" id="bloc_notices">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   154
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   155
                    <h2>{% trans "Resultats de recherche" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   156
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   157
                <div class="corpsbloc">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   158
                    <div id="contentcount"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   159
                    <div id="contents"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   160
                </div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   161
            </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   162
        </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   163
    </div>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
   164
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
   165
{% endblock %}