1 {% block one_sheet %} |
|
2 <div class="complete_sheet"> |
|
3 <div class="left_sheet"> |
|
4 <p><b>id hda</b><br/>{{ds.hda_id}}</p> |
|
5 <p><b>Titre</b><br><span class="sheet_title">{{ds.title}}</span></p> |
|
6 <p><b>Description</b><br/>{{ds.description}}</p> |
|
7 <p><b>Url</b><br/><a href="{{ds.url}}" target="_blank">{{ds.url}}</a></p> |
|
8 <p><b>Domaine artistique</b><br/>{{ds.domains_text}}</p> |
|
9 <p><b>Périodes Primaire</b><br/>{{ds.primary_periods_text}}</p> |
|
10 <p><b>Périodes Collège</b><br/>{{ds.college_periods_text}}</p> |
|
11 <p><b>Périodes Lycée</b><br/>{{ds.highschool_periods_text}}</p> |
|
12 <p><b>Liste de référence du primaire</b><br/>{{ds.primary_themes_text}}</p> |
|
13 <p><b>Thèmes Collège</b><br/>{{ds.college_themes_text}}</p> |
|
14 <p><b>Thèmes Lycée</b><br/>{{ds.highschool_themes_text}}</p> |
|
15 <p><b>Ville</b><br/>{{ds.town_text}}</p> |
|
16 <p><b>Format</b><br/>{{ds.format}}</p> |
|
17 <table><tr><th>Date de création</th><th>Date de modification</th></tr> |
|
18 <tr><td>{{ds.original_creation_date|date:"d/m/Y"}}</td><td>{{ds.modification_datetime|date:"d/m/Y"}}</td></tr></table> |
|
19 {# <p><b>original_modification_date</b><br/>{{ds.original_modification_date|date:"d/m/Y"}}</p> #} |
|
20 </div> |
|
21 <div class="right_sheet"> |
|
22 <div id="tags_commands" style="float:left;width: 100%" > |
|
23 <div style="float:left;"><input type="radio" name="gr_validated{{ds.hda_id}}" id="not_validated" value="not_validated" {% if not ds.validated %}checked{% endif %} {% if valid == "2" %}disabled{% endif %} />En cours |
|
24 <input type="radio" name="gr_validated{{ds.hda_id}}" id="validated" value="validated" {% if ds.validated %}checked{% endif %} {% if valid == "2" %}disabled{% endif %} />Validé |
|
25 {% if ds.validated %} |
|
26 par {{ds.validator.username}} le {{ds.validation_date|date:"d/m/Y"}} |
|
27 {% endif %} |
|
28 </div> |
|
29 {% if valid != "2" %} |
|
30 <div style="float:right;" id="tags_actions"> |
|
31 <span>Trier les tags : <input type="image" src="{{STATIC_URL}}hdabo/img/sort-descending.png" width="16" height="16" name="trier" id="tags_sort" /></span> |
|
32 <span>Ajouter un tag : <input type="text" name="wp_search" id="wp_search" size="35" /> <span id="ok_search" class="hand_cursor"><b>OK</b></span></span> |
|
33 </div> |
|
34 {% endif %} |
|
35 {% csrf_token %} |
|
36 <input type="hidden" name="datasheet_id" value="{{ds.hda_id}}" id="datasheet_id" /> |
|
37 </div> |
|
38 <div id="tag_table_container" style="float:left; width: 100%"> |
|
39 {% include "partial/tag_table.html" %} |
|
40 </div> |
|
41 </div> |
|
42 </div> |
|
43 {% endblock %} |
|