2013-02-14 15:51:42 +00:00
|
|
|
[% USE date %]
|
|
|
|
[% USE HTML %]
|
2008-11-27 02:38:03 +00:00
|
|
|
[% PROCESS common.tt %]
|
2013-02-20 14:54:33 +00:00
|
|
|
<!DOCTYPE html>
|
2008-10-28 10:19:31 +00:00
|
|
|
|
2013-02-20 14:54:33 +00:00
|
|
|
<html lang="en">
|
2011-04-18 08:21:27 +00:00
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
<head>
|
2013-02-20 14:54:33 +00:00
|
|
|
<title>Hydra - [% HTML.escape(title) %]</title>
|
2012-04-12 18:12:07 +00:00
|
|
|
|
2014-09-25 14:06:07 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2013-07-08 21:54:40 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
|
|
|
|
2016-04-28 13:13:54 +00:00
|
|
|
<script src="https://code.jquery.com/jquery-1.12.3.js"
|
|
|
|
integrity="sha256-1XMpEtA4eKXNNpXcJ1pmMPs8JV+nwLdEqwiJeCQEkyc="
|
|
|
|
crossorigin="anonymous"></script>
|
|
|
|
|
|
|
|
<script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"
|
|
|
|
integrity="sha256-tp8VZ4Y9dg702r7D6ynzSavKSwB9zjariSZ4Snurvmw="
|
|
|
|
crossorigin="anonymous"></script>
|
2013-02-19 13:34:53 +00:00
|
|
|
|
2013-02-20 14:54:33 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2013-02-20 12:56:41 +00:00
|
|
|
|
2013-09-25 10:34:13 +00:00
|
|
|
<script type="text/javascript" src="[% c.uri_for("/static/bootstrap/js/bootstrap.min.js") %]"></script>
|
|
|
|
<link href="[% c.uri_for("/static/bootstrap/css/bootstrap.min.css") %]" rel="stylesheet" />
|
2013-03-18 23:15:12 +00:00
|
|
|
|
|
|
|
<!-- hydra.css must be included before bootstrap-responsive to
|
|
|
|
make the @media rule work. -->
|
2013-09-25 10:34:13 +00:00
|
|
|
<link rel="stylesheet" href="[% c.uri_for("/static/css/hydra.css") %]" type="text/css" />
|
|
|
|
<link rel="stylesheet" href="[% c.uri_for("/static/css/rotated-th.css") %]" type="text/css" />
|
|
|
|
<link href="[% c.uri_for("/static/bootstrap/css/bootstrap-responsive.min.css") %]" rel="stylesheet" />
|
2013-02-19 13:34:53 +00:00
|
|
|
|
2013-04-26 15:47:30 +00:00
|
|
|
<style>
|
|
|
|
.popover { max-width: 40%; }
|
|
|
|
</style>
|
|
|
|
|
2013-09-25 10:34:13 +00:00
|
|
|
<script type="text/javascript" src="[% c.uri_for("/static/js/bootbox.min.js") %]"></script>
|
2013-02-20 23:47:21 +00:00
|
|
|
|
2013-09-25 10:34:13 +00:00
|
|
|
<link rel="stylesheet" href="[% c.uri_for("/static/css/tree.css") %]" type="text/css" />
|
2013-02-19 13:34:53 +00:00
|
|
|
|
2013-09-25 10:34:13 +00:00
|
|
|
<script type="text/javascript" src="[% c.uri_for("/static/js/common.js") %]"></script>
|
2013-02-19 13:34:53 +00:00
|
|
|
|
2016-01-13 16:32:52 +00:00
|
|
|
[% IF c.config.enable_google_login %]
|
|
|
|
<meta name="google-signin-client_id" content="[% c.config.google_client_id %]">
|
|
|
|
[% END %]
|
|
|
|
|
2011-04-19 12:00:54 +00:00
|
|
|
[% tracker %]
|
2013-02-19 13:34:53 +00:00
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
</head>
|
2011-04-18 08:21:27 +00:00
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
<body>
|
2011-04-18 08:21:27 +00:00
|
|
|
|
2013-04-26 13:34:33 +00:00
|
|
|
<div class="navbar navbar-fixed-top">
|
2012-04-12 18:12:07 +00:00
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container">
|
2013-03-18 23:15:12 +00:00
|
|
|
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
2012-04-12 18:12:07 +00:00
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
2013-03-18 23:15:12 +00:00
|
|
|
</button>
|
2012-04-13 09:47:05 +00:00
|
|
|
<a class="brand" href="[% c.uri_for(c.controller('Root').action_for('index')) %]">
|
2013-03-15 10:23:00 +00:00
|
|
|
[% IF logo == "" %]
|
|
|
|
Hydra
|
|
|
|
[% ELSE %]
|
2012-04-13 09:47:05 +00:00
|
|
|
<img src="[% logo %]" alt="Hydra Logo" class="logo" />
|
2013-02-23 14:25:59 +00:00
|
|
|
[% END %]
|
2012-04-13 09:47:05 +00:00
|
|
|
</a>
|
2013-03-18 23:15:12 +00:00
|
|
|
<div class="nav-collapse collapse">
|
2012-04-12 18:12:07 +00:00
|
|
|
[% PROCESS topbar.tt %]
|
2013-02-20 12:56:41 +00:00
|
|
|
</div>
|
2012-04-12 18:12:07 +00:00
|
|
|
</div>
|
2008-11-12 23:45:11 +00:00
|
|
|
</div>
|
2012-04-12 18:12:07 +00:00
|
|
|
</div>
|
2008-11-12 23:45:11 +00:00
|
|
|
|
2012-04-12 18:12:07 +00:00
|
|
|
<div class="container">
|
2013-11-06 13:50:21 +00:00
|
|
|
<div class="skip-topbar"></div>
|
|
|
|
|
2013-07-09 10:05:25 +00:00
|
|
|
[% IF flashMsg %]
|
|
|
|
<div class="alert alert-info">[% flashMsg %]</div>
|
2013-02-27 17:33:47 +00:00
|
|
|
[% END %]
|
|
|
|
|
2013-07-09 10:05:25 +00:00
|
|
|
[% IF successMsg %]
|
|
|
|
<div class="alert alert-success">[% successMsg %]</div>
|
2013-02-20 15:14:30 +00:00
|
|
|
[% END %]
|
|
|
|
|
2013-07-09 10:05:25 +00:00
|
|
|
[% IF errorMsg %]
|
2013-10-03 17:54:22 +00:00
|
|
|
<div class="alert alert-warning">Error: [% errorMsg %]</div>
|
2013-02-20 15:14:30 +00:00
|
|
|
[% END %]
|
|
|
|
|
2013-02-20 14:54:33 +00:00
|
|
|
[% IF !hideHeader %]
|
|
|
|
<div class="page-header">
|
2013-11-06 12:32:56 +00:00
|
|
|
[% IF c.user_exists && starUri; INCLUDE makeStar; " "; END; HTML.escape(title) %]
|
2013-02-20 14:54:33 +00:00
|
|
|
</div>
|
|
|
|
[% ELSE %]
|
2013-11-06 12:32:56 +00:00
|
|
|
[% IF first %]<br />[% first = 0; END; %]
|
2013-02-20 14:54:33 +00:00
|
|
|
[% END %]
|
|
|
|
|
2012-04-12 18:12:07 +00:00
|
|
|
[% content %]
|
|
|
|
|
2012-04-17 14:53:11 +00:00
|
|
|
<footer class="navbar">
|
|
|
|
<hr />
|
|
|
|
<small>
|
2013-09-03 15:35:21 +00:00
|
|
|
<em><a href="http://nixos.org/hydra" target="_blank">Hydra</a> [% HTML.escape(version) %] (using [% HTML.escape(nixVersion) %]).</em>
|
2012-04-17 14:53:11 +00:00
|
|
|
[% IF c.user_exists %]
|
2016-01-13 16:32:52 +00:00
|
|
|
You are signed in as <tt>[% HTML.escape(c.user.username) %]</tt>
|
2016-10-20 12:14:04 +00:00
|
|
|
[%- IF c.user.type == 'google' %] via Google[% END %].
|
2012-04-17 14:53:11 +00:00
|
|
|
[% END %]
|
|
|
|
</small>
|
|
|
|
</footer>
|
2008-10-28 10:19:31 +00:00
|
|
|
|
|
|
|
</div>
|
2012-04-12 18:12:07 +00:00
|
|
|
|
2016-01-13 16:32:52 +00:00
|
|
|
[% PROCESS auth.tt %]
|
2013-11-05 12:13:02 +00:00
|
|
|
|
2008-10-28 10:19:31 +00:00
|
|
|
</body>
|
|
|
|
|
2008-11-25 13:27:57 +00:00
|
|
|
</html>
|