summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-08-15 13:25:19 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-08-15 13:25:19 +0200
commitbab0e1e7e6e94f1bb24354551522ad9eb111a13e (patch)
treecc1a5f3ef2284f0925c92a327820848799110e5d /templates
parentb2269e12a75dc724dd1194444a0b894919553fa3 (diff)
now with acceptable mobile browser support \o/
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/default.html.ep4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index f7c9622..ff7fe41 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -3,12 +3,16 @@
<head>
<title><%= stash('title') // 'db-infoscreen' %></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 '/default.css'
+% if ($self->browser->mobile) {
+ %= stylesheet '/mobile.css'
+% }
%= javascript '/jquery-1.10.2.min.js'
%= javascript '/collapse.js'
%= javascript '/marquee.js'