| author | rougeronj |
| Mon, 09 Mar 2015 13:07:57 +0100 | |
| changeset 512 | fca12c75514c |
| parent 477 | 8f70ba2106a9 |
| child 528 | c98f8e60e8e7 |
| permissions | -rw-r--r-- |
| 205 | 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:
387
diff
changeset
|
2 |
{% load i18n %} |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
3 |
{% load static %} |
| 205 | 4 |
|
|
396
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
387
diff
changeset
|
5 |
{% block title %}{{block.super}} > {% trans "Recherche par arbre" %}{% endblock %} |
| 205 | 6 |
|
7 |
{% block css_import %} |
|
8 |
{{block.super}} |
|
| 293 | 9 |
<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:
271
diff
changeset
|
10 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/trees.css?refresh' %}" /> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
11 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/cattree.css?refresh' %}" /> |
| 205 | 12 |
{% endblock %} |
13 |
||
14 |
{% block js_import %} |
|
15 |
{{block.super}} |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
16 |
<script src="{% static 'hdalab/lib/underscore-min.js' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
17 |
<script src="{% static 'hdalab/lib/mustache.js' %}"></script> |
| 345 | 18 |
<script src="{% static 'hdalab/lib/jquery-ui-1.10.4.min.js' %}"></script> |
| 205 | 19 |
<script type="text/javascript"> |
20 |
endpoints = { |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
21 |
cat_search: "{% url 'cat_search' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
22 |
cat_tree: "{% url 'cat_tree' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
23 |
fill_tree: "{% url 'fill_tree' %}", |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
24 |
datasheet: "{% url 'notice' 'ID' %}" |
| 205 | 25 |
}; |
26 |
</script> |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
27 |
<script src="{% static 'hdalab/js/trees.js?refresh' %}"></script> |
|
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
271
diff
changeset
|
28 |
<script src="{% static 'hdalab/js/cattree.js?refresh' %}"></script> |
| 205 | 29 |
{% endblock %} |
30 |
||
31 |
{% block categories_actif %}actif{% endblock %} |
|
32 |
||
33 |
{% 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:
387
diff
changeset
|
34 |
<div class="all-title"> |
|
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
387
diff
changeset
|
35 |
<h1>{% trans "Explorer les domaines artistiques" %}</h1> |
|
064f4cdc48c3
Set up css convention for the main titles of the pages and add translation support in main pages
rougeronj
parents:
387
diff
changeset
|
36 |
</div> |
| 205 | 37 |
<div class="leftzone"> |
38 |
<p> |
|
| 234 | 39 |
Cette interface expérimentale présente les ressources d'<a href="http://histoiredesarts.culture.fr/" target="_blank">Histoire des Arts</a>, |
40 |
ordonnées selon l'arborescence des <a href="http://fr.wikipedia.org/wiki/Sp%C3%A9cial:ArbreCat%C3%A9gorie/Espace_Cat%C3%A9gorie" target="_blank">catégories de Wikipédia</a>. |
|
41 |
Seules les ressources les plus pertinentes sont affichées. |
|
42 |
</p> |
|
43 |
<ul class="disciplist"> |
|
| 477 | 44 |
<li><a id="cinema" href="#"><span>Cinéma</span></a></li> |
45 |
<li><a id="architecture" href="#"><span>Architecture</span></a></li> |
|
46 |
<li><a id="peinture" href="#"><span>Peinture</span></a></li> |
|
47 |
<li><a id="litterature" href="#"><span>Littérature</span></a></li> |
|
48 |
<li><a id="musique" href="#"><span>Musique</span></a></li> |
|
49 |
<li><a id="theatre" href="#"><span>Théâtre</span></a></li> |
|
50 |
<li><a id="photographie" href="#"><span>Photographie</span></a></li> |
|
51 |
<li><a id="poesie" href="#"><span>Poésie</span></a></li> |
|
52 |
<li><a id="sculpture" href="#"><span>Sculpture</span></a></li> |
|
53 |
<li><a id="arts-jardins" href="#"><span>Jardin</span></a></li> |
|
54 |
<li><a id="arts-cirque" href="#"><span>Cirque</span></a></li> |
|
55 |
<li><a id="arts-numeriques" href="#"><span>Arts Numériques</span></a></li> |
|
56 |
<li><a id="bd" href="#"><span>Bande Dessinée</span></a></li> |
|
57 |
<li><a id="chanson" href="#"><span>Chanson</span></a></li> |
|
58 |
<li><a id="danse" href="#"><span>Danse</span></a></li> |
|
59 |
<li><a id="design" href="#"><span>Design</span></a></li> |
|
60 |
<li><a id="dessin" href="#"><span>Dessin</span></a></li> |
|
61 |
<li><a id="mode" href="#"><span>Mode</span></a></li> |
|
| 234 | 62 |
</ul> |
|
470
d5b166da842d
update design for "domaines artstiques" pages. Show 9 categories and possibility to show the 9 others
rougeronj
parents:
459
diff
changeset
|
63 |
<div id="morecategories">{% trans 'Voir plus ou moins de categories' %}</div> |
|
d5b166da842d
update design for "domaines artstiques" pages. Show 9 categories and possibility to show the 9 others
rougeronj
parents:
459
diff
changeset
|
64 |
|
| 248 | 65 |
<h3>Recherche de catégories de Wikipédia : </h3> |
| 234 | 66 |
<p> |
| 459 | 67 |
<form id="catform"><input id="catsearch" placeholder="{% trans 'Entrez une catégorie'%}"/></form> |
| 205 | 68 |
</p> |
69 |
<div class="results hidden"> |
|
70 |
<h2>Résultats pour « <span class="label-name"></span> » :</h2> |
|
71 |
<p class="category-results"><span class="category-count"></span> sous-catégorie(s)</p> |
|
72 |
<p class="content-results"><span class="content-count"></span> contenu(s)</p> |
|
73 |
</div> |
|
74 |
</div> |
|
75 |
<div id="tree" class="cattree"></div> |
|
76 |
{% endblock %} |