added topic_edit.jinja2

This commit is contained in:
2022-05-10 21:29:32 +02:00
parent cd5651ac62
commit 4f5bb3350e
16 changed files with 179 additions and 143 deletions

View File

@@ -0,0 +1,30 @@
{% 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('user_add', name='new') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouvel utilisateur</a>
</p>
<table id="users_list" class="table table-striped table-bordered 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 %}