build width

This commit is contained in:
Jay McCarthy 2014-09-23 20:56:53 -04:00
parent 66d79cdb57
commit 9ad95c1305
3 changed files with 13 additions and 9 deletions

View File

@ -91,7 +91,6 @@
<th></th>
<th>Package</th>
<th>Description</th>
<th>Tags</th>
<th>Build</th>
</tr>
</thead>

View File

@ -473,16 +473,16 @@ $( document ).ready(function() {
.append($('<span>').attr("class","authors").html("").append( $.map( value['authors'], function ( author, i ) {
return addfilterlink ( author, "author:" + author, "possible" ); } ) )),
$('<td>').text( value['description'] )
.append($('<span>').attr("class","docs").html(value['build']['docs'].length > 0 ? "Docs: " : "")
.append($('<span>').attr("class","doctags").html(value['build']['docs'].length > 0 ? "Docs: " : "")
.append( $.map( value['build']['docs'], function ( doc, i ) {
var dl;
if ( doc[2] ) {
dl = $('<a>', { href: build_host + doc[2] } ).html(doc[1]); }
else {
dl = $('<del>').html(doc[1]); }
return $('<span>').append(dl, " ") } ) )),
$('<td>').append( $.map( value['tags'], function ( tag, i ) {
return addfilterlink ( tag, tag, "possible" ); } ) ),
return $('<span>').append(dl, " ") } ) ))
.append($('<span>').attr("class","doctags").html(value['tags'].length > 0 ? "Tags: " : "").append( $.map( value['tags'], function ( tag, i ) {
return addfilterlink ( tag, tag, "possible" ); } ) )),
bstatus ); }
var pkgdb = {};

View File

@ -171,16 +171,21 @@ tr#pi_delete_row td {
min-width: 1em;
}
.packages .authors a {
font-size: small;
display: block;
color: black;
}
.packages .docs {
.packages .doctags {
font-weight: bold;
display: block;
}
.packages tr td:nth-child(6) {
text-align: center;
.packages .doctags a {
font-weight: normal;
}
.packages tr td:nth-child(6) a {
.packages tr td:nth-child(4) {
width: 19em;
}
.packages tr td:nth-child(4) a {
text-decoration: none;
}