From fa3ed2888d76736c188ec973aa273dc584afba09 Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Sat, 10 May 2008 08:37:18 +0000 Subject: [PATCH] - bookmarks are now retrieved from /xml/bookmarks/xbel/xbel.xml and do no longer require a seperate servlet - minor bug fixes - refactoring (obsolete items) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4783 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/ui/css/base.css | 6 ++-- htroot/yacy/ui/welcome.html | 14 +++++---- htroot/yacy/ui/ymarks.html | 58 +++++++++++++++---------------------- htroot/yacy/ui/ysearch.html | 11 +++---- 4 files changed, 41 insertions(+), 48 deletions(-) diff --git a/htroot/yacy/ui/css/base.css b/htroot/yacy/ui/css/base.css index 29ffc27fb..0f2d8d227 100644 --- a/htroot/yacy/ui/css/base.css +++ b/htroot/yacy/ui/css/base.css @@ -64,7 +64,7 @@ div.top { color: #999999; } .small { - font: normal Arial, Helvetica, sans-serif; + font: normal small Arial, Helvetica, sans-serif; font-size: 9px; } .normal { @@ -250,12 +250,12 @@ div.searchresults.hidden { margin-bottom:0.6em; margin-left:22px; } -.searchresults .url a,. searchselect .url a { +.searchresults .url a, .searchselect .url a { color:#20A020; text-decoration:none; } img.favicon{ - width: 16px;pagesize + width: 16px; height: 16px; vertical-align: middle; margin-left: -20px; diff --git a/htroot/yacy/ui/welcome.html b/htroot/yacy/ui/welcome.html index 2ecbc4229..233bac83b 100644 --- a/htroot/yacy/ui/welcome.html +++ b/htroot/yacy/ui/welcome.html @@ -10,16 +10,18 @@ apfelmaennchen

Change Log

Bug Tracker

\ No newline at end of file diff --git a/htroot/yacy/ui/ymarks.html b/htroot/yacy/ui/ymarks.html index eda138cef..9ccc0ac54 100644 --- a/htroot/yacy/ui/ymarks.html +++ b/htroot/yacy/ui/ymarks.html @@ -1,13 +1,32 @@ @@ -32,36 +51,7 @@ - - #{bookmarks}# - - - - - - #(public)# - private bookmark - :: - public bookmark - #(/public)# - - -

#[title]#

-

#[description]#

-

#[link]#

- - #{tags}# #[tag]#,#{/tags}# - - #[date]# - - - - edit bookmark - - delete bookmark - - - #{/bookmarks}# + diff --git a/htroot/yacy/ui/ysearch.html b/htroot/yacy/ui/ysearch.html index eb2986cc2..028158c38 100644 --- a/htroot/yacy/ui/ysearch.html +++ b/htroot/yacy/ui/ysearch.html @@ -2,15 +2,17 @@ //').html('[loading...]').appendTo(tabid); $.ajax({ type: "GET", url: query, dataType: "xml", success: function(xml) { var totalResults = parseInt($(xml).find('totalResults').text().replace(".","")); - var startIndex = parseInt($(xml).find('startIndex').text()); + var startIndex = parseInt($(xml).find('startIndex').text()); var itemsPerPage = parseInt($(xml).find('itemsPerPage').text()); - var query = $(xml).find('Query').attr('searchTerms'); + var query = $(xml).find('Query').attr('searchTerms'); var endIndex = startIndex+itemsPerPage; if (endIndex > totalResults) { endIndex = totalResults; @@ -21,8 +23,8 @@ var currentPage = ((startIndex-1)/itemsPerPage); } else { var currentPage = 0; - } - $("#pagination").pagination(totalResults, { + } + $(pagination).pagination(totalResults, { current_page:currentPage, items_per_page:itemsPerPage, num_edge_entries:1, @@ -69,5 +71,4 @@ }); //close $( //]]> -