| author | cavaliet |
| Fri, 22 Aug 2014 15:02:39 +0200 | |
| changeset 314 | 515a46247b13 |
| parent 293 | b33caeba7faa |
| child 334 | 8b34dc2c2f41 |
| permissions | -rw-r--r-- |
| 131 | 1 |
{% extends "base.html" %} |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
2 |
{% load static %} |
| 131 | 3 |
|
| 135 | 4 |
{% load i18n %} |
5 |
||
6 |
{% block title %}{{block.super}} > {% trans "Recherche par facettes" %}{% endblock %} |
|
| 131 | 7 |
|
8 |
{% block css_import %} |
|
9 |
{{block.super}} |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
10 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/lib/leaflet/leaflet.css' %}" /> |
| 293 | 11 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/ui-lightness/jquery-ui-1.10.4.min.css' %}" /> |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
12 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/facettes.css?refresh' %}" /> |
| 131 | 13 |
{% endblock %} |
14 |
||
15 |
{% block js_import %} |
|
16 |
{{block.super}} |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
17 |
<script src="{% static 'hdalab/lib/raphael-min.js' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
18 |
<script src="{% static 'hdalab/lib/underscore-min.js' %}"></script> |
|
282
514addb1d747
migration to dbpedia fr for actual datas and update jquery ui
cavaliet
parents:
279
diff
changeset
|
19 |
<script src="{% static 'hdalab/lib/jquery-ui-1.10.4.min.js' %}"></script> |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
20 |
<script src="{% static 'hdalab/lib/leaflet/leaflet.js' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
21 |
<script src="{% static 'hdalab/lib/ZeroClipboard.js' %}"></script> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
22 |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
23 |
<script src="{% url 'jsi18n' 'hdalab' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
24 |
<script src="{% static 'hdalab/js/gomina.js?refresh' %}"></script> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
25 |
|
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
26 |
<script type="text/javascript"> |
| 135 | 27 |
gomNs.languageCode = '{{LANGUAGE_CODE}}'; |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
28 |
gomNs.urls = { |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
29 |
'filter': "{% url 'filter' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
30 |
'session_info': "{% url 'session_info' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
31 |
'countries': "{% static 'hdalab/lib/countries.geo.json' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
32 |
'tag_search': "{% url 'tag_search' %}", |
| 314 | 33 |
'datasheet': "{% url 'notice' 'ID' %}", |
34 |
'renkan': "{% url 'renkan_edit' %}" |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
35 |
}; |
| 132 | 36 |
ZeroClipboard.setMoviePath('{{STATIC_URL}}hdalab/lib/ZeroClipboard.swf'); |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
37 |
</script> |
| 131 | 38 |
{% endblock %} |
| 132 | 39 |
|
40 |
{% block facettes_actif %}actif{% endblock %} |
|
41 |
||
| 131 | 42 |
{% block main_content %} |
| 145 | 43 |
<div id="titleleft"> |
44 |
<h2 id="hdatitle">{% trans "Recherche par facettes" %} : <span id="sessionname"></span></h2> |
|
| 135 | 45 |
</div> |
| 145 | 46 |
<div id="titleright"> |
47 |
<div id='langselect'> |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
48 |
<form action="{% url 'django.views.i18n.set_language' %}" method="post" id="lang_form"> |
| 145 | 49 |
{% csrf_token %} |
50 |
<!--input name="next" type="hidden" value="" /--> |
|
51 |
{% get_language_info_list for LANGUAGES as languages %} |
|
52 |
{% for language in languages %} |
|
| 149 | 53 |
<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 | 54 |
{% endfor %} |
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"> |
|
|
288
0bb9c29cd41d
renkan first step : link, views and get put for json
cavaliet
parents:
282
diff
changeset
|
69 |
<a id="renkan-link" target="_blank" href="{% url 'renkan_edit' %}">{% trans "Créer un renkan" %}</a> |
| 145 | 70 |
<h4 id="vuestitre">{% trans "Mes vues :"%}</h4> |
71 |
<ul id="ongletsvues"> |
|
72 |
</ul> |
|
73 |
<span id="nouvellevue"><a href="#">+</a></span> |
|
74 |
</div> |
|
75 |
<ul id="plusdevues"> |
|
76 |
<li id="nouv_resrech"><a href="#">{% trans "Creer une vue sur des resultats de recherche" %}</a></li> |
|
77 |
<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
|
78 |
</ul> |
| 132 | 79 |
</div> |
80 |
<div id="waitcontainer"> |
|
81 |
<div id="waiting"></div> |
|
82 |
</div> |
|
83 |
<div id="bandefiltre"> |
|
84 |
<h4 id="filtertitle"> |
|
| 135 | 85 |
{% trans "Filtres :" %} |
| 132 | 86 |
</h4> |
87 |
<ul id="filters"> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
88 |
</ul> |
| 132 | 89 |
</div> |
90 |
<div id="timeline"> |
|
91 |
<ul id="dates"></ul> |
|
92 |
<div id="dateheat"></div> |
|
93 |
<div id="handle_0" class="handle"> |
|
94 |
<div class="handleinner"></div> |
|
95 |
</div> |
|
96 |
<div id="handle_1" class="handle"> |
|
97 |
<div class="handleinner"></div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
98 |
</div> |
| 132 | 99 |
</div> |
100 |
<div id="leftcol"> |
|
101 |
<div id="bloc_gestvue"> |
|
102 |
<div class="barrebloc"> |
|
| 135 | 103 |
<h2>{% trans "Gerer la vue" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
104 |
</div> |
| 132 | 105 |
<div class="corpsbloc" id="gestvue"> |
106 |
<div id="div_titrevue"> |
|
| 135 | 107 |
<label>{% trans "Nom :" %}</label> |
| 132 | 108 |
<input id="titrevue" /> |
109 |
</div> |
|
| 135 | 110 |
<h4>{% trans "Blocs visibles :" %}</h4> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
111 |
</div> |
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
112 |
</div> |
| 132 | 113 |
<div class="bloc" id="bloc_map"> |
114 |
<div class="barrebloc"> |
|
| 135 | 115 |
<h2>{% trans "Pays" %}</h2> |
| 132 | 116 |
</div> |
117 |
<div class="corpsbloc" id="map"></div> |
|
118 |
</div> |
|
119 |
<div class="bloc" id="bloc_tagcloud"> |
|
120 |
<div class="barrebloc"> |
|
| 135 | 121 |
<h2>{% trans "Nuage de mots-cles" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
122 |
</div> |
| 132 | 123 |
<div class="corpsbloc" id="tagcloud"> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
124 |
</div> |
| 132 | 125 |
</div> |
126 |
<div class="bloc" id="bloc_taginfo"> |
|
127 |
<div class="barrebloc"> |
|
| 250 | 128 |
<h2>{% trans "Rechercher un tag" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
129 |
</div> |
| 132 | 130 |
<div class="corpsbloc" id="taginfo"> |
| 250 | 131 |
<form id="tagform"> |
132 |
<input id="tagsearch" placeholder="{% trans "Rechercher un tag" %}" /> |
|
133 |
</form> |
|
134 |
<div class="wpinfo"> |
|
135 |
||
136 |
</div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
137 |
</div> |
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
138 |
</div> |
| 190 | 139 |
<div class="bloc" id="bloc_translationinfo"> |
140 |
{% trans "translation_info" %} |
|
141 |
</div> |
|
| 132 | 142 |
</div> |
143 |
<div id="rightcol"> |
|
144 |
<div class="bloc" id="bloc_notes"> |
|
145 |
<div class="barrebloc"> |
|
| 135 | 146 |
<h2>{% trans "Notes" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
147 |
</div> |
| 132 | 148 |
<div id="notes" class="corpsbloc"></div> |
149 |
</div> |
|
150 |
<div class="bloc" id="bloc_disciplines"> |
|
151 |
<div class="barrebloc"> |
|
| 135 | 152 |
<h2>{% trans "Disciplines artistiques" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
153 |
</div> |
| 132 | 154 |
<div id="disciplines" class="corpsbloc"></div> |
155 |
</div> |
|
156 |
<div class="bloc" id="bloc_notices"> |
|
157 |
<div class="barrebloc"> |
|
| 135 | 158 |
<h2>{% trans "Resultats de recherche" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
159 |
</div> |
| 132 | 160 |
<div class="corpsbloc"> |
161 |
<div id="contentcount"></div> |
|
162 |
<div id="contents"></div> |
|
163 |
</div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
164 |
</div> |
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
165 |
</div> |
| 132 | 166 |
</div> |
| 131 | 167 |
|
168 |
{% endblock %} |