Merge branch 'develop' into issue-vivo-101-sparqlupdate

This commit is contained in:
Brian Caruso 2013-07-31 13:53:39 -04:00
commit 6a3e6f4f5b
20 changed files with 335 additions and 374 deletions

View file

@ -268,11 +268,6 @@ input#uriLink {
width: 350px;
font-size: .8em;
}
a.close {
float: right;
margin-right: .3em;
font-size: .8em;
}
.rdf-url {
display: block;
padding-top: 0.8em;

View file

@ -83,18 +83,11 @@ span#searchHelp {
font-size:.825em;
padding-right:32px
}
span#downloadResults {
float:left;
margin-top:10px;
font-size:.825em;
padding-left:10px
}
img#downloadIcon {
cursor: pointer;
margin-left: 6px;
vertical-align: top;
}
.download-url {
padding: 5px 25px 5px;
}

View file

@ -140,9 +140,22 @@
.searchTOC ul span {
float:right;
padding-right: 10px;
color:grey;
color:gray;
font-size:smaller;
}
.contentsBrowseGroup {
clear:both;
padding-top: 5px;
}
.searchResultsHeader {
width: 675px;
float:left;
}
a.close {
float: right;
margin-right: .3em;
font-size: .8em;
}
/* -------------------------------------------------> */
/* DROP DOWN USER MENU ----------------------------> */

View file

@ -18,7 +18,7 @@
<li style="list-style-type:none;"><input type="radio" name="subgraph" value="tbox"/> Entire ontology (TBox) for the application</li>
<li style="list-style-type:none;"><input type="radio" name="subgraph" value="abox"/> All Instance data (ABox) for the application</li>
<%VitroRequest vreq = new VitroRequest(request);
OntologyDao daoObj = vreq.getFullWebappDaoFactory().getOntologyDao();
OntologyDao daoObj = vreq.getUnfilteredWebappDaoFactory().getOntologyDao();
List ontologiesObj = daoObj.getAllOntologies();
if(ontologiesObj !=null && ontologiesObj.size()>0){
Iterator ontItr = ontologiesObj.iterator();

View file

@ -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 +'&amp;xml=1&amp;hitsPerPage=500">download results in XML format</a></h5>'
+'<h5 class ="download-url"><a id=csvDownload href="' + urlsBase + '/search?' + queryText +'&amp;csv=1&amp;hitsPerPage=500">download results in CSV format</a></h5>'
+'<br /><a class="close" href="#">close</a></div>'
+'</div>'
},
position: {

View file

@ -2,10 +2,7 @@
<#-- Template for displaying paged search results -->
<h2 style="float:left">
<h2 class="searchResultsHeader">
<#escape x as x?html>
${i18n().search_results_for} '${querytext}'
<#if classGroupName?has_content>${i18n().limited_to_type} '${classGroupName}'</#if>
@ -22,11 +19,10 @@
var urlsBase = '${urls.base}';
</script>
</h2>
<span id="downloadResults" title="Download Results">
<img id="downloadIcon" src="images/download-icon.png" alt="Download Results" />
</span>
<img id="downloadIcon" src="images/download-icon.png" alt="Download Results" title="Download Results" />
<#-- <span id="downloadResults" style="float:left"></span> -->
</h2>
<span id="searchHelp"><a href="${urls.base}/searchHelp" title="${i18n().search_help}">${i18n().not_expected_results}</a></span>
<div class="contentsBrowseGroup">