summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-04-02 15:24:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-04-02 15:24:39 +0200
commit5dfbdd864433a01271e8025842b20608146e5152 (patch)
tree835f2b4128761bf82ad9e58ead55b503a314a6e9 /templates
parent5cd25d442f01e6159fde7814acac5a5c201a3a6c (diff)
history map: add filter by date
Diffstat (limited to 'templates')
-rw-r--r--templates/history_map.html.ep24
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">