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