summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-25 19:48:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-10-25 19:48:15 +0100
commit75a26a81de56b186ec17434323b3945332cee613 (patch)
tree3fcb4b28cc8c6bed86ee5ce4895324f7d4edff32 /templates
parentc067fdab9ecde8dfa4c1d897762ca38ecf22eeb9 (diff)
mobile support for app/infoscreen frontend
Diffstat (limited to 'templates')
-rw-r--r--templates/infoscreen.html.ep4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index af567b1..b0ba1fc 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -3,11 +3,15 @@
<head>
<title><%= $title %></title>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
% if ($self->stash('refresh_interval')) {
<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }
%= stylesheet '/infoscreen.css'
+ % if ($self->browser->mobile) {
+ %= stylesheet '/mobile.css'
+ % }
%= javascript '/jquery-2.1.1.min.js'
%= javascript '/collapse.js'
</head>