[PATCH] testbot/web: Add a border around the link to hide the current log.
Francois Gouget
fgouget at codeweavers.com
Tue Jul 10 03:35:31 CDT 2018
This helps make it clearer which log is being shown.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/web/JobDetails.pl | 8 ++++++--
testbot/web/WineTestBot.css | 6 ++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index 54e8b7ff1..3a5b3072f 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -338,8 +338,12 @@ sub GenerateMoreInfoLink($$$;$)
}
$Url .= "#k" . uri_escape($LinkKey);
- print "<div class='TaskMoreInfoLink'><a href='",
- $self->CGI->escapeHTML($Url), "'>$Action $Label</a></div>\n";
+ my $Html = "<a href='". $self->CGI->escapeHTML($Url) ."'>$Action $Label</a>";
+ if ($Action eq "Hide")
+ {
+ $Html = "<span class='TaskMoreInfoSelected'>$Html</span>";
+ }
+ print "<div class='TaskMoreInfoLink'>$Html</div>\n";
}
sub GenerateBody($)
diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css
index adbfa749e..ae2038290 100644
--- a/testbot/web/WineTestBot.css
+++ b/testbot/web/WineTestBot.css
@@ -310,6 +310,12 @@ h2
margin-right: 2em;
}
+.TaskMoreInfoSelected
+{
+ border: 1px solid #a50d0d;
+ padding: 2px;
+}
+
.LogDllName
{
font-weight: bold;
--
2.18.0
More information about the wine-devel
mailing list