This commit is contained in:
Jay McCarthy 2014-09-23 20:46:21 -04:00
parent e88bf026e0
commit 66d79cdb57
3 changed files with 18 additions and 10 deletions

View File

@ -90,7 +90,6 @@
<tr>
<th></th>
<th>Package</th>
<th>Docs</th>
<th>Description</th>
<th>Tags</th>
<th>Build</th>
@ -102,7 +101,7 @@
<div id="footer">
Powered by <a href="http://racket-lang.org">Racket</a> and a
mess of ugly JS. Written
by <a href="http://faculty.cs.byu.edu/~jay">Jay McCarthy</a>.
by <a href="http://jeapostrophe.github.io">Jay McCarthy</a>.
<a href="/atom.xml">Atom</a> feed available.
</div>
</div>

View File

@ -472,14 +472,15 @@ $( document ).ready(function() {
.append( jslink( value['name'], function () { open_info ( value ); }) )
.append($('<span>').attr("class","authors").html("").append( $.map( value['authors'], function ( author, i ) {
return addfilterlink ( author, "author:" + author, "possible" ); } ) )),
$('<td>').html("").append( $.map( value['build']['docs'], function ( doc, i ) {
$('<td>').text( value['description'] )
.append($('<span>').attr("class","docs").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>').text( value['description'] ),
return $('<span>').append(dl, " ") } ) )),
$('<td>').append( $.map( value['tags'], function ( tag, i ) {
return addfilterlink ( tag, tag, "possible" ); } ) ),
bstatus ); }

View File

@ -123,9 +123,14 @@ div.delete {
#footer {
width: 100%;
text-align: right;
color: white;
background: black; /* #FFCC66; */
padding-right: 3em;
}
#footer a {
color: white;
font-weight: bold;
}
div.install {
width: 50%;
@ -169,6 +174,9 @@ tr#pi_delete_row td {
display: block;
color: black;
}
.packages .docs {
display: block;
}
.packages tr td:nth-child(6) {
text-align: center;
}