| author | rougeronj |
| Fri, 09 Jan 2015 11:08:09 +0100 | |
| changeset 421 | 2eee6f61f1c6 |
| parent 396 | 064f4cdc48c3 |
| child 459 | 699686ceb503 |
| 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"> |
|
44 |
<li><a href="#">Architecture</a></li> |
|
45 |
<li><a href="#">Cinéma</a></li> |
|
46 |
<li><a href="#">Littérature</a></li> |
|
47 |
<li><a href="#">Musique</a></li> |
|
48 |
<li><a href="#">Peinture</a></li> |
|
49 |
<li><a href="#">Photographie</a></li> |
|
50 |
<li><a href="#">Poésie</a></li> |
|
51 |
<li><a href="#">Sculpture</a></li> |
|
52 |
<li><a href="#">Théâtre</a></li> |
|
53 |
</ul> |
|
| 248 | 54 |
<h3>Recherche de catégories de Wikipédia : </h3> |
| 234 | 55 |
<p> |
56 |
<form id="catform"><input id="catsearch" /></form> |
|
| 205 | 57 |
</p> |
58 |
<div class="results hidden"> |
|
59 |
<h2>Résultats pour « <span class="label-name"></span> » :</h2> |
|
60 |
<p class="category-results"><span class="category-count"></span> sous-catégorie(s)</p> |
|
61 |
<p class="tag-results"><span class="tag-count"></span> tag(s)</p> |
|
62 |
<p class="content-results"><span class="content-count"></span> contenu(s)</p> |
|
63 |
</div> |
|
64 |
</div> |
|
65 |
<div id="tree" class="cattree"></div> |
|
66 |
{% endblock %} |