2015-05-21 21:23:27 -04:00
|
|
|
|
<title>Solr browse: #core_name</title>
|
|
|
|
|
|
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
|
|
|
|
|
|
|
|
<link rel="icon" type="image/x-icon" href="#{url_root}/img/favicon.ico"/>
|
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="#{url_root}/img/favicon.ico"/>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="#{url_root}/js/lib/jquery-1.7.2.min.js"></script>
|
2015-08-10 11:35:59 -04:00
|
|
|
|
<script type="text/javascript" src="#{url_for_solr}/admin/file?file=/velocity/js/jquery.tx3-tag-cloud.js&contentType=text/javascript"></script>
|
|
|
|
|
<script type="text/javascript" src="#{url_for_solr}/admin/file?file=/velocity/js/dropit.js&contentType=text/javascript"></script>
|
|
|
|
|
<script type="text/javascript" src="#{url_for_solr}/admin/file?file=/velocity/js/jquery.autocomplete.js&contentType=text/javascript"></script>
|
2015-05-21 21:23:27 -04:00
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2015-08-10 11:35:59 -04:00
|
|
|
|
$(document).ready(function() {
|
2015-06-05 11:05:20 -04:00
|
|
|
|
|
2015-05-21 21:23:27 -04:00
|
|
|
|
$("#tagcloud").tx3TagCloud({
|
2015-08-10 11:35:59 -04:00
|
|
|
|
multiplier: 1
|
2015-05-21 21:23:27 -04:00
|
|
|
|
});
|
2015-06-02 16:56:04 -04:00
|
|
|
|
|
2015-06-05 11:05:20 -04:00
|
|
|
|
$('.menu').dropit();
|
2015-06-02 16:56:04 -04:00
|
|
|
|
|
2015-06-05 11:05:20 -04:00
|
|
|
|
$( document ).ajaxComplete(function() {
|
2015-08-10 11:35:59 -04:00
|
|
|
|
$("#tagcloud").tx3TagCloud({
|
2015-06-05 11:05:20 -04:00
|
|
|
|
multiplier: 5
|
2015-08-10 11:35:59 -04:00
|
|
|
|
});
|
2015-06-05 11:05:20 -04:00
|
|
|
|
});
|
2015-06-02 16:56:04 -04:00
|
|
|
|
|
2015-06-05 11:05:20 -04:00
|
|
|
|
$('\#q').keyup(function() {
|
|
|
|
|
$('#browse_results').load('#{url_for_home}?#lensNoQ&v.layout.enabled=false&v.template=results&q='+encodeURI($('\#q').val()));
|
2015-08-10 11:35:59 -04:00
|
|
|
|
|
|
|
|
|
$("\#q").autocomplete('#{url_for_solr}/suggest', {
|
|
|
|
|
extraParams: {
|
|
|
|
|
'suggest.q': function() { return $("\#q").val();},
|
|
|
|
|
'suggest.build': 'true',
|
|
|
|
|
'wt': 'json',
|
|
|
|
|
}
|
|
|
|
|
}).keydown(function(e) {
|
|
|
|
|
if (e.keyCode === 13){
|
|
|
|
|
$("#query-form").trigger('submit');
|
|
|
|
|
}
|
|
|
|
|
});
|
2015-06-05 11:05:20 -04:00
|
|
|
|
});
|
2015-08-10 11:35:59 -04:00
|
|
|
|
|
2015-06-05 11:05:20 -04:00
|
|
|
|
});
|
2015-05-21 21:23:27 -04:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
2015-08-10 11:35:59 -04:00
|
|
|
|
|
2015-05-21 21:23:27 -04:00
|
|
|
|
html {
|
|
|
|
|
background-color: #F0F8FF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
|
font-size: 10pt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#header {
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 20pt;
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-10 11:35:59 -04:00
|
|
|
|
#header2 {
|
|
|
|
|
margin-left:1200px;
|
2015-06-02 16:56:04 -04:00
|
|
|
|
}
|
|
|
|
|
|
2015-05-21 21:23:27 -04:00
|
|
|
|
#logo {
|
|
|
|
|
width: 115px;
|
|
|
|
|
margin: 0px 0px 0px 0px;
|
|
|
|
|
border-style: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: #305CB3;
|
|
|
|
|
}
|
2015-08-10 11:35:59 -04:00
|
|
|
|
|
|
|
|
|
a.hidden {
|
|
|
|
|
display:none;
|
2015-06-02 16:56:04 -04:00
|
|
|
|
}
|
2015-05-21 21:23:27 -04:00
|
|
|
|
|
|
|
|
|
em {
|
|
|
|
|
color: #FF833D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error {
|
|
|
|
|
color: white;
|
|
|
|
|
background-color: red;
|
|
|
|
|
left: 210px;
|
|
|
|
|
width:80%;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.debug { display: none; font-size: 10pt}
|
|
|
|
|
#debug_query {
|
|
|
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
|
|
|
font-size: 10pt;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
#parsed_query {
|
|
|
|
|
font-family: Courier, Courier New, monospaced;
|
|
|
|
|
font-size: 10pt;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#admin {
|
|
|
|
|
text-align: right;
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#query-form {
|
|
|
|
|
width: 90%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#query-box {
|
|
|
|
|
padding: 5px;
|
|
|
|
|
margin: 5px;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
}
|
|
|
|
|
#constraints {
|
|
|
|
|
margin: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#tabs { }
|
|
|
|
|
#tabs li { display: inline; font-size: 10px;}
|
|
|
|
|
#tabs li a { border-radius: 20px; border: 2px solid #C1CDCD; padding: 10px;color: #42454a; background-color: #dedbde;}
|
|
|
|
|
#tabs li a:hover { background-color: #f1f0ee; }
|
|
|
|
|
#tabs li a.selected { color: #000; background-color: #f1f0ee; font-weight: bold; padding: 5px }
|
2015-08-10 11:35:59 -04:00
|
|
|
|
#tabs li a.no_results { color: #000; background-color: #838B8B; font-style: italic; padding: 5px; pointer-events: none;
|
|
|
|
|
cursor: default; text-decoration: none;}
|
2015-05-21 21:23:27 -04:00
|
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
|
width: 305px;
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
border: 2px solid #C1CDCD;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
padding-left: 10%;
|
|
|
|
|
background: #eee;
|
|
|
|
|
margin-left: 190px;
|
|
|
|
|
margin-top : 42px;
|
|
|
|
|
padding-top: 5px;
|
|
|
|
|
padding-bottom: 5px;
|
|
|
|
|
text-align:left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#results_list { width: 70%; }
|
|
|
|
|
.result-document {
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
border: 2px solid #C1CDCD;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
// width: 800px;
|
|
|
|
|
// height: 120px;
|
|
|
|
|
margin: 5px;
|
|
|
|
|
// margin-left: 60px;
|
|
|
|
|
// margin-right: 210px;
|
|
|
|
|
// margin-bottom: 15px;
|
|
|
|
|
transition: 1s ease;
|
|
|
|
|
}
|
|
|
|
|
.result-document:hover
|
|
|
|
|
{
|
|
|
|
|
webkit-transform: scale(1.1);
|
|
|
|
|
-ms-transform: scale(1.1);
|
|
|
|
|
transform: scale(1.1);
|
|
|
|
|
transition: 1s ease;
|
|
|
|
|
}
|
|
|
|
|
.result-document div {
|
|
|
|
|
padding: 5px;
|
|
|
|
|
}
|
|
|
|
|
.result-title {
|
|
|
|
|
width:60%;
|
|
|
|
|
}
|
|
|
|
|
.result-body {
|
|
|
|
|
background: #ddd;
|
|
|
|
|
}
|
|
|
|
|
.result-document:nth-child(2n+1) {
|
|
|
|
|
background-color: #FFFFFD;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#facets {
|
|
|
|
|
margin: 5px;
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
top: -20px;
|
|
|
|
|
position: relative;
|
|
|
|
|
float: right;
|
|
|
|
|
width: 25%;
|
|
|
|
|
}
|
|
|
|
|
.facet-field {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
#facets ul {
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin: 0;
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
#facets ul li {
|
|
|
|
|
color: #999;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-10 11:35:59 -04:00
|
|
|
|
div.facet_field {
|
|
|
|
|
clear: left;
|
|
|
|
|
}
|
|
|
|
|
|
2015-05-21 21:23:27 -04:00
|
|
|
|
ul.tx3-tag-cloud { }
|
|
|
|
|
ul.tx3-tag-cloud li {
|
|
|
|
|
display: block;
|
|
|
|
|
float: left;
|
|
|
|
|
list-style: none;
|
|
|
|
|
margin-right: 4px;
|
|
|
|
|
}
|
|
|
|
|
ul.tx3-tag-cloud li a {
|
|
|
|
|
display: block;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #c9c9c9;
|
|
|
|
|
padding: 3px 10px;
|
|
|
|
|
}
|
|
|
|
|
ul.tx3-tag-cloud li a:hover {
|
|
|
|
|
color: #000000;
|
|
|
|
|
-webkit-transition: color 250ms linear;
|
|
|
|
|
-moz-transition: color 250ms linear;
|
|
|
|
|
-o-transition: color 250ms linear;
|
|
|
|
|
-ms-transition: color 250ms linear;
|
|
|
|
|
transition: color 250ms linear;
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-02 16:56:04 -04:00
|
|
|
|
.dropit {
|
2015-08-10 11:35:59 -04:00
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
2015-06-02 16:56:04 -04:00
|
|
|
|
}
|
|
|
|
|
.dropit .dropit-trigger { position: relative; }
|
|
|
|
|
.dropit .dropit-submenu {
|
2015-08-10 11:35:59 -04:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 100%;
|
|
|
|
|
left: 0; /* dropdown left or right */
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
display: none;
|
|
|
|
|
min-width: 150px;
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
2015-06-02 16:56:04 -04:00
|
|
|
|
}
|
|
|
|
|
.dropit .dropit-open .dropit-submenu { display: block; }
|
2015-06-05 11:05:20 -04:00
|
|
|
|
|
|
|
|
|
|
2015-08-10 11:35:59 -04:00
|
|
|
|
<!--autocomplete css-->
|
|
|
|
|
.ac_results {
|
|
|
|
|
padding: 0px;
|
|
|
|
|
border: 1px solid black;
|
|
|
|
|
background-color: white;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
z-index: 99999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ac_results ul {
|
|
|
|
|
width: 100%;
|
|
|
|
|
list-style-position: outside;
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ac_results li {
|
|
|
|
|
margin: 0px;
|
|
|
|
|
padding: 2px 5px;
|
|
|
|
|
cursor: default;
|
|
|
|
|
display: block;
|
|
|
|
|
font: menu;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ac_loading {
|
|
|
|
|
// background: white url('˜indicator.gif') right center no-repeat;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ac_odd {
|
|
|
|
|
background-color: #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ac_over {
|
|
|
|
|
background-color: #0A246A;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
</style>
|