summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-06 14:40:09 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-06 14:40:09 +0200
commitc6935a20d4e207322e827f28aedf2b6954c9777e (patch)
treea4fda783219816eb10ffe41ac01a50fcc714804b
parent28806860549e19d0b0d9ceaee69d8e3a5a5c6c12 (diff)
use browser-default design for select fields
-rw-r--r--templates/filterform.html.ep10
-rw-r--r--templates/generalbar.html.ep4
-rw-r--r--templates/meldungbar.html.ep4
3 files changed, 9 insertions, 9 deletions
diff --git a/templates/filterform.html.ep b/templates/filterform.html.ep
index 44d0ed0..6d2094b 100644
--- a/templates/filterform.html.ep
+++ b/templates/filterform.html.ep
@@ -2,11 +2,11 @@
<div class="row">
<div class="input-field col s4">
<label class="active">Linie</label>
- %= select_field filter_line => $filter_opts->{lines}
+ %= select_field filter_line => $filter_opts->{lines}, class => 'browser-default'
</div>
<div class="input-field col s4">
<label class="active">Zugtyp</label>
- %= select_field filter_train_type => $filter_opts->{train_types}
+ %= select_field filter_train_type => $filter_opts->{train_types}, class => 'browser-default'
</div>
<div class="input-field col s4">
<label>Zugnummer</label>
@@ -16,17 +16,17 @@
<div class="row">
<div class="input-field col s6">
<label class="active">Bahnhof</label>
- %= select_field filter_station => $filter_opts->{stations}
+ %= select_field filter_station => $filter_opts->{stations}, class => 'browser-default'
</div>
<div class="input-field col s6">
<label class="active">Zielbahnhof</label>
- %= select_field filter_destination => $filter_opts->{destinations}
+ %= select_field filter_destination => $filter_opts->{destinations}, class => 'browser-default'
</div>
</div>
<div class="row">
<div class="input-field col s12">
<label class="active">Ausfälle</label>
- %= select_field filter_cancellation => [['Alle' => q{}], ['Ohne Zugausfälle' => 'no_cancelled'], ['Nur Zugausfälle' => 'only_cancelled']]
+ %= select_field filter_cancellation => [['Alle' => q{}], ['Ohne Zugausfälle' => 'no_cancelled'], ['Nur Zugausfälle' => 'only_cancelled']], class => 'browser-default'
</div>
</div>
<div class="row">
diff --git a/templates/generalbar.html.ep b/templates/generalbar.html.ep
index ed0cfb2..0d3f6e3 100644
--- a/templates/generalbar.html.ep
+++ b/templates/generalbar.html.ep
@@ -8,7 +8,7 @@
<label class="active">Bartyp</label>
% my %yargs = %{$self->barplot_args->{y}};
% my @yarg_keys = sort keys %yargs;
- %= select_field ysource => [map {[$yargs{$_}->{desc}, $_]} @yarg_keys]
+ %= select_field ysource => [map {[$yargs{$_}->{desc}, $_]} @yarg_keys], class => 'browser-default'
</div>
</div>
<div class="row">
@@ -16,7 +16,7 @@
<label class="active">aufgeteilt nach</label>
% my %xargs = %{$self->barplot_args->{x}};
% my @xarg_keys = sort keys %xargs;
- %= select_field xsource => [map {[$xargs{$_}->{desc}, $_]} @xarg_keys]
+ %= select_field xsource => [map {[$xargs{$_}->{desc}, $_]} @xarg_keys], class => 'browser-default'
</div>
<div class="input-field col s4">
<label>Breite</label>
diff --git a/templates/meldungbar.html.ep b/templates/meldungbar.html.ep
index e94a3cc..f05e43b 100644
--- a/templates/meldungbar.html.ep
+++ b/templates/meldungbar.html.ep
@@ -8,7 +8,7 @@
<label class="active">Bartyp</label>
% my %yargs = %{$self->barplot_args->{msg}};
% my @yarg_keys = sort keys %yargs;
- %= select_field msgnum => [map {[$yargs{$_}->{desc}, $_]} @yarg_keys]
+ %= select_field msgnum => [map {[$yargs{$_}->{desc}, $_]} @yarg_keys], class => 'browser-default'
</div>
</div>
<div class="row">
@@ -16,7 +16,7 @@
<label class="active">aufgeteilt nach</label>
% my %xargs = %{$self->barplot_args->{x}};
% my @xarg_keys = sort keys %xargs;
- %= select_field xsource => [map {[$xargs{$_}->{desc}, $_]} @xarg_keys]
+ %= select_field xsource => [map {[$xargs{$_}->{desc}, $_]} @xarg_keys], class => 'browser-default'
</div>
<div class="input-field col s4">
<label>Breite</label>