Commit bab0e1e7 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

now with acceptable mobile browser support \o/

parent b2269e12
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -684,4 +684,5 @@ app->config(
);

app->types->type( json => 'application/json; charset=utf-8' );
app->plugin('browser_detect');
app->start();

public/mobile.css

0 → 100644
+23 −0
Original line number Diff line number Diff line
body {
	margin: 0;
}

div.displayclean > ul > li {
	font-size: 35%;
}

div.displayclean li .moreinfo {
	font-size: 2.6em;
}

p,
div.input-field,
div.notes {
	max-width: 94%;
	margin-left: auto;
	margin-right: auto;
}

p {
	text-align: justify;
}
+4 −0
Original line number Diff line number Diff line
@@ -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'