| 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-- |
| 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" /> |
| 131 | 11 |
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/facettes.css" /> |
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> |
|
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 | 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 | 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 | 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 |
<select name="language" onchange="this.form.submit()"> |
|
50 |
{% get_language_info_list for LANGUAGES as languages %} |
|
51 |
{% for language in languages %} |
|
52 |
<option value="{{ language.code }}" {% if language.code == LANGUAGE_CODE %}selected="selected"{% endif %}>{{ language.name_local }} ({{ language.code }})</option> |
|
53 |
{% endfor %} |
|
54 |
</select> |
|
55 |
</form> |
|
56 |
</div> |
|
57 |
<div id="apartager"><a href="#">{% trans "Partager la session" %}</a></div> |
|
58 |
<div id="partageurls"> |
|
59 |
<ul> |
|
60 |
<li class="actif" id="partagero"><a href="#">{% trans "En lecture seule" %}</a></li> |
|
61 |
<li id="partagerw"><a href="#">{% trans "En lecture-ecriture" %}</a></li> |
|
62 |
</ul> |
|
63 |
<div id="zc-partageligne"> |
|
64 |
<label id="zc-partagelabel">{% trans "Copier le lien" %} : </label> |
|
65 |
<input id="zc-partageinput" onfocus="select();" /> |
|
66 |
</div> |
|
67 |
</div> |
|
68 |
<div id="vues"> |
|
69 |
<h4 id="vuestitre">{% trans "Mes vues :"%}</h4> |
|
70 |
<ul id="ongletsvues"> |
|
71 |
</ul> |
|
72 |
<span id="nouvellevue"><a href="#">+</a></span> |
|
73 |
</div> |
|
74 |
<ul id="plusdevues"> |
|
75 |
<li id="nouv_resrech"><a href="#">{% trans "Creer une vue sur des resultats de recherche" %}</a></li> |
|
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 | 78 |
</div> |
79 |
<div id="waitcontainer"> |
|
80 |
<div id="waiting"></div> |
|
81 |
</div> |
|
82 |
<div id="bandefiltre"> |
|
83 |
<h4 id="filtertitle"> |
|
| 135 | 84 |
{% trans "Filtres :" %} |
| 132 | 85 |
</h4> |
86 |
<ul id="filters"> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
87 |
</ul> |
| 132 | 88 |
</div> |
89 |
<div id="timeline"> |
|
90 |
<ul id="dates"></ul> |
|
91 |
<div id="dateheat"></div> |
|
92 |
<div id="handle_0" class="handle"> |
|
93 |
<div class="handleinner"></div> |
|
94 |
</div> |
|
95 |
<div id="handle_1" class="handle"> |
|
96 |
<div class="handleinner"></div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
97 |
</div> |
| 132 | 98 |
</div> |
99 |
<div id="leftcol"> |
|
100 |
<div id="bloc_gestvue"> |
|
101 |
<div class="barrebloc"> |
|
| 135 | 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 | 104 |
<div class="corpsbloc" id="gestvue"> |
105 |
<div id="div_titrevue"> |
|
| 135 | 106 |
<label>{% trans "Nom :" %}</label> |
| 132 | 107 |
<input id="titrevue" /> |
108 |
</div> |
|
| 135 | 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 | 112 |
<div class="bloc" id="bloc_map"> |
113 |
<div class="barrebloc"> |
|
| 135 | 114 |
<h2>{% trans "Pays" %}</h2> |
| 132 | 115 |
</div> |
116 |
<div class="corpsbloc" id="map"></div> |
|
117 |
</div> |
|
118 |
<div class="bloc" id="bloc_tagcloud"> |
|
119 |
<div class="barrebloc"> |
|
| 135 | 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 | 122 |
<div class="corpsbloc" id="tagcloud"> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
123 |
</div> |
| 132 | 124 |
</div> |
125 |
<div class="bloc" id="bloc_taginfo"> |
|
126 |
<div class="barrebloc"> |
|
| 135 | 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 | 129 |
<div class="corpsbloc" id="taginfo"> |
130 |
<div id="tagcount"></div> |
|
| 135 | 131 |
<div id="tagsearchwrap"><input id="tagsearch" value="{% trans "Rechercher un tag" %}" /></div> |
| 132 | 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 | 135 |
</div> |
136 |
<div id="rightcol"> |
|
137 |
<div class="bloc" id="bloc_notes"> |
|
138 |
<div class="barrebloc"> |
|
| 135 | 139 |
<h2>{% trans "Notes" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
140 |
</div> |
| 132 | 141 |
<div id="notes" class="corpsbloc"></div> |
142 |
</div> |
|
143 |
<div class="bloc" id="bloc_disciplines"> |
|
144 |
<div class="barrebloc"> |
|
| 135 | 145 |
<h2>{% trans "Disciplines artistiques" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
146 |
</div> |
| 132 | 147 |
<div id="disciplines" class="corpsbloc"></div> |
148 |
</div> |
|
149 |
<div class="bloc" id="bloc_notices"> |
|
150 |
<div class="barrebloc"> |
|
| 135 | 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 | 153 |
<div class="corpsbloc"> |
154 |
<div id="contentcount"></div> |
|
155 |
<div id="contents"></div> |
|
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 | 159 |
</div> |
| 131 | 160 |
|
161 |
{% endblock %} |