This commit is contained in:
@ -202,3 +202,90 @@ table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSo
|
||||
table.tablesorter thead tr th {
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
|
||||
/* Navbar */
|
||||
|
||||
#leftnavbar {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: 13em;
|
||||
border-right: 1px solid gray;
|
||||
}
|
||||
|
||||
#content {
|
||||
position: absolute;
|
||||
left: 13em;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0em;
|
||||
}
|
||||
|
||||
#leftnavbar ul {
|
||||
display: block;
|
||||
padding: 0 0 0 0;
|
||||
margin: 0 0 0 0;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#leftnavbar ul a {
|
||||
color: #005aa0;
|
||||
}
|
||||
|
||||
#leftnavbar li.section {
|
||||
list-style: none;
|
||||
margin: 0 0 0 0;
|
||||
padding: 0 0 0 0;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
#leftnavbar li.section > div.title {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border-width: 0px;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #c0c0c0;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#leftnavbar li.section ul {
|
||||
padding: 0 0 0 0;
|
||||
margin-left: 0em;
|
||||
margin-right: 0em;
|
||||
}
|
||||
|
||||
#leftnavbar li.section ul li {
|
||||
font-size: 90%;
|
||||
list-style: none;
|
||||
background-image: url(/static/images/arrow-right.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0.3em center;
|
||||
border-width: 0px;
|
||||
border-bottom-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #c0c0c0;
|
||||
margin: 0 0 0 0;
|
||||
padding: 0 0 0 0;
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#leftnavbar li.section ul li.active {
|
||||
background-image: url(/static/images/arrow-right-active.gif);
|
||||
background-color: #eef2ff;
|
||||
font-weight: bold;
|
||||
color: #606060;
|
||||
}
|
||||
|
||||
#leftnavbar li.section ul li > div.title {
|
||||
margin-left: 1.3em;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
@ -2,7 +2,10 @@
|
||||
[% USE date %]
|
||||
|
||||
|
||||
<h1>Queue</h1>
|
||||
<h1>Hydra Overview</h1>
|
||||
|
||||
|
||||
<h2>Queue</h2>
|
||||
|
||||
[% IF scheduled.size == 0 %]
|
||||
|
||||
@ -32,7 +35,7 @@
|
||||
[% END %]
|
||||
|
||||
|
||||
<h1>Job status</h1>
|
||||
<h2>Job status</h2>
|
||||
|
||||
<p>Below are the latest builds for each job.</p>
|
||||
|
||||
@ -48,7 +51,7 @@
|
||||
</table>
|
||||
|
||||
|
||||
<h1>All builds</h1>
|
||||
<h2>All builds</h2>
|
||||
|
||||
<p>Number of builds: [% allBuilds.size %]</p>
|
||||
|
||||
@ -64,7 +67,7 @@
|
||||
</table>
|
||||
|
||||
|
||||
<h1>Projects</h1>
|
||||
<h2>Projects</h2>
|
||||
|
||||
<ul>
|
||||
[% FOREACH project IN projects -%]
|
||||
|
@ -21,13 +21,48 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="content">
|
||||
[% content %]
|
||||
</div>
|
||||
<div id="container">
|
||||
|
||||
<div id="leftnavbar">
|
||||
<ul>
|
||||
<li class="section">
|
||||
<div class="title">Hydra</div>
|
||||
<ul>
|
||||
<li><div class="title"><a href="/">Overview</a></div></li>
|
||||
<li><div class="title"><a href="/queue">Queue</a></div></li>
|
||||
<li><div class="title"><a href="/latest">Latest builds</a></div></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li class="section">
|
||||
<div class="title">Projects</div>
|
||||
<ul>
|
||||
[% FOREACH project IN projects %]
|
||||
<li><div class="title"><a href="[% c.uri_for('/project' project.name) %]">[% project.displayname %]</a></div></li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li class="section">
|
||||
<div class="title">Admin</div>
|
||||
<ul>
|
||||
<li><div class="title"><a href="/">Users</a></div></li>
|
||||
<li><div class="title"><a href="/">Release definitions</a></div></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
[% content %]
|
||||
<div id="footer">
|
||||
<hr />
|
||||
Generated at [% date.format %].
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<hr />
|
||||
Generated at [% date.format %].
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
BIN
src/HydraFrontend/root/static/images/arrow-right-active.gif
Normal file
BIN
src/HydraFrontend/root/static/images/arrow-right-active.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 B |
BIN
src/HydraFrontend/root/static/images/arrow-right.gif
Normal file
BIN
src/HydraFrontend/root/static/images/arrow-right.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 B |
Reference in New Issue
Block a user