diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-02-19 22:47:58 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-02-19 22:47:58 +0100 |
commit | 9f8c64bacc2b791e5e5a029e36999cbfeb88bd79 (patch) | |
tree | 22a72a755f7d8fe976c3bf0cc594ff4f213937f3 /templates/layouts | |
parent | f7550f4cd4929bdf19e2cce1447990ae1414a11b (diff) |
add d3js and a barplot playground
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/default.html.ep | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep new file mode 100644 index 0000000..479a282 --- /dev/null +++ b/templates/layouts/default.html.ep @@ -0,0 +1,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 '/default.css' + %= javascript '/d3.min.js' + %= javascript '/d3.tip.v0.6.3.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> |