diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-04-02 15:24:39 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-04-02 15:24:39 +0200 |
commit | 5dfbdd864433a01271e8025842b20608146e5152 (patch) | |
tree | 835f2b4128761bf82ad9e58ead55b503a314a6e9 /templates/history_map.html.ep | |
parent | 5cd25d442f01e6159fde7814acac5a5c201a3a6c (diff) |
history map: add filter by date
Diffstat (limited to 'templates/history_map.html.ep')
-rw-r--r-- | templates/history_map.html.ep | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep index 06429f7..0976ab4 100644 --- a/templates/history_map.html.ep +++ b/templates/history_map.html.ep @@ -13,7 +13,7 @@ %= form_for '/history/map' => begin <p> - Detailgrad und Filter: + Detailgrad: </p> <div class="row"> <div class="input-field col s12"> @@ -54,6 +54,28 @@ </button> </div> </div> + <p> + Weitere Filter: + </p> + <div class="row"> + <div class="input-field col s12"> + %= text_field 'filter_after', id => 'filter_after', class => 'validate', pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9]( +[0-9][0-9]:[0-9][0-9])?' + <label for="filter_after">Abfahrt ab (DD.MM.YYYY)</label> + </div> + </div> + <div class="row"> + <div class="input-field col s12"> + %= text_field 'filter_before', id => 'filter_before', class => 'validate', pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9]( +[0-9][0-9]:[0-9][0-9])?' + <label for="filter_before">Abfahrt bis (DD.MM.YYYY)</label> + </div> + </div> + <div class="row"> + <div class="col s12 center-align"> + <button class="btn wave-effect waves-light" type="submit"> + Anzeigen + </button> + </div> + </div> %= end <div class="row"> |