]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/templates/rodelbahn_list.html
Additional cleanup.
[philipp/winterrodeln/wradmin.git] / wradmin / templates / rodelbahn_list.html
diff --git a/wradmin/templates/rodelbahn_list.html b/wradmin/templates/rodelbahn_list.html
new file mode 100644 (file)
index 0000000..864fe62
--- /dev/null
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:py="http://genshi.edgewall.org/"
+    xmlns:xi="http://www.w3.org/2001/XInclude">
+<xi:include href="master.html" />
+
+<head>
+    <title>Rodelbahnen</title>
+</head>
+
+<body>
+<h2>Rodelbahnen</h2>
+
+<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>
+
+<a href="${h.url(controller='rodelbahn', action='update')}" class="button">Rodelbahnboxen auslesen und DB aktualisieren</a>
+
+<p>${c.paginator.pager('$link_first $link_previous $first_item bis $last_item von $item_count $link_next $link_last', controller='rodelbahn', action='list')}</p>
+
+<table>
+    <tr>
+        <th>ID</th>
+        <th>Name</th>
+        <th>Länge</th>
+        <th>Gehzeit</th>
+        <th>Höhe (oben)</th>
+        <th>Höhe (unten)</th>
+        <th>Aufstieg möglich</th>
+        <th>Aufstieg getrennt</th>
+        <th>Lift</th>
+        <th>Licht</th>
+        <th>Rodelverleih</th>
+        <th>Öffentl. Anreise</th>
+        <th>Bild</th>
+        <th>Latitude</th>
+        <th>Longitude</th>
+        <th>Information</th>
+        <th>Forum-ID</th>
+        <th>In Arbeit</th>
+        <th>In Übersicht</th>
+    </tr>
+    <tr py:for="s in c.paginator">
+        <td><a href="${h.url(controller='rodelbahn', action='view', id=s.page_id)}">${s.page_id}</a></td>
+        <td>${s.page_title}</td>
+        <td>${s.length}</td>
+        <td>${s.walkup_time}</td>
+        <td>${s.top_elevation}</td>
+        <td>${s.bottom_elevation}</td>
+        <td>${h.bool(s.walkup_possible)}</td>
+        <td>${h.tristate_float(s.walkup_separate)}</td>
+        <td>${h.bool(s.lift)}</td>
+        <td>${h.tristate_float(s.night_light)}</td>
+        <td>${h.bool(s.sled_rental)}</td>
+        <td>${h.public_transport(s.public_transport)}</td>
+        <td><small>${s.image}</small></td>
+        <td>${s.position_latitude}</td>
+        <td>${s.position_longitude}</td>
+        <td>${s.information_phone}</td>
+        <td>${s.forum_id}</td>
+        <td>${h.bool(s.under_construction)}</td>
+        <td>${h.bool(s.show_in_overview)}</td>
+    </tr>
+</table>
+
+<p>${c.paginator.pager('~2~', controller='rodelbahn', action='list')}</p>
+
+</body>
+</html>