31 lines
999 B
Django/Jinja
31 lines
999 B
Django/Jinja
{% extends "layout.jinja2" %}
|
|
|
|
{% block content %}
|
|
<p>
|
|
<a href="{{ request.route_url('settings') }}" class="btn btn-default" role="button">
|
|
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
|
|
<a href="{{ request.route_url('topic_edit', topic='0') }}" class="btn btn-success" role="button">
|
|
<span class="glyphicon glyphicon-plus"></span> Nouvelle rubrique</a>
|
|
</p>
|
|
|
|
<table id="users_list" class="table table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Rubrique</th>
|
|
<th>Nom</th>
|
|
</tr>
|
|
</thead>
|
|
{% for entry in topics %}
|
|
<tr>
|
|
<td>{{ entry.topic }}</td>
|
|
<td>
|
|
<a href="{{ request.route_url('topic_edit', topic=entry.topic) }}">
|
|
{{ entry.topic_name }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|