]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/templates/rodelbahn_list.html
e67900d4bc06f50800a0503b29c7477b7931af20
[philipp/winterrodeln/wradmin.git] / wradmin / templates / rodelbahn_list.html
1 {% extends "master.html" %}
2 {% block title %}Rodelbahnen{% endblock %}
3
4 {% block content %}
5 <h2>Rodelbahnen</h2>
6
7 <p>Die folgende Lise wurde automatisiert von den Rodelbahnboxen gesammelt. Da dies nicht automatisch passiert, kann es sein, dass die Liste "veraltete" Information enthält.</p>
8
9 <a href="{{url_for('rodelbahn_update')}}" class="button">(1) Rodelbahnboxen auslesen und DB aktualisieren</a>
10 <a href="{{url_for('rodelbahn_update_regioncache')}}" class="button">(2) Rodelbahnen in den Regionslisten aktualisieren</a>
11
12 <p>{{paginator.pager('$link_first $link_previous $first_item bis $last_item von $item_count $link_next $link_last') | safe}}</p>
13
14 <table>
15     <tr>
16         <th>ID</th>
17         <th>Name</th>
18         <th>Länge</th>
19         <th>Gehzeit</th>
20         <th>Höhe (oben)</th>
21         <th>Höhe (unten)</th>
22         <th>Aufstieg möglich</th>
23         <th>Aufstieg getrennt</th>
24         <th>Lift</th>
25         <th>Licht</th>
26         <th>Rodelverleih</th>
27         <th>Öffentl. Anreise</th>
28         <th>Bild</th>
29         <th>Latitude</th>
30         <th>Longitude</th>
31         <th>Information</th>
32         <th>Forum-ID</th>
33         <th>In Arbeit</th>
34         <th>In Übersicht</th>
35     </tr>
36     {% for s in paginator %}
37     <tr>
38         <td><a href="{{url_for('rodelbahn_view', id=s.page_id)}}">{{s.page_id}}</a></td>
39         <td>{{s.page_title}}</td>
40         <td>{{s.length}}</td>
41         <td>{{s.walkup_time}}</td>
42         <td>{{s.top_elevation}}</td>
43         <td>{{s.bottom_elevation}}</td>
44         <td>{{h.bool(s.walkup_possible)}}</td>
45         <td>{{h.tristate_float(s.walkup_separate)}}</td>
46         <td>{{h.bool(s.lift)}}</td>
47         <td>{{h.tristate_float(s.night_light)}}</td>
48         <td>{{h.bool(s.sled_rental)}}</td>
49         <td>{{h.public_transport(s.public_transport)}}</td>
50         <td><small>{{s.image}}</small></td>
51         <td>{{s.position_latitude}}</td>
52         <td>{{s.position_longitude}}</td>
53         <td>{{s.information_phone}}</td>
54         <td>{{s.forum_id}}</td>
55         <td>{{h.bool(s.under_construction)}}</td>
56         <td>{{h.bool(s.show_in_overview)}}</td>
57     </tr>
58     {% endfor %}
59 </table>
60
61 <p>{{paginator.pager('~2~') | safe}}</p>
62
63 {% endblock %}