Instead of hardcoding the text color it now inherits it from the normal non-link text. This makes it usable on white backgrounds too.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- testbot/web/WineTestBot.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css index 8c03a914..e58a4d80 100644 --- a/testbot/web/WineTestBot.css +++ b/testbot/web/WineTestBot.css @@ -340,7 +340,7 @@ pre .boterror { color: #e55600; } .canceled { color: black; }
-a.title { color:white; text-decoration: none; } +a.title { color:inherit; text-decoration: none; }
th.Record { text-align: center; } td.Record { text-align: center; }
Most of the time the date change is quite obvious so now the date is now only shown if hovering over the time. This avoids much line wrapping and makes the column more readable.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- testbot/web/Activity.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/web/Activity.pl b/testbot/web/Activity.pl index 677272f4..ca5b94c1 100644 --- a/testbot/web/Activity.pl +++ b/testbot/web/Activity.pl @@ -52,7 +52,7 @@ sub _GetHtmlTime($) { my ($Timestamp) = @_; return "<noscript><div>", - strftime("%d %H:%M:%S", localtime($Timestamp)), "</div></noscript>\n" . + strftime("<a class='title' title='%d'>%H:%M:%S</a>", localtime($Timestamp)), "</div></noscript>\n" . "<script type='text/javascript'><!--\n" . "ShowDateTime($Timestamp);\n" . "//--></script>"; @@ -100,8 +100,8 @@ function Pad2(n) function ShowDateTime(Sec1970) { var Dt = new Date(Sec1970 * 1000); - document.write(Pad2(Dt.getDate()) + ' ' + Pad2(Dt.getHours()) + ':' + - Pad2(Dt.getMinutes()) + ':' + Pad2(Dt.getSeconds())); + document.write('<a class="title" title="' + Pad2(Dt.getDate()) + '">' + Pad2(Dt.getHours()) + ':' + + Pad2(Dt.getMinutes()) + ':' + Pad2(Dt.getSeconds()) + "</a>"); } //--></script> EOF