diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/bargraph.html.ep | 2 | ||||
-rw-r--r-- | templates/filterform.html.ep | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/bargraph.html.ep b/templates/bargraph.html.ep index f626fbd..da3510e 100644 --- a/templates/bargraph.html.ep +++ b/templates/bargraph.html.ep @@ -2,7 +2,7 @@ %= javascript begin -show_bargraph('/2ddata.tsv?aggregate=<%= param('xsource') %>&metric=<%= param('ysource') %>&msgnum=<%= param('msgnum') %>&filter_line=<%= param('filter_line') %>&filter_train_type=<%= param('filter_train_type') %>&filter_station=<%= param('filter_station') %>&filter_destination=<%= param('filter_destination') %>&filter_delay_min=<%= param('filter_delay_min') %>&filter_delay_max=<%= param('filter_delay_max') %>', +show_bargraph('/2ddata.tsv?aggregate=<%= param('xsource') %>&metric=<%= param('ysource') %>&msgnum=<%= param('msgnum') %>&filter_line=<%= param('filter_line') %>&filter_train_no=<%= param('filter_train_no') %>&filter_train_type=<%= param('filter_train_type') %>&filter_station=<%= param('filter_station') %>&filter_destination=<%= param('filter_destination') %>&filter_delay_min=<%= param('filter_delay_min') %>&filter_delay_max=<%= param('filter_delay_max') %>', '<%== param('title') %>', '<%= param('xlabel') %>', '<%= param('ylabel') %>', '<%= param('yformat') %>', '<%= param('width') %>', '<%= param('height') %>'); diff --git a/templates/filterform.html.ep b/templates/filterform.html.ep index 186b7d6..844ecb7 100644 --- a/templates/filterform.html.ep +++ b/templates/filterform.html.ep @@ -17,6 +17,14 @@ </div> <div class="field"> <div class="desc"> + Zugnummer: + </div> + <div> + %= text_field 'filter_train_no', class => 'train_no' + </div> +</div> +<div class="field"> + <div class="desc"> Bahnhof: </div> <div> |