diff --git a/src/Hydra/root/layout.tt b/src/Hydra/root/layout.tt index b61871e6..0bc40496 100644 --- a/src/Hydra/root/layout.tt +++ b/src/Hydra/root/layout.tt @@ -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 %] + + [% END %] + [% INCLUDE makeLink uri = c.uri_for('/project' project.name 'edit') title = "Edit" %] [% END %] diff --git a/src/Hydra/root/releases.tt b/src/Hydra/root/releases.tt index f6c96512..24a3c07e 100644 --- a/src/Hydra/root/releases.tt +++ b/src/Hydra/root/releases.tt @@ -4,6 +4,8 @@

Release Set [% releaseSet.project.name %]:[% releaseSet.name %]

+

[Edit]

+ diff --git a/src/Hydra/root/releasesets.tt b/src/Hydra/root/releasesets.tt index 508e306e..d025838b 100644 --- a/src/Hydra/root/releasesets.tt +++ b/src/Hydra/root/releasesets.tt @@ -11,7 +11,7 @@ [% FOREACH releaseSet IN releaseSets %]
  • [% releaseSet.name %] - (edit) + [Edit]
  • [% END %] diff --git a/src/Hydra/root/static/css/hydra.css b/src/Hydra/root/static/css/hydra.css index c7440931..bca34d9c 100644 --- a/src/Hydra/root/static/css/hydra.css +++ b/src/Hydra/root/static/css/hydra.css @@ -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%; }