blob: 3751741782079dc1afbba0d610eb570a7fdef802 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<h1>Fahrten</h1>
<div class="row">
<div class="col s12">
Hier finden sich alle bisherigen Zugfahrten und Statistiken für jedes
Jahr und jeden Monat.
</div>
</div>
<h2>Nach Jahr</h2>
%= include '_history_years', current => '';
% if(0) {
<div class="row">
<div class="col s12">
Noch keine Fahrten.
</div>
</div>
% }
<h2>Nach Monat</h2>
%= include '_history_months', current => '';
% if(0) {
<div class="row">
<div class="col s12">
Noch keine Fahrten.
</div>
</div>
% }
<h2>Auswertungen</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
<a href="/history/map" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">map</i> Fahrtenkarte</a>
</div>
<div class="col s12 m12 l2"> </div>
<div class="col s12 m12 l5 center-align">
<a href="/history/commute" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">search</i> nach Station</a>
</div>
</div>
<h2>Ausfälle und Verspätungen</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
<a href="/cancelled" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">cancel</i> Zugausfälle</a>
</div>
<div class="col s12 m12 l2"> </div>
<div class="col s12 m12 l5 center-align">
<a href="/fgr" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">feedback</i> Fahrgastrechte</a>
</div>
</div>
<h2>Rohdaten</h2>
<div class="row">
<div class="col s12 m12 l5 center-align">
<a href="/history.json" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">cloud</i> JSON-Export</a>
</div>
<div class="col s12 m12 l2"> </div>
<div class="col s12 m12 l5 center-align">
<a href="/history.csv" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">list</i> CSV-Export</a>
</div>
</div>
<div class="row">
<div class="col s12 m12 l5 center-align"> </div>
<div class="col s12 m12 l2"> </div>
<div class="col s12 m12 l5 center-align">
<a href="/journey/add" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">add</i> Neue Fahrt</a>
</div>
</div>
% if (stash('statistics')) {
%= include '_history_stats', stats => stash('statistics');
% }
|