From e88bf026e0a7b41fdb23e3ad7fb3aca901910b57 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Tue, 23 Sep 2014 20:39:09 -0400 Subject: [PATCH] authors --- .../meta/pkg-index/official/static/index.html | 1 - .../meta/pkg-index/official/static/index.js | 8 ++++---- .../meta/pkg-index/official/static/style.css | 10 +++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/plt-services/meta/pkg-index/official/static/index.html b/pkgs/plt-services/meta/pkg-index/official/static/index.html index 5cd2db7cfc..3fbf7a987c 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/index.html +++ b/pkgs/plt-services/meta/pkg-index/official/static/index.html @@ -91,7 +91,6 @@ Package Docs - Authors Description Tags Build diff --git a/pkgs/plt-services/meta/pkg-index/official/static/index.js b/pkgs/plt-services/meta/pkg-index/official/static/index.js index 2651305dee..26c7d27fde 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/index.js +++ b/pkgs/plt-services/meta/pkg-index/official/static/index.js @@ -469,16 +469,16 @@ $( document ).ready(function() { $('').html("") .append( curate_span ), $('').html("") - .append( jslink( value['name'], function () { open_info ( value ); }) ), + .append( jslink( value['name'], function () { open_info ( value ); }) ) + .append($('').attr("class","authors").html("").append( $.map( value['authors'], function ( author, i ) { + return addfilterlink ( author, "author:" + author, "possible" ); } ) )), $('').html("").append( $.map( value['build']['docs'], function ( doc, i ) { var dl; if ( doc[2] ) { dl = $('', { href: build_host + doc[2] } ).html(doc[1]); } else { dl = $('').html(doc[1]); } - return $('').append(dl, " ") } ) ), - $('').html("").append( $.map( value['authors'], function ( author, i ) { - return addfilterlink ( author, "author:" + author, "possible" ); } ) ), + return $('').append(dl, " ") } ) ), $('').text( value['description'] ), $('').append( $.map( value['tags'], function ( tag, i ) { return addfilterlink ( tag, tag, "possible" ); } ) ), diff --git a/pkgs/plt-services/meta/pkg-index/official/static/style.css b/pkgs/plt-services/meta/pkg-index/official/static/style.css index 5e5753491c..10ed7b5d17 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/style.css +++ b/pkgs/plt-services/meta/pkg-index/official/static/style.css @@ -31,7 +31,7 @@ body { } .breadcrumb a:hover { - color: blue; + color: white; text-decoration: underline; } @@ -165,10 +165,14 @@ tr#pi_delete_row td { .packages tr td:nth-child(1) { min-width: 1em; } -.packages tr td:nth-child(7) { +.packages .authors a { + display: block; + color: black; +} +.packages tr td:nth-child(6) { text-align: center; } -.packages tr td:nth-child(7) a { +.packages tr td:nth-child(6) a { text-decoration: none; }