From d6600fc006060699f9e79593e2698e21b2acd081 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 6 Jun 2019 21:15:00 +0200 Subject: use material icons for wagon order display --- templates/layouts/default.html.ep | 1 + templates/wagenreihung.html.ep | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'templates') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 2c59b82..7b689be 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -19,6 +19,7 @@ % my $av = 'v15'; # asset version %= stylesheet "/static/${av}/default.css" + %= stylesheet "/static/${av}/material-icons.css" %= stylesheet "/static/${av}/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // stash('force_mobile'); % if ($force_mobile) { diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep index fc00968..3d47466 100644 --- a/templates/wagenreihung.html.ep +++ b/templates/wagenreihung.html.ep @@ -31,7 +31,7 @@ % }
-
+
% if (not $wr->has_bad_wagons) { % for my $section ($wr->sections) {
2 % } % if ($wagon->has_accessibility) { - ♿ + accessible % } % if ($wagon->has_bistro) { - 🍴 + restaurant % } % if ($wagon->has_compartments) { - 🚪 + % } % if ($wagon->has_quiet_area) { - 🔇 + volume_off % } % if ($wagon->has_phone_area) { - 📱 + smartphone % } % if ($wagon->has_family_area) { - 👪 + people % } % if ($wagon->has_bahn_comfort) { - bahn.comfort + star % } % if ($wagon->is_interregio) { - Interregio + % } %= $wagon->type -- cgit v1.2.3