|
327
|
1 |
{% extends "base.html" %} |
|
|
2 |
{% load static %} |
|
|
3 |
{% load hdabo_tags %} |
|
|
4 |
{% block title %}HdaLab - Éditorialisation : Tous les dossiers{% endblock %} |
|
|
5 |
|
|
|
6 |
{% block css_import %} |
|
|
7 |
{{block.super}} |
|
|
8 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/profile.css' %}" /> |
|
|
9 |
{% endblock %} |
|
|
10 |
|
|
|
11 |
{% block main_content %} |
|
328
|
12 |
<p><a href="{% url 'hdalab_add_or_update_folder' %}">Nouveau dossier</a></p> |
|
327
|
13 |
<table> |
|
|
14 |
<tr class="border_bottom"> |
|
328
|
15 |
<th>Titre</th> |
|
327
|
16 |
<th>Url</th> |
|
|
17 |
<th>Description</th> |
|
|
18 |
<th>Liste</th> |
|
|
19 |
<th>Éditer</th> |
|
|
20 |
<th>Effacer</th> |
|
335
|
21 |
<th>Renkan</th> |
|
327
|
22 |
</tr> |
|
|
23 |
{% for f in folders %} |
|
|
24 |
<tr class="border_bottom"> |
|
328
|
25 |
<td>{{f.title}}</td> |
|
327
|
26 |
<td><a href="{{f.url}}" title="{{f.url}}" target="_blank">{{f.url|short_url}}</a></td> |
|
|
27 |
<td>{{f.description}}</td> |
|
|
28 |
<td class="list"><ul>{% for d in f.datasheets.all %}<li>{{ d.title }}</li>{% endfor %}</ul></td> |
|
|
29 |
<td class="text_centered"><a href="{% url 'hdalab_add_or_update_folder' folder_pk=f.pk %}"><img src="{% static 'hdabo/img/pen.png' %}"/></a></td> |
|
|
30 |
<td class="text_centered"><a class="" href="{% url 'hdalab_delete_folder' folder_pk=f.pk %}" onclick="return confirm('Êtes-vous sûr(e) ? Cette action est définitive.')"><img src="{% static 'hdabo/img/tag_remove.png' %}"/></a></td> |
|
335
|
31 |
<td class="text_centered"><a href="{% url 'renkan_edit' %}?folder={{ f.pk }}" target="_blank"><img src="{% static 'hdalab/img/mind_map_icon.png' %}"/></a></td> |
|
327
|
32 |
</tr> |
|
|
33 |
{% endfor %} |
|
|
34 |
</table> |
|
|
35 |
{% endblock %} |