|
27
|
1 |
{% extends "base.html" %} |
|
|
2 |
{% comment %} |
|
|
3 |
|
|
|
4 |
Main page of django_consultant's website. |
|
|
5 |
|
|
|
6 |
{% endcomment %} |
|
|
7 |
{% block head %} |
|
|
8 |
{{block.super}} |
|
|
9 |
<script type="text/javascript" src="{{ STATIC_URL }}libraries/jquery-1.6.4.min.js"></script> |
|
|
10 |
<script type="text/javascript" src="{{ STATIC_URL }}js/recherche.js"></script> |
|
|
11 |
<link rel="stylesheet" href="{{ STATIC_URL }}css/home.css" /> |
|
|
12 |
<link rel="stylesheet" href="{{ STATIC_URL }}css/article.css" /> |
|
|
13 |
{% endblock %} |
|
|
14 |
|
|
|
15 |
{% block body %} |
|
|
16 |
<body onLoad="launchpage({{ request.session.json }});"> |
|
|
17 |
{% endblock %} |
|
|
18 |
{% block recherche %} |
|
|
19 |
<div class="recherche-wrap"> |
|
|
20 |
|
|
|
21 |
<h1><img src="{{ STATIC_URL }}img/mediapart-by-periplus.jpg" alt="" /></h1> |
|
|
22 |
<form id="ajax1" method="post" action="/recherche/">{% csrf_token %} |
|
|
23 |
<input type="hidden" name="filtre" value="nok"> |
|
|
24 |
<input type="hidden" id="from_date" name="from_date" value="07/01/2007"/> |
|
|
25 |
<input type="hidden" id="to_date" name="to_date" value="12/01/2012"/> |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
<p > |
|
|
29 |
<a href="#" class="photo"></a> |
|
|
30 |
<input name="recherche" placeholder="Rechercher" class="input-recherche" type="text" /> |
|
|
31 |
<input id="recherche_button" type="button" value="" class="recherche-submit"/> |
|
|
32 |
</p> |
|
|
33 |
</form> |
|
|
34 |
</div> |
|
|
35 |
{% endblock %} |
|
|
36 |
|
|
|
37 |
{% block contentleft %} |
|
|
38 |
<div class="content-left"> |
|
|
39 |
<div class="widget-wrapper"> |
|
|
40 |
<div class="widget-wrap"> |
|
|
41 |
|
|
|
42 |
<div class="widget affichage"> |
|
|
43 |
<h3><a href="#">AFFICHAGE</a></h3> |
|
|
44 |
<div class="widget-inner"> |
|
|
45 |
<ul class="clearfix"> |
|
|
46 |
<li><a title="Passer en vue Treemap" class="treemap active" href="" onClick="javascript:refreshview('treemap');return false;"><span class="visuel"></span><span class="fonction">Treemap</span> </a></li> |
|
|
47 |
<li id="listehref"><a title="Passer en vue Liste" class="liste" href="" onClick="javascript:refreshview('liste');return false;"><span class="visuel"></span><span class="fonction">Liste</span> </a></li> |
|
|
48 |
</ul> |
|
|
49 |
</div> |
|
|
50 |
</div><!-- affichage --> |
|
|
51 |
<div class="widget filtre"> |
|
|
52 |
<h3><a href="#">FILTRES</a></h3> |
|
|
53 |
<div class="widget-inner"> |
|
|
54 |
<form id="ajax2" method="post" action="/recherche/" class="filtre-date">{% csrf_token %} |
|
|
55 |
<input type="hidden" name="filtre" value="ok"> |
|
|
56 |
<p> |
|
|
57 |
<label for="">De :</label> |
|
|
58 |
<input id="pickeddatebegin" type="text" name="from_date" class="dateBegin" value="07/01/2007"/> |
|
|
59 |
</p> |
|
|
60 |
<p> |
|
|
61 |
<label for="">à :</label> |
|
|
62 |
<input id="pickeddateend" type="text" name="to_date" class="dateEnd" value="12/01/2012"/> |
|
|
63 |
</p> |
|
|
64 |
|
|
|
65 |
<!--/form--> |
|
|
66 |
<h4>Catégories :</h4> |
|
|
67 |
<p><input type="checkbox" name="categories" value="International" class="checkbox_category"/> <label for="">International</label> </p> |
|
|
68 |
<p><input type="checkbox" name="categories" value="France" class="checkbox_category"/> <label for="">France</label> </p> |
|
|
69 |
<p><input type="checkbox" name="categories" value="Economie" class="checkbox_category"/> <label for="">Economie</label> </p> |
|
|
70 |
<p><input type="checkbox" name="categories" value="Culture" class="checkbox_category" /> <label for="">Culture</label> </p> |
|
|
71 |
</form> |
|
|
72 |
</div> |
|
|
73 |
</div><!-- filtre --> |
|
|
74 |
<div class="widget links"> |
|
|
75 |
<h3><a href="#">DOSSIER ASSOCIES</a></h3> |
|
|
76 |
<div class="widget-inner"> |
|
|
77 |
<ul> |
|
|
78 |
<li><a href="#">« Corruption »</a></li> |
|
|
79 |
<li><a href="#">« Corruption »</a></li> |
|
|
80 |
<li><a href="#">« Corruption »</a></li> |
|
|
81 |
<li><a href="#">« Corruption »</a></li> |
|
|
82 |
</ul> |
|
|
83 |
</div> |
|
|
84 |
</div><!-- links --> |
|
|
85 |
</div> |
|
|
86 |
</div> |
|
|
87 |
</div> |
|
|
88 |
{% endblock %} |