summaryrefslogtreecommitdiff
path: root/templates/layouts/default.html.ep
blob: 1c1950b70e35cfdfcd4c42a12fded5bcb562ba53 (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
35
<!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">
<a href="http://finalrewind.org/projects/db-fakedisplay/">dbdb</a>
v<%= stash('version') // '???' %>
</div>

</body>
</html>