VIVO-215: fix layout of search results page - the first search result was appearing up in the header as were the facets; standardize look of the download popup. Also ensure that longer headings that include types from the facet wrap to new line rather than overrun the search help link.
This commit is contained in:
parent
fcbe59dcf6
commit
46ae630e95
5 changed files with 25 additions and 28 deletions
|
@ -3,21 +3,21 @@
|
|||
$(document).ready(function(){
|
||||
// This function creates and styles the "qTip" tooltip that displays the resource uri and the rdf link when the user clicks the uri/rdf icon.
|
||||
|
||||
$('span#downloadResults').children('img#downloadIcon').each(function()
|
||||
$('img#downloadIcon').each(function()
|
||||
{
|
||||
$(this).qtip(
|
||||
{
|
||||
content: {
|
||||
prerender: true, // We need this for the .click() event listener on 'a.close'
|
||||
text: '<div style="float:right; width:150px">'
|
||||
text: '<div style="float:right; width:150px;border-left: 1px solid #A6B1B0; padding: 3px 0 0 20px">'
|
||||
+'<p><label for="amount" style="font-size:14px;">Maximum Records:</label>'
|
||||
+'<input disabled type="text" id="amount" style="margin-left:35px; border: 0; color: #f6931f; font-weight: bold; width:45px" /></p>'
|
||||
+'<div id="slider-vertical" style="margin-left:60px; margin-top: -20px; height: 100px; background-color:white"></div>'
|
||||
+'</div>'
|
||||
+'<div style="float:left; width:300px"><h5>Download the results from this search</h5> '
|
||||
+'<br /><a class="close" href="#">close</a></div>'
|
||||
+'<div style="float:left; width:280px"><h5>Download the results from this search</h5> '
|
||||
+'<h5 class ="download-url"><a id=xmlDownload href="' + urlsBase + '/search?' + queryText +'&xml=1&hitsPerPage=500">download results in XML format</a></h5>'
|
||||
+'<h5 class ="download-url"><a id=csvDownload href="' + urlsBase + '/search?' + queryText +'&csv=1&hitsPerPage=500">download results in CSV format</a></h5>'
|
||||
+'<br /><a class="close" href="#">close</a></div>'
|
||||
+'</div>'
|
||||
|
||||
},
|
||||
position: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue