From 5099375549ecea5f6358d52542bd607771166346 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 21 Feb 2013 11:57:48 +0100 Subject: [PATCH] Indicate disabled/hidden projects/jobsets in the overviews --- src/root/overview.tt | 2 +- src/root/project.tt | 2 +- src/root/static/css/hydra.css | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/root/overview.tt b/src/root/overview.tt index 85b2acbb..d6a5bf71 100644 --- a/src/root/overview.tt +++ b/src/root/overview.tt @@ -27,7 +27,7 @@ [% FOREACH p IN projects %] - [% INCLUDE renderProjectName project = p.name %] + [% INCLUDE renderProjectName project = p.name %] [% HTML.escape(p.displayname) %] [% WRAPPER maybeLink uri=p.homepage %][% HTML.escape(p.description) %][% END %] diff --git a/src/root/project.tt b/src/root/project.tt index 5dafa589..dc955d56 100644 --- a/src/root/project.tt +++ b/src/root/project.tt @@ -40,7 +40,7 @@ All Failed [% END %] - [% INCLUDE renderJobsetName project = project.name jobset = j.name %] + [% INCLUDE renderJobsetName project = project.name jobset = j.name %] [% HTML.escape(j.description) %] [% INCLUDE renderDateTime timestamp = j.lastcheckedtime %] [% IF j.get_column('nrtotal') > 0 %] diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css index c8ba7640..e8d2758f 100644 --- a/src/root/static/css/hydra.css +++ b/src/root/static/css/hydra.css @@ -34,3 +34,11 @@ span:target > span.dep-tree-line { margin-top: -40px; display: inline-block; /* required for webkit browsers */ } + +span.disabled-project, span.disabled-jobset { + text-decoration: line-through; +} + +span.hidden-project a, span.hidden-jobset a { + color: gray; +}