| author | rougeronj |
| Thu, 11 Dec 2014 10:53:57 +0100 | |
| changeset 396 | 064f4cdc48c3 |
| parent 386 | 2ace68d1429b |
| child 433 | bffe8dfa3a7f |
| permissions | -rw-r--r-- |
| 131 | 1 |
{% extends "base.html" %} |
|
396
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
386
diff
changeset
|
2 |
{% load i18n %} |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
3 |
{% load static %} |
| 131 | 4 |
|
| 135 | 5 |
{% block title %}{{block.super}} > {% trans "Recherche par facettes" %}{% endblock %} |
| 131 | 6 |
|
7 |
{% block css_import %} |
|
8 |
{{block.super}} |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
9 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/lib/leaflet/leaflet.css' %}" /> |
| 293 | 10 |
<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
|
11 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/facettes.css?refresh' %}" /> |
| 131 | 12 |
{% endblock %} |
13 |
||
14 |
{% block js_import %} |
|
15 |
{{block.super}} |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
16 |
<script src="{% static 'hdalab/lib/raphael-min.js' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
17 |
<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
|
18 |
<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
|
19 |
<script src="{% static 'hdalab/lib/leaflet/leaflet.js' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
20 |
<script src="{% static 'hdalab/lib/ZeroClipboard.js' %}"></script> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
21 |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
22 |
<script src="{% url 'jsi18n' 'hdalab' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
23 |
<script src="{% static '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 = { |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
28 |
'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
|
29 |
{% comment %}'session_info': "{% url 'session_info' %}",{% endcomment %} |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
30 |
'countries': "{% static 'hdalab/lib/countries.geo.json' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
31 |
'tag_search': "{% url 'tag_search' %}", |
| 314 | 32 |
'datasheet': "{% url 'notice' 'ID' %}", |
33 |
'renkan': "{% url 'renkan_edit' %}" |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
34 |
}; |
| 132 | 35 |
ZeroClipboard.setMoviePath('{{STATIC_URL}}hdalab/lib/ZeroClipboard.swf'); |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
36 |
</script> |
| 131 | 37 |
{% endblock %} |
| 132 | 38 |
|
39 |
{% block facettes_actif %}actif{% endblock %} |
|
40 |
||
| 131 | 41 |
{% block main_content %} |
|
396
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
386
diff
changeset
|
42 |
<div id="titleleft" class="all-title"> |
|
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
386
diff
changeset
|
43 |
<h1>{% trans "Recherche par facettes" %}</h1> |
| 135 | 44 |
</div> |
| 145 | 45 |
<div id="titleright"> |
46 |
<div id='langselect'> |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
47 |
<form action="{% url 'django.views.i18n.set_language' %}" method="post" id="lang_form"> |
| 145 | 48 |
{% csrf_token %} |
49 |
<!--input name="next" type="hidden" value="" /--> |
|
50 |
{% get_language_info_list for LANGUAGES as languages %} |
|
51 |
{% for language in languages %} |
|
| 149 | 52 |
<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 | 53 |
{% endfor %} |
54 |
</form> |
|
55 |
</div> |
|
| 132 | 56 |
</div> |
57 |
<div id="waitcontainer"> |
|
58 |
<div id="waiting"></div> |
|
59 |
</div> |
|
60 |
<div id="bandefiltre"> |
|
61 |
<h4 id="filtertitle"> |
|
| 135 | 62 |
{% trans "Filtres :" %} |
| 132 | 63 |
</h4> |
64 |
<ul id="filters"> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
65 |
</ul> |
| 334 | 66 |
<a id="renkan-link" class="mind-map-icon" target="_blank" href="{% url 'renkan_edit' %}">placeholder</a> |
| 132 | 67 |
</div> |
68 |
<div id="timeline"> |
|
69 |
<ul id="dates"></ul> |
|
70 |
<div id="dateheat"></div> |
|
71 |
<div id="handle_0" class="handle"> |
|
72 |
<div class="handleinner"></div> |
|
73 |
</div> |
|
74 |
<div id="handle_1" class="handle"> |
|
75 |
<div class="handleinner"></div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
76 |
</div> |
| 132 | 77 |
</div> |
78 |
<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
|
79 |
<!--div id="bloc_gestvue"> |
| 132 | 80 |
<div class="barrebloc"> |
| 135 | 81 |
<h2>{% trans "Gerer la vue" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
82 |
</div> |
| 132 | 83 |
<div class="corpsbloc" id="gestvue"> |
84 |
<div id="div_titrevue"> |
|
| 135 | 85 |
<label>{% trans "Nom :" %}</label> |
| 132 | 86 |
<input id="titrevue" /> |
87 |
</div> |
|
| 135 | 88 |
<h4>{% trans "Blocs visibles :" %}</h4> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
89 |
</div> |
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
90 |
</div--> |
| 132 | 91 |
<div class="bloc" id="bloc_map"> |
92 |
<div class="barrebloc"> |
|
| 135 | 93 |
<h2>{% trans "Pays" %}</h2> |
| 132 | 94 |
</div> |
95 |
<div class="corpsbloc" id="map"></div> |
|
96 |
</div> |
|
| 386 | 97 |
<div class="bloc" id="bloc_taginfo"> |
98 |
<div class="barrebloc"> |
|
99 |
<h2>{% trans "Rechercher un mot-cle" %}</h2> |
|
100 |
</div> |
|
101 |
<div class="corpsbloc" id="taginfo"> |
|
102 |
<form id="tagform"> |
|
103 |
<input id="tagsearch" placeholder="{% trans 'Entrez un mot-cle' %}"/> |
|
104 |
</form> |
|
105 |
<div class="wpinfo"> |
|
106 |
||
107 |
</div> |
|
108 |
</div> |
|
109 |
</div> |
|
| 132 | 110 |
<div class="bloc" id="bloc_tagcloud"> |
111 |
<div class="barrebloc"> |
|
| 135 | 112 |
<h2>{% trans "Nuage de mots-cles" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
113 |
</div> |
| 132 | 114 |
<div class="corpsbloc" id="tagcloud"> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
115 |
</div> |
| 132 | 116 |
</div> |
| 190 | 117 |
<div class="bloc" id="bloc_translationinfo"> |
118 |
{% trans "translation_info" %} |
|
119 |
</div> |
|
| 132 | 120 |
</div> |
121 |
<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
|
122 |
<!--div class="bloc" id="bloc_notes"> |
| 132 | 123 |
<div class="barrebloc"> |
| 135 | 124 |
<h2>{% trans "Notes" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
125 |
</div> |
| 132 | 126 |
<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
|
127 |
</div--> |
| 132 | 128 |
<div class="bloc" id="bloc_disciplines"> |
129 |
<div class="barrebloc"> |
|
| 135 | 130 |
<h2>{% trans "Disciplines artistiques" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
131 |
</div> |
| 132 | 132 |
<div id="disciplines" class="corpsbloc"></div> |
133 |
</div> |
|
134 |
<div class="bloc" id="bloc_notices"> |
|
135 |
<div class="barrebloc"> |
|
| 135 | 136 |
<h2>{% trans "Resultats de recherche" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
137 |
</div> |
| 132 | 138 |
<div class="corpsbloc"> |
139 |
<div id="contentcount"></div> |
|
140 |
<div id="contents"></div> |
|
141 |
</div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
142 |
</div> |
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
143 |
</div> |
| 132 | 144 |
</div> |
| 131 | 145 |
|
146 |
{% endblock %} |