forked from lix-project/hydra
* Put the release sets in the navbar.
This commit is contained in:
parent
0d84d6c166
commit
5105d15636
|
@ -102,6 +102,20 @@
|
|||
[% INCLUDE makeLink uri = c.uri_for('/project' project.name 'jobstatus') title = "Job status" %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/project' project.name 'all') title = "All builds" %]
|
||||
[% INCLUDE makeLink uri = c.uri_for('/releasesets' project.name) title = "Releases" %]
|
||||
|
||||
[% IF project.releasesets.size > 0 %]
|
||||
<ul class="subsubsubmenu">
|
||||
[% FOREACH releaseset IN project.releasesets %]
|
||||
[% myUri = c.uri_for('/releases' project.name releaseset.name) %]
|
||||
<li [% IF curUri == myUri %]class="active"[% END %]>
|
||||
<div class="title"><a href="[% myUri %]">
|
||||
[% HTML.escape(releaseset.description ? releaseset.description : releaseset.name) %]
|
||||
</a></div>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE makeLink uri = c.uri_for('/project' project.name 'edit') title = "Edit" %]
|
||||
</ul>
|
||||
[% END %]
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
<h1>Release Set <tt>[% releaseSet.project.name %]:[% releaseSet.name %]</tt></h1>
|
||||
|
||||
<p>[<a href="[% c.uri_for('/releases' curProject.name releaseSet.name "edit") %]">Edit</a>]</p>
|
||||
|
||||
<table class="tablesorter">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
[% FOREACH releaseSet IN releaseSets %]
|
||||
<li>
|
||||
<a href="[% c.uri_for('/releases' curProject.name releaseSet.name) %]"><tt>[% releaseSet.name %]</tt></a>
|
||||
(<a href="[% c.uri_for('/releases' curProject.name releaseSet.name "edit") %]">edit</a>)
|
||||
[<a href="[% c.uri_for('/releases' curProject.name releaseSet.name "edit") %]">Edit</a>]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
|
|
@ -377,6 +377,37 @@ h1 {
|
|||
color: #606060;
|
||||
}
|
||||
|
||||
#leftnavbar ul.subsubsubmenu {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#leftnavbar ul.subsubsubmenu > li {
|
||||
font-size: 80%;
|
||||
list-style: none;
|
||||
margin: 0 0 0 0;
|
||||
padding: 0 0 0 0;
|
||||
border-width: 0px;
|
||||
border-top-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #c0c0c0;
|
||||
}
|
||||
|
||||
#leftnavbar ul.subsubsubmenu > li > div.title {
|
||||
padding-left: 5.3em;
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
background-image: url(/static/images/arrow-right.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: 4.3em center;
|
||||
}
|
||||
|
||||
#leftnavbar ul.subsubsubmenu > li.active > div.title {
|
||||
background-image: url(/static/images/arrow-right-active.gif);
|
||||
background-color: #eef2ff;
|
||||
font-weight: bold;
|
||||
color: #606060;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue