summaryrefslogtreecommitdiff
path: root/templates/toplist.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/toplist.html.ep')
-rw-r--r--templates/toplist.html.ep10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/toplist.html.ep b/templates/toplist.html.ep
new file mode 100644
index 0000000..2784386
--- /dev/null
+++ b/templates/toplist.html.ep
@@ -0,0 +1,10 @@
+%= include 'topform';
+
+<div class="toplist">
+<table>
+<tr><th>Meldung</th><th>Anteil</th><th>Anzahl</th></tr>
+% for my $entry (@{ stash('toplist') // [] }) {
+<tr><td><%= $entry->[0] %></td><td><%= $entry->[1] %></td><td><%= $entry->[2] %></td></tr>
+% }
+</table>
+</div>