added topic_edit.jinja2
This commit is contained in:
30
cao_blogr/templates/topics.jinja2
Normal file
30
cao_blogr/templates/topics.jinja2
Normal 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 %}
|
||||
Reference in New Issue
Block a user