| author | rougeronj |
| Wed, 10 Dec 2014 11:37:32 +0100 | |
| changeset 386 | 2ace68d1429b |
| parent 341 | 9a854bb09f34 |
| child 396 | 064f4cdc48c3 |
| 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' %}", |
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
30 |
{% comment %}'session_info': "{% url 'session_info' %}",{% endcomment %} |
|
279
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"> |
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
44 |
<h2 id="hdatitle">{% trans "Recherche par facettes" %}</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> |
|
| 132 | 57 |
</div> |
58 |
<div id="waitcontainer"> |
|
59 |
<div id="waiting"></div> |
|
60 |
</div> |
|
61 |
<div id="bandefiltre"> |
|
62 |
<h4 id="filtertitle"> |
|
| 135 | 63 |
{% trans "Filtres :" %} |
| 132 | 64 |
</h4> |
65 |
<ul id="filters"> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
66 |
</ul> |
| 334 | 67 |
<a id="renkan-link" class="mind-map-icon" target="_blank" href="{% url 'renkan_edit' %}">placeholder</a> |
| 132 | 68 |
</div> |
69 |
<div id="timeline"> |
|
70 |
<ul id="dates"></ul> |
|
71 |
<div id="dateheat"></div> |
|
72 |
<div id="handle_0" class="handle"> |
|
73 |
<div class="handleinner"></div> |
|
74 |
</div> |
|
75 |
<div id="handle_1" class="handle"> |
|
76 |
<div class="handleinner"></div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
77 |
</div> |
| 132 | 78 |
</div> |
79 |
<div id="leftcol"> |
|
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
80 |
<!--div id="bloc_gestvue"> |
| 132 | 81 |
<div class="barrebloc"> |
| 135 | 82 |
<h2>{% trans "Gerer la vue" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
83 |
</div> |
| 132 | 84 |
<div class="corpsbloc" id="gestvue"> |
85 |
<div id="div_titrevue"> |
|
| 135 | 86 |
<label>{% trans "Nom :" %}</label> |
| 132 | 87 |
<input id="titrevue" /> |
88 |
</div> |
|
| 135 | 89 |
<h4>{% trans "Blocs visibles :" %}</h4> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
90 |
</div> |
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
91 |
</div--> |
| 132 | 92 |
<div class="bloc" id="bloc_map"> |
93 |
<div class="barrebloc"> |
|
| 135 | 94 |
<h2>{% trans "Pays" %}</h2> |
| 132 | 95 |
</div> |
96 |
<div class="corpsbloc" id="map"></div> |
|
97 |
</div> |
|
| 386 | 98 |
<div class="bloc" id="bloc_taginfo"> |
99 |
<div class="barrebloc"> |
|
100 |
<h2>{% trans "Rechercher un mot-cle" %}</h2> |
|
101 |
</div> |
|
102 |
<div class="corpsbloc" id="taginfo"> |
|
103 |
<form id="tagform"> |
|
104 |
<input id="tagsearch" placeholder="{% trans 'Entrez un mot-cle' %}"/> |
|
105 |
</form> |
|
106 |
<div class="wpinfo"> |
|
107 |
||
108 |
</div> |
|
109 |
</div> |
|
110 |
</div> |
|
| 132 | 111 |
<div class="bloc" id="bloc_tagcloud"> |
112 |
<div class="barrebloc"> |
|
| 135 | 113 |
<h2>{% trans "Nuage de mots-cles" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
114 |
</div> |
| 132 | 115 |
<div class="corpsbloc" id="tagcloud"> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
116 |
</div> |
| 132 | 117 |
</div> |
| 190 | 118 |
<div class="bloc" id="bloc_translationinfo"> |
119 |
{% trans "translation_info" %} |
|
120 |
</div> |
|
| 132 | 121 |
</div> |
122 |
<div id="rightcol"> |
|
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
123 |
<!--div class="bloc" id="bloc_notes"> |
| 132 | 124 |
<div class="barrebloc"> |
| 135 | 125 |
<h2>{% trans "Notes" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
126 |
</div> |
| 132 | 127 |
<div id="notes" class="corpsbloc"></div> |
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
128 |
</div--> |
| 132 | 129 |
<div class="bloc" id="bloc_disciplines"> |
130 |
<div class="barrebloc"> |
|
| 135 | 131 |
<h2>{% trans "Disciplines artistiques" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
132 |
</div> |
| 132 | 133 |
<div id="disciplines" class="corpsbloc"></div> |
134 |
</div> |
|
135 |
<div class="bloc" id="bloc_notices"> |
|
136 |
<div class="barrebloc"> |
|
| 135 | 137 |
<h2>{% trans "Resultats de recherche" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
138 |
</div> |
| 132 | 139 |
<div class="corpsbloc"> |
140 |
<div id="contentcount"></div> |
|
141 |
<div id="contents"></div> |
|
142 |
</div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
143 |
</div> |
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
144 |
</div> |
| 132 | 145 |
</div> |
| 131 | 146 |
|
147 |
{% endblock %} |