summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-06 21:15:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-06 21:15:00 +0200
commitd6600fc006060699f9e79593e2698e21b2acd081 (patch)
treee972dd4303eea4ad2a1fe03db5c41c0c3bc2ce66 /templates
parent11ddc957805e1a6b54e2fecbe4121d2c9e5c4a9e (diff)
use material icons for wagon order display
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/default.html.ep1
-rw-r--r--templates/wagenreihung.html.ep18
2 files changed, 10 insertions, 9 deletions
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 @@
</div>
% }
<div class="container">
- <div style="position: relative; width: 100%; height: 60ex;">
+ <div style="position: relative; width: 100%; height: 70ex;">
% if (not $wr->has_bad_wagons) {
% for my $section ($wr->sections) {
<div style="position: absolute; left: 1em; width: 2em;
@@ -79,28 +79,28 @@
<span style="display: inline-block; width: 0.8em; text-align: center; color: #666666; border: 1px solid #666666;">2</span>
% }
% if ($wagon->has_accessibility) {
- ♿
+ <i class="material-icons">accessible</i>
% }
% if ($wagon->has_bistro) {
- 🍴
+ <i class="material-icons">restaurant</i>
% }
% if ($wagon->has_compartments) {
- 🚪
+ <!--<i class="material-icons">folder</i>-->
% }
% if ($wagon->has_quiet_area) {
- 🔇
+ <i class="material-icons">volume_off</i>
% }
% if ($wagon->has_phone_area) {
- 📱
+ <i class="material-icons">smartphone</i>
% }
% if ($wagon->has_family_area) {
- 👪
+ <i class="material-icons">people</i>
% }
% if ($wagon->has_bahn_comfort) {
- bahn.comfort
+ <i class="material-icons">star</i>
% }
% if ($wagon->is_interregio) {
- Interregio
+
% }
<span style="color: #999999;">
%= $wagon->type