]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/templates/bericht_list.html
Additional cleanup.
[philipp/winterrodeln/wradmin.git] / wradmin / templates / bericht_list.html
diff --git a/wradmin/templates/bericht_list.html b/wradmin/templates/bericht_list.html
new file mode 100644 (file)
index 0000000..c444005
--- /dev/null
@@ -0,0 +1,46 @@
+<?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>Rodelbahnberichte</title>
+</head>
+
+<body>
+<h2>Rodelbahnberichte</h2>
+
+<p>${c.paginator.pager('$link_first $link_previous $first_item bis $last_item von $item_count $link_next $link_last', controller='bericht', action='list')}</p>
+
+<table>
+    <tr>
+        <th>ID</th>
+        <th>Seite</th>
+        <th>Datum Eintrag</th>
+        <th>Datum Ungültig</th>
+        <th>Datum für Bericht</th>
+        <th>Zustand (1 bis 5)</th>
+        <th>Beschreibung (WikiText)</th>
+        <th>Autor-Name</th>
+        <th>Gelöscht</th>
+    </tr>
+    <tr py:for="r in c.paginator">
+        <td><a href="${h.url(controller='bericht', action='view', id=r.id)}">${r.id}</a></td>
+        <td>${r.page_title}</td>
+        <td>${r.date_entry}</td>
+        <td>${r.date_invalid}</td>
+        <td>${r.date_report}</td>
+        <td>${r.condition}</td>
+        <td>${r.description}</td>
+        <td>${r.author_name}</td>
+        <td>${r.delete_date}</td>
+    </tr>
+</table>
+
+<p>${c.paginator.pager('~2~', controller='bericht', action='list')}</p>
+
+</body>
+</html>