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></th>
<th>Package</th> <th>Package</th>
<th>Description</th> <th>Description</th>
<th>Tags</th>
<th>Build</th> <th>Build</th>
</tr> </tr>
</thead> </thead>

View File

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

View File

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