summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-23 00:22:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-23 00:22:10 +0100
commita373d2bdc4f9f2ccd0720956d2ba2be4fdfe5002 (patch)
treecde8ab4fbc3ad22ddf146f75fcfca4270e9ecc86 /templates
parent93b908f503359232a57c309c1d33d1462cf23849 (diff)
arrange most things by most things! (also, fugly code at the moment)
Diffstat (limited to 'templates')
-rw-r--r--templates/main.html.ep12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep
index e0e6205..d0bc8fa 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -104,6 +104,18 @@ show_bargraph('/2ddata.tsv?aggregate=weekday&metric=cancel_percent', 'Anteil Zug
show_bargraph('/2ddata.tsv?aggregate=weekhour&metric=delay', 'Durchschnittliche Verspätung nach Wochentag und Uhrzeit',
'Tag/Stunde', 'Minuten');
+show_bargraph('/2ddata.tsv?aggregate=line&metric=delay', 'Durchschnittliche Verspätung nach Linie',
+ 'Typ', 'Minuten');
+
+show_bargraph('/2ddata.tsv?aggregate=line&metric=cancel_percent', 'Anteil Zugausfälle nach Linie',
+ 'typ', 'Ausfälle [%]');
+
+show_bargraph('/2ddata.tsv?aggregate=train_type&metric=delay', 'Durchschnittliche Verspätung nach Zugtyp',
+ 'Typ', 'Minuten');
+
+show_bargraph('/2ddata.tsv?aggregate=train_type&metric=cancel_percent', 'Anteil Zugausfälle nach Zugtyp',
+ 'typ', 'Ausfälle [%]');
+
msglist = [[2, 'Polizeiliche Ermittlung'],
[3, 'Feuerwehreinsatz neben der Strecke'],
[5, 'Aerztliche Versorgung eines Fahrgastes'],