summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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">