]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/templates/bericht_list.html
bericht_list.html now uses jinja2.
[philipp/winterrodeln/wradmin.git] / wradmin / templates / bericht_list.html
1 {% extends "master.html" %}
2 {% block title %}Rodelbahnberichte{% endblock %}
3
4 {% block content %}
5 <h2>Rodelbahnberichte</h2>
6
7 <p>{{paginator.pager('$link_first $link_previous $first_item bis $last_item von $item_count $link_next $link_last') | safe}}</p>
8
9 <table>
10     <tr>
11         <th>ID</th>
12         <th>Seite</th>
13         <th>Datum Eintrag</th>
14         <th>Datum Ungültig</th>
15         <th>Datum für Bericht</th>
16         <th>Zustand (1 bis 5)</th>
17         <th>Beschreibung (WikiText)</th>
18         <th>Autor-Name</th>
19         <th>Gelöscht</th>
20     </tr>
21     {% for r in paginator %}
22     <tr>
23         <td><a href="{{url_for('bericht_view', id=r.id)}}">{{r.id}}</a></td>
24         <td>{{r.page_title}}</td>
25         <td>{{r.date_entry}}</td>
26         <td>{{r.date_invalid}}</td>
27         <td>{{r.date_report}}</td>
28         <td>{{r.condition}}</td>
29         <td>{{r.description}}</td>
30         <td>{{r.author_name}}</td>
31         <td>{{r.delete_date}}</td>
32     </tr>
33     {% endfor %}
34 </table>
35
36 <p>{{paginator.pager('~2~') | safe}}</p>
37 {% endblock %}