From c6935a20d4e207322e827f28aedf2b6954c9777e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 6 Sep 2015 14:40:09 +0200 Subject: use browser-default design for select fields --- templates/filterform.html.ep | 10 +++++----- templates/generalbar.html.ep | 4 ++-- templates/meldungbar.html.ep | 4 ++-- 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 @@
- %= select_field filter_line => $filter_opts->{lines} + %= select_field filter_line => $filter_opts->{lines}, class => 'browser-default'
- %= select_field filter_train_type => $filter_opts->{train_types} + %= select_field filter_train_type => $filter_opts->{train_types}, class => 'browser-default'
@@ -16,17 +16,17 @@
- %= select_field filter_station => $filter_opts->{stations} + %= select_field filter_station => $filter_opts->{stations}, class => 'browser-default'
- %= select_field filter_destination => $filter_opts->{destinations} + %= select_field filter_destination => $filter_opts->{destinations}, class => 'browser-default'
- %= 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'
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 @@ % 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'
@@ -16,7 +16,7 @@ % 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'
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 @@ % 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'
@@ -16,7 +16,7 @@ % 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'
-- cgit v1.2.3