Skip to content

Commit

Permalink
Make test labels clickable when tests are still being run
Browse files Browse the repository at this point in the history
Test labels are clickable on the comparison page when the results are in, but not clickable while the tests are still being run. Labels should always link to the test results page (or to a particular run, when available).

Need to override the color of the anchor from black to white for legibility.
  • Loading branch information
rviscomi committed Sep 10, 2013
1 parent 34dc366 commit 4777f01
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/video/compare.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@
padding-top: 1em;
padding-left: 2em;
}
#statusTable a
{
color: inherit;
}
#image
{
margin-left:auto;
Expand Down Expand Up @@ -651,7 +655,7 @@ function DisplayStatus()
echo "<table id=\"statusTable\"><tr><th>Test</th><th>Status</th></tr><tr>";
foreach($tests as &$test)
{
echo "<tr><td>{$test['name']}</td><td>";
echo "<tr><td><a href="/result/{$test['id']}/">{$test['name']}</a></td><td>";
if( $test['done'] )
echo "Done";
elseif( $test['started'] )
Expand Down

0 comments on commit 4777f01

Please sign in to comment.