summaryrefslogtreecommitdiff
path: root/templates/clean.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-28 14:47:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-28 14:47:49 +0100
commit5109d2a4ca68863a22adfac92627a38a79e49993 (patch)
tree1e77ebab902b0f46175e74c03732841cd698f17a /templates/clean.html.ep
parentbcbba5f514655cc7ec28a6413f6c2926e8b8d270 (diff)
add preliminary support for a dark layout
Diffstat (limited to 'templates/clean.html.ep')
-rw-r--r--templates/clean.html.ep7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/clean.html.ep b/templates/clean.html.ep
index c2cd524..61f6db9 100644
--- a/templates/clean.html.ep
+++ b/templates/clean.html.ep
@@ -1,6 +1,11 @@
% if (@{$departures}) {
-<div class="displayclean">
+% if (param('dark')) {
+<div class="displayclean displaycleandark">
+% }
+% else {
+<div class="displayclean displaycleanlight">
+% }
<ul>
% my $i = 0;
% my $dt_now = DateTime->now;