summaryrefslogtreecommitdiff
path: root/templates/layouts/default.html.ep
blob: b59cbf32153cfa9f9c5a07cc3766b07db5e5ac29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
	<title><%= stash('title') // 'iris-delay-stats' %></title>
	<meta charset="utf-8">
% if ($self->stash('refresh_interval')) {
	<meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
% }


	%= stylesheet '/css/default.css'
	%= javascript '/js/d3.min.js'
	%= javascript '/js/d3.tip.v0.6.3.js'
	%= javascript '/js/d3funcs.js'
</head>
<body style="<%= (stash('hide_opts') ? 'margin: 0; padding: 0;' : q{}) %>">

% if (my $error = stash 'error') {
<div class="error">Backend-Fehler:</div>
<div>
<pre>
%= $error
</pre>
</div>
% }

%= content

<div class="about">
version <%= stash('version') // '???' %>
</div>

</body>
</html>