| author | rougeronj |
| Mon, 09 Mar 2015 13:07:57 +0100 | |
| changeset 512 | fca12c75514c |
| parent 460 | 135f5fd7d263 |
| child 519 | 9dc050cf904b |
| 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> |
|
| 512 | 58 |
<div id='rkn_info'> |
59 |
<span class="mind-map-icon"></span> |
|
60 |
<p>Ce logo vous permet de créer un Renkan</p> |
|
61 |
</div> |
|
| 132 | 62 |
</div> |
63 |
<div id="waitcontainer"> |
|
64 |
<div id="waiting"></div> |
|
65 |
</div> |
|
66 |
<div id="bandefiltre"> |
|
67 |
<h4 id="filtertitle"> |
|
| 135 | 68 |
{% trans "Filtres :" %} |
| 132 | 69 |
</h4> |
70 |
<ul id="filters"> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
71 |
</ul> |
| 334 | 72 |
<a id="renkan-link" class="mind-map-icon" target="_blank" href="{% url 'renkan_edit' %}">placeholder</a> |
| 132 | 73 |
</div> |
74 |
<div id="timeline"> |
|
75 |
<ul id="dates"></ul> |
|
76 |
<div id="dateheat"></div> |
|
77 |
<div id="handle_0" class="handle"> |
|
78 |
<div class="handleinner"></div> |
|
79 |
</div> |
|
80 |
<div id="handle_1" class="handle"> |
|
81 |
<div class="handleinner"></div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
82 |
</div> |
| 132 | 83 |
</div> |
84 |
<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
|
85 |
<!--div id="bloc_gestvue"> |
| 132 | 86 |
<div class="barrebloc"> |
| 135 | 87 |
<h2>{% trans "Gerer la vue" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
88 |
</div> |
| 132 | 89 |
<div class="corpsbloc" id="gestvue"> |
90 |
<div id="div_titrevue"> |
|
| 135 | 91 |
<label>{% trans "Nom :" %}</label> |
| 132 | 92 |
<input id="titrevue" /> |
93 |
</div> |
|
| 135 | 94 |
<h4>{% trans "Blocs visibles :" %}</h4> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
95 |
</div> |
|
341
9a854bb09f34
big change : facette urls manages with location search parameters, and not anymore with session info.
cavaliet
parents:
334
diff
changeset
|
96 |
</div--> |
| 132 | 97 |
<div class="bloc" id="bloc_map"> |
98 |
<div class="barrebloc"> |
|
| 433 | 99 |
<h2>{% trans "Countries" %}</h2> |
| 132 | 100 |
</div> |
101 |
<div class="corpsbloc" id="map"></div> |
|
102 |
</div> |
|
| 386 | 103 |
<div class="bloc" id="bloc_taginfo"> |
104 |
<div class="barrebloc"> |
|
| 433 | 105 |
<h2>{% trans "Keywords research" %}</h2> |
| 386 | 106 |
</div> |
107 |
<div class="corpsbloc" id="taginfo"> |
|
108 |
<form id="tagform"> |
|
| 433 | 109 |
<input id="tagsearch" placeholder="{% trans 'Entrez un mot-clef' %}"/> |
| 386 | 110 |
</form> |
111 |
<div class="wpinfo"> |
|
112 |
||
113 |
</div> |
|
114 |
</div> |
|
115 |
</div> |
|
| 132 | 116 |
<div class="bloc" id="bloc_tagcloud"> |
117 |
<div class="barrebloc"> |
|
| 433 | 118 |
<h2>{% trans "Keywords cloud" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
119 |
</div> |
| 132 | 120 |
<div class="corpsbloc" id="tagcloud"> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
121 |
</div> |
| 132 | 122 |
</div> |
| 190 | 123 |
<div class="bloc" id="bloc_translationinfo"> |
124 |
{% trans "translation_info" %} |
|
125 |
</div> |
|
| 132 | 126 |
</div> |
127 |
<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
|
128 |
<!--div class="bloc" id="bloc_notes"> |
| 132 | 129 |
<div class="barrebloc"> |
| 135 | 130 |
<h2>{% trans "Notes" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
131 |
</div> |
| 132 | 132 |
<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
|
133 |
</div--> |
| 132 | 134 |
<div class="bloc" id="bloc_disciplines"> |
135 |
<div class="barrebloc"> |
|
| 135 | 136 |
<h2>{% trans "Disciplines artistiques" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
137 |
</div> |
| 132 | 138 |
<div id="disciplines" class="corpsbloc"></div> |
139 |
</div> |
|
140 |
<div class="bloc" id="bloc_notices"> |
|
141 |
<div class="barrebloc"> |
|
| 135 | 142 |
<h2>{% trans "Resultats de recherche" %}</h2> |
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
143 |
</div> |
| 132 | 144 |
<div class="corpsbloc"> |
145 |
<div id="contentcount"></div> |
|
146 |
<div id="contents"></div> |
|
147 |
</div> |
|
|
119
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
148 |
</div> |
|
e3ebe3545f72
first implementation of django version.
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
149 |
</div> |
| 132 | 150 |
</div> |
| 131 | 151 |
|
152 |
{% endblock %} |