summaryrefslogtreecommitdiff
path: root/templates/layouts/default.html.ep
blob: 1c582774f82ff1aa4442b911372e8f93b81f791f (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') ? "dbdb - " . stash('title') : 'dbdb' %></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>