web/hdalab/templates/facettes.html
author veltr
Wed, 29 Aug 2012 16:23:13 +0200
changeset 235 b41f0b200940
parent 190 8ab21bb2a376
child 250 7c3f54ce68af
permissions -rw-r--r--
Added autocomplete
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>
235
b41f0b200940 Added autocomplete
veltr
parents: 190
diff changeset
    23
        <script src="{{STATIC_URL}}hdalab/js/gomina.js?v=120829"></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
        };
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    32
        ZeroClipboard.setMoviePath('{{STATIC_URL}}hdalab/lib/ZeroClipboard.swf');
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
        </script>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    34
{% endblock %}
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    35
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    36
{% block facettes_actif %}actif{% endblock %}
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    37
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
    38
{% block main_content %}
145
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    39
        <div id="titleleft">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    40
            <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
    41
        </div>
145
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    42
        <div id="titleright">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    43
            <div id='langselect'>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    44
                <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
    45
                {% csrf_token %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    46
                    <!--input name="next" type="hidden" value="" /-->
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    47
                    {% get_language_info_list for LANGUAGES as languages %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    48
                    {% for language in languages %}
149
e1bed43f3a1b Correction flags
veltr
parents: 148
diff changeset
    49
                        <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
    50
                    {% endfor %}
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    51
                </form>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    52
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    53
            <div id="apartager"><a href="#">{% trans "Partager la session" %}</a></div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    54
            <div id="partageurls">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    55
                <ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    56
                    <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
    57
                    <li id="partagerw"><a href="#">{% trans "En lecture-ecriture" %}</a></li>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    58
                </ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    59
                <div id="zc-partageligne">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    60
                    <label id="zc-partagelabel">{% trans "Copier le lien" %}&nbsp;: </label>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    61
                    <input id="zc-partageinput" onfocus="select();" />
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    62
                </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    63
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    64
            <div id="vues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    65
                <h4 id="vuestitre">{% trans "Mes vues :"%}</h4>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    66
                <ul id="ongletsvues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    67
                </ul>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    68
                <span id="nouvellevue"><a href="#">+</a></span>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    69
            </div>
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    70
            <ul id="plusdevues">
5e79ea1eccb3 improve interface
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
    71
                <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
    72
                <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
    73
            </ul>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    74
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    75
        <div id="waitcontainer">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    76
            <div id="waiting"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    77
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    78
        <div id="bandefiltre">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    79
            <h4 id="filtertitle">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    80
                {% trans "Filtres :" %}
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    81
            </h4>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    82
            <ul id="filters">
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
            </ul>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    84
        </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    85
        <div id="timeline">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    86
            <ul id="dates"></ul>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    87
            <div id="dateheat"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    88
            <div id="handle_0" class="handle">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    89
                <div class="handleinner"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    90
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    91
            <div id="handle_1" class="handle">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    92
                <div class="handleinner"></div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
            </div>
132
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="leftcol">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    96
            <div id="bloc_gestvue">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
    97
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
    98
                    <h2>{% trans "Gerer la vue" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    99
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   100
                <div class="corpsbloc" id="gestvue">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   101
                    <div id="div_titrevue">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   102
                        <label>{% trans "Nom :" %}</label>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   103
                        <input id="titrevue" />
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   104
                    </div>
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   105
                    <h4>{% trans "Blocs visibles :" %}</h4>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   106
                </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   107
            </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   108
            <div class="bloc" id="bloc_map">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   109
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   110
                    <h2>{% trans "Pays" %}</h2>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   111
                </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   112
                <div class="corpsbloc" id="map"></div>
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="bloc" id="bloc_tagcloud">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   115
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   116
                    <h2>{% trans "Nuage de mots-cles" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   117
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   118
                <div class="corpsbloc" id="tagcloud">
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>
190
8ab21bb2a376 add trandslation information
ymh <ymh.work@gmail.com>
parents: 149
diff changeset
   121
            <div class="bloc" id="bloc_translationinfo">
8ab21bb2a376 add trandslation information
ymh <ymh.work@gmail.com>
parents: 149
diff changeset
   122
            {% trans "translation_info" %}
8ab21bb2a376 add trandslation information
ymh <ymh.work@gmail.com>
parents: 149
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 id="rightcol">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   126
            <div class="bloc" id="bloc_notes">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   127
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   128
                    <h2>{% trans "Notes" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   129
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   130
                <div id="notes" class="corpsbloc"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   131
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   132
            <div class="bloc" id="bloc_disciplines">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   133
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   134
                    <h2>{% trans "Disciplines artistiques" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   135
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   136
                <div id="disciplines" class="corpsbloc"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   137
            </div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   138
            <div class="bloc" id="bloc_notices">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   139
                <div class="barrebloc">
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 133
diff changeset
   140
                    <h2>{% trans "Resultats de recherche" %}</h2>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   141
                </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   142
                <div class="corpsbloc">
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   143
                    <div id="contentcount"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   144
                    <div id="contents"></div>
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   145
                </div>
119
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   146
            </div>
e3ebe3545f72 first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   147
        </div>
132
e6483309fa52 style changes and minor corrections
veltr
parents: 131
diff changeset
   148
    </div>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
   149
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents: 127
diff changeset
   150
{% endblock %}