diff --git a/htroot/yacy/ui/css/yacyui-portalsearch.css b/htroot/yacy/ui/css/yacyui-portalsearch.css index 5ff8d9499..1c10a2ad3 100644 --- a/htroot/yacy/ui/css/yacyui-portalsearch.css +++ b/htroot/yacy/ui/css/yacyui-portalsearch.css @@ -18,6 +18,7 @@ #ypopup .url a { color:#20A020; text-decoration:none; + margin-top: 10px; } #ypopup h3.linktitle { margin-top: 2px; @@ -68,6 +69,6 @@ div .ybpane { } #ypopup .yloading { margin-top: 150px; - margin-left: -10px; + margin-left: -12px; text-align: center; } \ No newline at end of file diff --git a/htroot/yacy/ui/js/yacyui-portalsearch.js b/htroot/yacy/ui/js/yacyui-portalsearch.js index 7c008d7b1..2c214b992 100644 --- a/htroot/yacy/ui/js/yacyui-portalsearch.js +++ b/htroot/yacy/ui/js/yacyui-portalsearch.js @@ -9,16 +9,18 @@ $(document).ready(function() { startRecord = 0; maximumRecords = 10; yconf = $.extend({ - url : 'is a mandatory property - no default', - theme : 'start', - title : 'YaCy P2P Web Search', - width : 420, - height : 500, - position: ['top',50], - modal: false, + url : 'is a mandatory property - no default', + theme : 'start', + title : 'YaCy P2P Web Search', + logo : '/yacy/ui/img/yacy-logo.png', + link : 'http://www.yacy.net', + width : 420, + height : 500, + position : ['top',50], + modal : false, resizable: true, - show: '', - hide: '' + show : '', + hide : '' }, yconf); $('
').appendTo("#yacy"); @@ -101,19 +103,19 @@ $(document).ready(function() { param[param.length] = { name : 'startRecord', value : startRecord }; $.getJSON(url, param, - function(json, status){ + function(json, status){ if (json[0]) data = json[0]; else data = json; - $('#ypopup').empty(); - + $('#ypopup').empty(); + var total = data.channels[0].totalResults.replace(/[,.]/,""); var page = (data.channels[0].startIndex / data.channels[0].itemsPerPage) + 1; var start = startRecord + 1; var end = startRecord + maximumRecords; $("div .ybpane").remove(); - var ylogo = ""; + var ylogo = ""; var yresult = "-url : 'is a mandatory property - no default', -theme : 'start', -title : 'YaCy P2P Web Search', -width : 420, -height : 500, -position: ['top',50], -modal: false, +url : 'is a mandatory property - no default', +theme : 'start', +title : 'YaCy P2P Web Search', +logo : '/yacy/ui/img/yacy-logo.png', +link : 'http://www.yacy.net', +width : 420, +height : 500, +position : ['top',50], +modal : false, resizable: true, -show: '', -hide: '' +show : '', +hide : ''
You can
download ready made themes or create
-your own custom theme.
Themes are installed into: DATA/HTDOCS/yacy/ui/css/themes/
+YaCy +