|
1 {% extends "base.html" %} |
|
2 |
|
3 {% load i18n %} |
|
4 |
|
5 {% block title %}{{block.super}} > {% trans "Recherche par liste de completion" %}{% endblock %} |
|
6 |
|
7 {% block css_import %} |
|
8 {{block.super}} |
|
9 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/lib/leaflet/leaflet.css" /> |
|
10 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/ui-lightness/jquery-ui-1.8.16.custom.css" /> |
|
11 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/completion.css" /> |
|
12 {% endblock %} |
|
13 |
|
14 {% block js_import %} |
|
15 {{block.super}} |
|
16 <script src="{{STATIC_URL}}hdalab/lib/raphael-min.js"></script> |
|
17 <script src="{{STATIC_URL}}hdalab/lib/underscore-min.js"></script> |
|
18 <script src="{{STATIC_URL}}hdalab/lib/jquery-ui-1.8.16.custom.min.js"></script> |
|
19 |
|
20 <script src="{% url jsi18n 'hdalab' %}"></script> |
|
21 <script src="{{STATIC_URL}}hdalab/js/completion.js?v=130829"></script> |
|
22 |
|
23 <script type="text/javascript"> |
|
24 gomNs.languageCode = '{{LANGUAGE_CODE}}'; |
|
25 gomNs.urls = { |
|
26 'filter': "{% url filter %}", |
|
27 'tag_search': "{% url tag_search %}" |
|
28 }; |
|
29 </script> |
|
30 {% endblock %} |
|
31 |
|
32 {% block completion_actif %}actif{% endblock %} |
|
33 |
|
34 {% block main_content %} |
|
35 <div id="titlebar"> |
|
36 <div id="titleleft"> |
|
37 <h2 id="hdatitle">{% trans "Recherche par liste de completion" %} </h2> |
|
38 </div> |
|
39 <div id="titleright"> |
|
40 <div id='langselect'> |
|
41 <form action="{% url django.views.i18n.set_language %}" method="post" id="lang_form"> |
|
42 {% csrf_token %} |
|
43 <!--input name="next" type="hidden" value="" /--> |
|
44 {% get_language_info_list for LANGUAGES as languages %} |
|
45 {% for language in languages %} |
|
46 <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 }}" /> |
|
47 {% endfor %} |
|
48 </form> |
|
49 </div> |
|
50 </div> |
|
51 </div> |
|
52 <div id="columns"> |
|
53 <div id="leftcol"> |
|
54 <div class="bloc" id="bloc_taginfo"> |
|
55 <div class="barrebloc"> |
|
56 <h2>{% trans "Rechercher un tag" %}</h2> |
|
57 </div> |
|
58 <div class="corpsbloc" id="taginfo"> |
|
59 <form id="tagform"> |
|
60 <input id="tagsearch" placeholder="{% trans "Rechercher un tag" %}" /> |
|
61 </form> |
|
62 </div> |
|
63 </div> |
|
64 <div class="bloc" id="bloc_translationinfo"> |
|
65 {% trans "translation_info" %} |
|
66 </div> |
|
67 </div> |
|
68 <div id="rightcol"> |
|
69 <div class="bloc" id="bloc_notices"> |
|
70 <div class="barrebloc"> |
|
71 <h2>{% trans "Resultats de recherche" %}</h2> |
|
72 </div> |
|
73 <div class="corpsbloc"> |
|
74 <div id="contentcount"></div> |
|
75 <div id="contents"></div> |
|
76 </div> |
|
77 </div> |
|
78 </div> |
|
79 </div> |
|
80 </div> |
|
81 |
|
82 {% endblock %} |