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IXVMZSQHWXOZYVTB7ILUCWZ7DDFAKVAC
JK2QWPH6EOQXGCADV7C5HSYRVWC5M53LAKVN26EMTLY65IKU3AEQC
75XUS62YF7OK4S45RCZ5OOASXEBIEDNDBYEEMOCBDHVXV4GA3NLQC
A52HEFHQNVNF2OUSWDSUYVVXLYR2UFCGOORPCN27CJJYA4UDJA3AC
[% BLOCK makeLinkWrapped %]
<li [% IF curUri == uri %]class="active"[% END %]>
<a href="[% uri %]">[% title %]</a>
[% content %]
</li>
[% END %]
[% BLOCK makeLink -%]
[% INCLUDE makeLinkWrapped content="" -%]
[% END %]
[% BLOCK makeSubMenu %]
<ul class="short-menu" id="context-menu">
[% content %]
</ul>
[% END %]
[% IF project %]
[% WRAPPER makeSubMenu %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('view'), [project.name])
title = project.name %]
[% IF jobset %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Jobset').action_for('index'), [project.name, jobset.name])
title = jobset.name %]
[% END %]
[% IF job %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Job').action_for('index'), [project.name, jobset.name, job.name])
title = job.name %]
[% END %]
[% END %]
[% END %]
<h1>Job <tt>[% project.name %]:[% jobset.name %]:[% job.name %]</tt></h1>
<h1>Job <tt>[% INCLUDE renderLink
uri = c.uri_for(c.controller('Project').action_for('view'), [project.name])
title = project.name %]:[% INCLUDE renderLink
uri = c.uri_for(c.controller('Jobset').action_for('index'), [project.name, jobset.name])
title = jobset.name %]:[% job.name %]</tt></h1>
<div id="container">
<div id="leftnavbar">
<div id="logo"><a class="no-hover" href="/"><img src="/static/images/hydra.png" alt="Hydra" /></a></div>
[% PROCESS navbar.tt %]
<div id="page">
<div id="header">
<div id="logo"><a class="no-hover" href="/"><img src="/static/images/hydra.png" alt="Hydra Logo" /></a></div>
[% PROCESS topbar.tt %]
[% PROCESS contextbar.tt %]
<div id="content">
[% content %]
<div id="footer">
<hr />
<em>Hydra [% HTML.escape(version) %] (using [% HTML.escape(nixVersion) %]).</em>
Page generated on [% INCLUDE renderDateTime %].
[% IF c.user_exists %]
You are logged in as <tt>[% c.user.username %]</tt>.
[% END %]
<div id="content">
[% content %]
<li class="submenu">
<div class="title [% extra %]"><a class="[% collapsed ? "submenuToggleCollapsed" : "submenuToggleExpanded" %]"
href="javascript:">[% HTML.escape(title) %]</a></div>
<ul class="submenu [% extra %]">
<div id="left-title">[% title %]</div>
<ul id="left-menu">
<ul class="menu">
[% WRAPPER makeSubMenu title="Hydra" collapsed=0 %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('index'))
title = "Overview" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('queue'))
title = "Queue" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('all'))
title = "All builds" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('jobstatus'))
title = "Job status" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('errors'))
title = "Errors" %]
[% END %]
[% IF project %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('view'), [project.name])
title = "Overview" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('releases'), [project.name])
title = "Releases" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('all'), [project.name])
title = "All builds" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('jobstatus'), [project.name])
title = "Job status" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('errors'), [project.name])
title = "Errors" %]
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('view'), [project.name]) title = "Overview" %]
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('releases'), [project.name]) title = "Releases" %]
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('all'), [project.name]) title = "All builds" %]
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('jobstatus'), [project.name]) title = "Job status" %]
[% INCLUDE menuItem uri = c.uri_for(c.controller('Project').action_for('errors'), [project.name]) title = "Errors" %]
[% WRAPPER makeSubMenu title="Admin" collapsed=0 %]
[% IF c.user_exists %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('logout'))
title = "Logout" %]
[% ELSE %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('login'))
title = "Login" %]
[% END %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Project').action_for('create'))
title = "Create project" %]
[% END %]
</ul>
</div>
[% END %]
<script type="text/javascript">
$(document).ready(function() {
$('.submenuToggleExpanded').toggle(
function () { $(".submenu", $(this).parents(".submenu")).slideUp(); },
function () { $(".submenu", $(this).parents(".submenu")).slideDown(); }
);
$('.submenuToggleCollapsed').toggle(
function () { $(".submenu", $(this).parents(".submenu")).slideDown(); },
function () { $(".submenu", $(this).parents(".submenu")).slideUp(); }
);
});
</script>
body {
background-color: gray;
margin: 0;
}
/* The main container element. */
div#page {
max-width: 80em;
min-width: 50em;
min-height: 20em;
margin: 1em auto;
background-color: white;
/* Put a rounded border around the page. */
border: 1px solid black;
padding: 1em;
border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
-moz-box-shadow: #404040 0px 5px 50px;
-webkit-box-shadow: #404040 0px 5px 50px;
}
/* The header. */
div#header {
border-bottom: 1px solid black;
position: relative;
padding-bottom: 1em;
}
div#logo {
display: inline;
}
ul#top-menu {
top: 0em;
}
ul#context-menu {
bottom: 1em;
}
/* The footer. */
div#footer {
margin-top: 1em;
border-top: 1px solid black;
position: relative;
}
div#last-modified {
font-size: 80%;
font-style: italic;
}
ul#bottom-menu {
bottom: 0em;
}
/* The top and bottom menus. */
ul.short-menu {
display: block;
position: absolute;
right: 0em;
margin: 0;
padding: 0;
}
ul.short-menu li {
display: inline;
/* Put a ">" in front of the menu item. */
margin-left: 0.5em;
padding-left: 1.3em;
padding-top: 0.5em;
padding-bottom: 0.5em;
background-image: url(../images/arrow-right.gif);
background-repeat: no-repeat;
background-position: 0.3em center;
}
ul.short-menu li a {
color: black;
text-decoration: none;
}
ul.short-menu li a:hover {
text-decoration: none;
border-bottom: 1px dotted black;
background: white;
}
/* The left menu. */
div#main {
position: relative;
min-height: 10em;
}
div#left-bar {
position: absolute;
left: 0em;
width: 8em;
min-height: 10em;
}
div#left-title {
font-weight: bold;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
border-bottom: 1px dotted black;
}
ul#left-menu {
padding: 0 0 0 0;
margin: 0 0 0 0;
}
ul#left-menu li {
font-size: 90%;
list-style: none;
padding-left: 1.3em;
margin-bottom: 0.5em;
}
ul#left-menu li {
background-image: url(../images/arrow-right.gif);
background-repeat: no-repeat;
background-position: 0 center;
}
ul#left-menu li.active {
background-image: url(../images/arrow-right-active.gif);
background-color: #eef2ff;
font-weight: bold;
color: #606060;
}
/* The content. */
div#left-bar + div#content {
margin-left: 9em;
}
/* Inline (floating) images. */
img.inline, img.inlineNoBorder {
float: right;
margin-left: 1em;
margin-bottom: 1em;
}
/* Release tables. */
.reldate {
font-style: italic;
}
table.releases td {
border: 0px;
}
/* Screenshot table. */
table.screenshots {
border-style: hidden;
}
table.screenshots td {
vertical-align: middle;
padding-top: 0.5em;
padding-bottom: 0.5em;
border: 0px;
border-bottom: 1px dotted black;
}
[% BLOCK makeLinkWrapped %]
<li [% IF curUri == uri %]class="active"[% END %]>
<a href="[% uri %]">[% title %]</a>
[% content %]
</li>
[% END %]
[% BLOCK makeLink -%]
[% INCLUDE makeLinkWrapped content="" -%]
[% END %]
[% BLOCK makeSubMenu %]
<ul class="short-menu" id="top-menu">
[% content %]
</ul>
</li>
[% END %]
[% WRAPPER makeSubMenu title="Hydra" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('index'))
title = "Overview" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('queue'))
title = "Queue" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('all'))
title = "All builds" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('jobstatus'))
title = "Job status" %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('errors'))
title = "Errors" %]
[% IF c.user_exists %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('logout'))
title = "Sign out" %]
[% ELSE %]
[% INCLUDE makeLink
uri = c.uri_for(c.controller('Root').action_for('login'))
title = "Sign in" %]
[% END %]
[% END %]