Added dimmer version of the links couple of places

This commit is contained in:
Latif Khalifa
2012-12-26 17:48:16 +01:00
parent c01cc40bab
commit de9b36b70b
2 changed files with 6 additions and 2 deletions

View File

@@ -53,6 +53,10 @@ a, a:link, a:hover, a:visited, a:active {
color: #e0e0e0;
}
a.dimmer {
color: #a0a0a0;
}
.bottom-links {
text-align: center;
}

View File

@@ -88,14 +88,14 @@ Function print_build($current, $next, $buildNr, $chan)
print "<br/>";
}
print '
<a href="javascript:void(0)" id="toggle_link_'. $current->nr . '" onclick="javascript:toggleChanges('. $current->nr . ')">' .
<a class="dimmer" href="javascript:void(0)" id="toggle_link_'. $current->nr . '" onclick="javascript:toggleChanges('. $current->nr . ')">' .
($buildNr ? 'Hide changes &lt;&lt;' : 'Show changes &gt;&gt;') . '</a>';
}
print "</th><th>" . htmlspecialchars($current->modified). " (" . Layout::since(strtotime($current->modified)) . " ago)</th>
<th>" . htmlspecialchars($current->chan). "</th>
<th><a href='" . URL_ROOT . "/" . $current->file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Windows Build\"/>&nbsp;Windows</a>&nbsp;&nbsp;
<a href='" . URL_ROOT . "/" . $current->file . ".log'>Build Log</a>";
<a class='dimmer' href='" . URL_ROOT . "/" . $current->file . ".log'>Build Log</a>";
if ($current->linux_file) {
print "<br/><a href='" . URL_ROOT . "/" . $current->linux_file . "'><img src=\"" . IMG_ROOT . "/dl.gif\" alt=\"Download Linux Build\"/>&nbsp;Linux</a>";