diff --git a/htroot/yacy/ui/css/base.css b/htroot/yacy/ui/css/base.css index f873055ee..8d779b298 100644 --- a/htroot/yacy/ui/css/base.css +++ b/htroot/yacy/ui/css/base.css @@ -185,7 +185,11 @@ h3.linktitle { line-height: 1.2em; color:#239AFF; } -.url a { +h3.linktitle a { + color:#239AFF; + text-decoration:none; +} +p.url a { color:#20A020; text-decoration:none; } diff --git a/htroot/yacy/ui/yacyui-search.html b/htroot/yacy/ui/yacyui-search.html index c201a86d6..7c755cbc9 100644 --- a/htroot/yacy/ui/yacyui-search.html +++ b/htroot/yacy/ui/yacyui-search.html @@ -54,10 +54,12 @@ data.channels[0].items, function(i,item) { if (item) { - var html = "

"+item.title+"

"+item.description+"

"+item.link+"" + var title = "

"+item.title+"

"; + var url = "

"+item.link+"

" + var desc = "

"+item.description+"

"; var fav = ""; - rows[i] = {id: item.guid, cell: [item.guid, fav, html, "Tags", "Folders", item.pubDate]}; - counter++; + var date = item.pubDate.substring(0,16); + rows[i] = {id: item.guid, cell: [item.guid, fav, title+desc+url, "Tags", "Folders", date]}; } } ); @@ -92,7 +94,7 @@ $('.pReload',this.pDiv).addClass('loading'); if (g.bDiv) $(g.block).css({top:g.bDiv.offsetTop}); if (p.hideOnSubmit) $(this.gDiv).prepend(g.block); //$(t).hide(); - if ($.browser.opera) $(t).css('visibility','hidden'); + // if ($.browser.opera) $(t).css('visibility','hidden'); if (!p.newp) p.newp = 1; if (p.page>p.pages) p.page = p.pages; diff --git a/htroot/yacy/ui/yacyuisearch.html b/htroot/yacy/ui/yacyuisearch.html index 30d569d22..0bad66d8a 100644 --- a/htroot/yacy/ui/yacyuisearch.html +++ b/htroot/yacy/ui/yacyuisearch.html @@ -17,8 +17,7 @@ var height = document.documentElement.clientHeight - 240; var query = $.query.get('search'); if (query == '') query = $.query.get('query'); - $.query.REMOVE('search'); - + $(".yresult").flexigrid({ url: '/yacysearch.json', dataType: 'json', @@ -61,9 +60,12 @@ data.channels[0].items, function(i,item) { if (item) { - var html = "

"+item.title+"

"+item.description+"

"+item.link+"" + var title = "

"+item.title+"

"; + var url = "

"+item.link+"

" + var desc = "

"+item.description+"

"; var fav = ""; - rows[i] = {id: item.guid, cell: [item.guid, fav, html, item.pubDate]}; + var date = item.pubDate.substring(0,16); + rows[i] = {id: item.guid, cell: [item.guid, fav, title+desc+url, "Tags", "Folders", date]}; } } ); @@ -82,7 +84,7 @@ $('.pReload',this.pDiv).addClass('loading'); if (g.bDiv) $(g.block).css({top:g.bDiv.offsetTop}); if (p.hideOnSubmit) $(this.gDiv).prepend(g.block); //$(t).hide(); - if ($.browser.opera) $(t).css('visibility','hidden'); + // if ($.browser.opera) $(t).css('visibility','hidden'); if (!p.newp) p.newp = 1; if (p.page>p.pages) p.page = p.pages;