| 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-- |
| 131 | 1 |
{% extends "base.html" %} |
2 |
||
| 135 | 3 |
{% load i18n %} |
4 |
||
5 |
{% block title %}{{block.super}} > {% trans "Recherche par facettes" %}{% endblock %} |
|
| 131 | 6 |
|
7 |
{% block css_import %} |
|
8 |
{{block.super}} |
|
| 127 | 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 | 11 |
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/facettes.css?refresh" /> |
| 131 | 12 |
{% endblock %} |
13 |
||
14 |
{% block js_import %} |
|
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 | 19 |
<script src="{{STATIC_URL}}hdalab/lib/leaflet/leaflet.js"></script> |
| 132 | 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 | 22 |
<script src="{% url jsi18n 'hdalab' %}"></script> |
| 261 | 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 | 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 | 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 | 32 |
'datasheet': "{% url notice 'ID' %}" |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
33 |
}; |
| 132 | 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 | 36 |
{% endblock %} |
| 132 | 37 |
|
38 |
{% block facettes_actif %}actif{% endblock %} |
|
39 |
||
| 131 | 40 |
{% block main_content %} |
| 145 | 41 |
<div id="titleleft"> |
42 |
<h2 id="hdatitle">{% trans "Recherche par facettes" %} : <span id="sessionname"></span></h2> |
|
| 135 | 43 |
</div> |
| 145 | 44 |
<div id="titleright"> |
45 |
<div id='langselect'> |
|
46 |
<form action="{% url django.views.i18n.set_language %}" method="post" id="lang_form"> |
|
47 |
{% csrf_token %} |
|
48 |
<!--input name="next" type="hidden" value="" /--> |
|
49 |
{% get_language_info_list for LANGUAGES as languages %} |
|
50 |
{% for language in languages %} |
|
| 149 | 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 | 52 |
{% endfor %} |
53 |
</form> |
|
54 |
</div> |
|
55 |
<div id="apartager"><a href="#">{% trans "Partager la session" %}</a></div> |
|
56 |
<div id="partageurls"> |
|
57 |
<ul> |
|
58 |
<li class="actif" id="partagero"><a href="#">{% trans "En lecture seule" %}</a></li> |
|
59 |
<li id="partagerw"><a href="#">{% trans "En lecture-ecriture" %}</a></li> |
|
60 |
</ul> |
|
61 |
<div id="zc-partageligne"> |
|
62 |
<label id="zc-partagelabel">{% trans "Copier le lien" %} : </label> |
|
63 |
<input id="zc-partageinput" onfocus="select();" /> |
|
64 |
</div> |
|
65 |
</div> |
|
66 |
<div id="vues"> |
|
67 |
<h4 id="vuestitre">{% trans "Mes vues :"%}</h4> |
|
68 |
<ul id="ongletsvues"> |
|
69 |
</ul> |
|
70 |
<span id="nouvellevue"><a href="#">+</a></span> |
|
71 |
</div> |
|
72 |
<ul id="plusdevues"> |
|
73 |
<li id="nouv_resrech"><a href="#">{% trans "Creer une vue sur des resultats de recherche" %}</a></li> |
|
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 | 76 |
</div> |
77 |
<div id="waitcontainer"> |
|
78 |
<div id="waiting"></div> |
|
79 |
</div> |
|
80 |
<div id="bandefiltre"> |
|
81 |
<h4 id="filtertitle"> |
|
| 135 | 82 |
{% trans "Filtres :" %} |
| 132 | 83 |
</h4> |
84 |
<ul id="filters"> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
85 |
</ul> |
| 132 | 86 |
</div> |
87 |
<div id="timeline"> |
|
88 |
<ul id="dates"></ul> |
|
89 |
<div id="dateheat"></div> |
|
90 |
<div id="handle_0" class="handle"> |
|
91 |
<div class="handleinner"></div> |
|
92 |
</div> |
|
93 |
<div id="handle_1" class="handle"> |
|
94 |
<div class="handleinner"></div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
95 |
</div> |
| 132 | 96 |
</div> |
97 |
<div id="leftcol"> |
|
98 |
<div id="bloc_gestvue"> |
|
99 |
<div class="barrebloc"> |
|
| 135 | 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 | 102 |
<div class="corpsbloc" id="gestvue"> |
103 |
<div id="div_titrevue"> |
|
| 135 | 104 |
<label>{% trans "Nom :" %}</label> |
| 132 | 105 |
<input id="titrevue" /> |
106 |
</div> |
|
| 135 | 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 | 110 |
<div class="bloc" id="bloc_map"> |
111 |
<div class="barrebloc"> |
|
| 135 | 112 |
<h2>{% trans "Pays" %}</h2> |
| 132 | 113 |
</div> |
114 |
<div class="corpsbloc" id="map"></div> |
|
115 |
</div> |
|
116 |
<div class="bloc" id="bloc_tagcloud"> |
|
117 |
<div class="barrebloc"> |
|
| 135 | 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 | 120 |
<div class="corpsbloc" id="tagcloud"> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
121 |
</div> |
| 132 | 122 |
</div> |
123 |
<div class="bloc" id="bloc_taginfo"> |
|
124 |
<div class="barrebloc"> |
|
| 250 | 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 | 127 |
<div class="corpsbloc" id="taginfo"> |
| 250 | 128 |
<form id="tagform"> |
129 |
<input id="tagsearch" placeholder="{% trans "Rechercher un tag" %}" /> |
|
130 |
</form> |
|
131 |
<div class="wpinfo"> |
|
132 |
||
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 | 136 |
<div class="bloc" id="bloc_translationinfo"> |
137 |
{% trans "translation_info" %} |
|
138 |
</div> |
|
| 132 | 139 |
</div> |
140 |
<div id="rightcol"> |
|
141 |
<div class="bloc" id="bloc_notes"> |
|
142 |
<div class="barrebloc"> |
|
| 135 | 143 |
<h2>{% trans "Notes" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
144 |
</div> |
| 132 | 145 |
<div id="notes" class="corpsbloc"></div> |
146 |
</div> |
|
147 |
<div class="bloc" id="bloc_disciplines"> |
|
148 |
<div class="barrebloc"> |
|
| 135 | 149 |
<h2>{% trans "Disciplines artistiques" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
150 |
</div> |
| 132 | 151 |
<div id="disciplines" class="corpsbloc"></div> |
152 |
</div> |
|
153 |
<div class="bloc" id="bloc_notices"> |
|
154 |
<div class="barrebloc"> |
|
| 135 | 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 | 157 |
<div class="corpsbloc"> |
158 |
<div id="contentcount"></div> |
|
159 |
<div id="contents"></div> |
|
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 | 163 |
</div> |
| 131 | 164 |
|
165 |
{% endblock %} |