|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- <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}/libs/jquery-3.4.1.min.js"></script>
- <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>
-
- <script type="text/javascript">
- $(document).ready(function() {
-
- $("#tagcloud").tx3TagCloud({
- multiplier: 1
- });
-
- $('.menu').dropit();
-
- $( document ).ajaxComplete(function() {
- $("#tagcloud").tx3TagCloud({
- multiplier: 5
- });
- });
-
- $('\#q').keyup(function() {
- $('#browse_results').load('#{url_for_home}?#lensNoQ&v.layout.enabled=false&v.template=results&q='+encodeURI($('\#q').val()));
-
- $("\#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');
- }
- });
- });
-
- });
- </script>
-
- <style>
-
- html {
- background-color: #F0F8FF;
- }
-
- body {
- font-family: Helvetica, Arial, sans-serif;
- font-size: 10pt;
- }
-
- #header {
- width: 100%;
- font-size: 20pt;
- }
-
- #header2 {
- margin-left:1200px;
- }
-
- #logo {
- width: 115px;
- margin: 0px 0px 0px 0px;
- border-style: none;
- }
-
- a {
- color: #305CB3;
- }
-
- a.hidden {
- display:none;
- }
-
- 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 }
- #tabs li a.no_results { color: #000; background-color: #838B8B; font-style: italic; padding: 5px; pointer-events: none;
- cursor: default; text-decoration: none;}
-
- .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;
- }
-
- div.facet_field {
- clear: left;
- }
-
- 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;
- }
-
- .dropit {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- .dropit .dropit-trigger { position: relative; }
- .dropit .dropit-submenu {
- 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;
- }
- .dropit .dropit-open .dropit-submenu { display: block; }
-
-
- <!--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>
|