From f0c50aad69e7f73b34a043253bc206ad24d1afd5 Mon Sep 17 00:00:00 2001 From: daburna Date: Sun, 26 Feb 2006 21:53:11 +0000 Subject: [PATCH] Added again an experimentell version of new design. Changed now complete to XHTML and CSS. Made by Michael Hamann (Michitux). For testing it, rename xhtml-index.html to index.html and use skin xhtml-style.css git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1771 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/env/css-test-style.css | 283 ----------------- htroot/env/templates/css-test-header.template | 65 ---- htroot/env/templates/xhtml-header.template | 129 ++++---- htroot/env/templates/xhtml-metas.template | 8 + htroot/env/xhtml-style.css | 287 ++++++++++++++---- htroot/xhtml-index.html | 167 ++++++++++ 6 files changed, 467 insertions(+), 472 deletions(-) delete mode 100644 htroot/env/css-test-style.css delete mode 100644 htroot/env/templates/css-test-header.template create mode 100644 htroot/env/templates/xhtml-metas.template create mode 100644 htroot/xhtml-index.html diff --git a/htroot/env/css-test-style.css b/htroot/env/css-test-style.css deleted file mode 100644 index a4a408b94..000000000 --- a/htroot/env/css-test-style.css +++ /dev/null @@ -1,283 +0,0 @@ -body { - background-color:#F8F8FF; -} -h1 { -font-family:Helvetica, sans-serif; -font-size:16pt; -font-style:normal; -line-height:25pt; - margin-top:0pt; - margin-bottom:0pt; -} -h2 { -font-family:Helvetica, sans-serif; -font-size:14pt; -font-style:normal; -line-height:14pt; -margin-top:0pt; - margin-bottom:0pt; -} -h3 { -font-family:Helvetica, sans-serif; -font-size:12pt; -font-style:normal; -line-height:14pt; -margin-top:0pt; - margin-bottom:0pt; -} -h4 { -font-family:Helvetica, sans-serif; -font-size:10pt; -font-style:normal; -line-height:14pt; -margin-top:0pt; - margin-bottom:0pt; -} -a, body, div, li, ol, span, table, td, tr, ul { -color:#000000; -font-family:Helvetica, sans-serif; -font-size:10pt; -font-style:normal; -line-height:14px; -margin-top:0px; -margin-bottom:0px; -} -*.small { -font-family:Helvetica, sans-serif; -font-size:8pt; -font-style:normal; -line-height:9px; -margin-top:0px; -margin-bottom:0px; -} -body, div, li, ol, span, table, td, tr, ul { - -text-decoration:none; -} -a:hover { -color:#0000FF; -} -a.unknown { -color:#990000; -} -a.known { -color:#009900; -} -a.extern { -color:#000099; -} -*.xxxyellow { -color:#0000FF; -font-weight:bold; -text-decoration:none; -font-size:11px; -} -*.xxxblue { -color:#556699; -font-weight:bold; -text-decoration:none; -font-size:11px; -} -*.tt { -font-family:Courier,Terminal,sans-serif; -font-size:8pt; -line-height:10px; -vertical-align:top; -} -.Menu { -width: 140; -} -.SubMenu { - -} -.MenuHeader { -background-color: #4070a0; -color:white; -font-size: 9px; -font-weight:bold; -} -.MenuItem { -background-color: #bdcdd4; -font-weight:bold; -text-decoration:none; -font-size:11px; -padding-top: 2; -padding-bottom: 2; -} -.MenuTopItem { -background-color: #bdcdd4; -font-weight:bold; -text-decoration:none; -font-size:11px; -padding-top: 3; -padding-bottom: 3; -} -.MenuSubItem { -background-color: #bdcdd4; -font-weight:bold; -text-decoration:none; -font-size:11px; -padding-top: 3; -padding-bottom: 3; -} -.MenuItemLink { -color: black; -font-weight:bold; -text-decoration:none; -font-size:11px; -} -a.MenuItemLink:hover { -color:#0088BB; -font-weight:bold; -text-decoration:none; -} -.MenuSpacer { -height: 4; -background-color: #ffffff; -} -.MenuSubSpacer { -padding-left: 2; -padding-right: 2; -background-color: #ffffff; -} - -.TableHeader { -background-color: #88aaaa; -} -.TableCellDark { -background-color: #bbcccc; -} -.TableCellLight { -background-color: #ddeeee; -} -.TableCellActive { -background-color: #ffbbaa; -} -.TableCellSummary { -background-color: #ffbbaa; -} -.TableCellPassive { -background-color: lightgrey; -} -.WikiBackground { -background-color: #eeeeee; -} -.WikiTOCBox { -border: 1px solid #aaa; -background-color: #F8F8FF; -padding: 8px; -} -.WikiTOC { -color:#0000FF; -font-size: 10px; -text-decoration:underline; -} -.MessageBackground { -background-color: #eeeeee; -} -.bookmarkTags{ -color: #007050; -font-weight:bold; -text-decoration:none; -white-space:nowrap; -} -.bookmarkTitle{ -line-height: 120%; -color: #4070a0; -font-size:17px; -font-weight:bold; -text-decoration:none; -} -.bookmarkDescription{ -font-style:normal; -} -.bookmarkAction{ -color: #999999; -text-decoration:none; -} -img.bookmarkIcon{ -height: 16px; -width: 16px; -} - -.ResultDescription { - color:#4070a0; - font-weight:bold; -} - -.ResultDateYBR { - color:#007050; -} - -.snippetLoading { - color:#999999; -} - -.snippetLoaded { - color:black; - font-style:italic; -} - -.snippetError { - color:red; - font-style:italic; -} - -.settingsValue { - color:#556699; - font-weight:bold; -} - - ul#Navigation { - width: 150px; - margin: 0; padding: 0.2em 0.8em 0.8em; - border: 0px; - } - - ul#Navigation li { - list-style: none; - margin: 1px; padding: 0; - } - - ul#Navigation a, ul#Navigation h2 { - width:140px; - font-size: 11px; - display:block; - padding: 0.2em; - padding-left:10px; - text-decoration: none; font-weight: bold; - border: 1px solid black; - border-left-color: white; border-top-color: white; - color: black; background-color: #bdcdd4; - } - - ul#Navigation a:hover { - border-color: white; - border-left-color: black; border-top-color: black; - color: white; background-color: #0088BB; - } - ul#Navigation h2 { - width:140px; - font-size: 9px; - margin: 1px 0 0; - border-color: gray; - color: white; background-color: #4070a0; - margin-top:5px; - } - - -.Headline { -color: white; -font-weight: bold; -font-size: 160%; -font-family: Helvetica, Arial; -text-align: center; -background-color: #4070a0; -height: 36px; -width:100%; -} - -.Heading { -background-color: #4070a0; -height: 36px; -} \ No newline at end of file diff --git a/htroot/env/templates/css-test-header.template b/htroot/env/templates/css-test-header.template deleted file mode 100644 index 4d9c65665..000000000 --- a/htroot/env/templates/css-test-header.template +++ /dev/null @@ -1,65 +0,0 @@ - - -
-

- - - - YaCy - Distributed Web Indexing - Administration

- -
-
- - - - -
\ No newline at end of file diff --git a/htroot/env/templates/xhtml-header.template b/htroot/env/templates/xhtml-header.template index a8815096e..09bd18fa3 100644 --- a/htroot/env/templates/xhtml-header.template +++ b/htroot/env/templates/xhtml-header.template @@ -1,61 +1,68 @@ -
- -

YaCy - Distributed Web Indexing - Administration

-
- -
+
+

YaCy - Distributed Web Indexing - Administration

+
+ +
diff --git a/htroot/env/templates/xhtml-metas.template b/htroot/env/templates/xhtml-metas.template new file mode 100644 index 000000000..98b7c2624 --- /dev/null +++ b/htroot/env/templates/xhtml-metas.template @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/htroot/env/xhtml-style.css b/htroot/env/xhtml-style.css index 01069ffaf..515bd471d 100644 --- a/htroot/env/xhtml-style.css +++ b/htroot/env/xhtml-style.css @@ -1,57 +1,52 @@ body { - background-color:#F8F8FF; +background-color:#F8F8FF; +margin:0; +} +* { +font-family:Helvetica, Arial, sans-serif; +} +img { +border:0; } h1 { -font-family:Helvetica, sans-serif; -font-size:16pt; +font-size:2em; font-style:normal; -line-height:14pt; margin-top:0pt; - margin-bottom:0pt; +margin-bottom:0pt; } h2 { -font-family:Helvetica, sans-serif; -font-size:14pt; +font-size:1.6em; font-style:normal; -line-height:14pt; margin-top:0pt; - margin-bottom:0pt; +margin-bottom:0pt; } h3 { -font-family:Helvetica, sans-serif; -font-size:12pt; +font-size:1.4em; font-style:normal; -line-height:14pt; margin-top:0pt; - margin-bottom:0pt; +margin-bottom:0pt; } h4 { -font-family:Helvetica, sans-serif; -font-size:10pt; +font-size:1.2em; font-style:normal; -line-height:14pt; margin-top:0pt; - margin-bottom:0pt; +margin-bottom:0pt; } a, body, div, li, ol, span, table, td, tr, ul { color:#000000; -font-family:Helvetica, sans-serif; -font-size:10pt; font-style:normal; -line-height:14px; margin-top:0px; margin-bottom:0px; } + *.small { -font-family:Helvetica, sans-serif; -font-size:8pt; +font-size:1em; font-style:normal; -line-height:9px; margin-top:0px; margin-bottom:0px; } body, div, li, ol, span, table, td, tr, ul { - + text-decoration:none; } a:hover { @@ -63,92 +58,90 @@ color:#990000; a.known { color:#009900; } -a.extern { +a, a.extern { color:#000099; } *.xxxyellow { color:#0000FF; font-weight:bold; text-decoration:none; -font-size:11px; +font-size:1.2em; } *.xxxblue { color:#556699; font-weight:bold; text-decoration:none; -font-size:11px; +font-size:1.2em; } *.tt { font-family:Courier,Terminal,sans-serif; -font-size:8pt; -line-height:9px; -} -.Menu { -width: 140; +font-size:1em; } -.SubMenu { -} -.MenuHeader { +div.menugroup h3, .MenuHeader { background-color: #4070a0; color:white; -font-size: 9px; +font-size:1em; font-weight:bold; +margin-top:10px; +padding:1px 10px; } -.MenuItem { +ul.menu li a { +display:block; background-color: #bdcdd4; -font-weight:bold; text-decoration:none; -font-size:11px; -padding-top: 2; -padding-bottom: 2; +margin-top:1px; +margin-bottom:1px; +padding:2px 10px; +font-size:1em; +} +ul.menu li a:hover { +color:#0088BB; +} +ul.menu li a.lock { +background:#bdcdd4 url(/env/grafics/lock.gif) 2px center no-repeat; +padding-left:15px; } .MenuTopItem { background-color: #bdcdd4; font-weight:bold; text-decoration:none; -font-size:11px; padding-top: 3; +font-size:1em; padding-bottom: 3; } .MenuSubItem { background-color: #bdcdd4; font-weight:bold; text-decoration:none; -font-size:11px; +font-size:1em; padding-top: 3; padding-bottom: 3; } -.MenuItemLink { +a.MenuItemLink { color: black; font-weight:bold; +font-size:1em; text-decoration:none; -font-size:11px; } a.MenuItemLink:hover { color:#0088BB; font-weight:bold; text-decoration:none; } -.MenuSpacer { -height: 4; -background-color: #ffffff; -} .MenuSubSpacer { padding-left: 2; padding-right: 2; background-color: #ffffff; } -.Headline { +div.head h1 { +padding:4px; +background:#4070a0 url(/env/grafics/yacy.gif) 10px center no-repeat; color: white; font-weight: bold; -font-size: 160%; -font-family: Helvetica, Arial; +font-size: 1.6em; text-align: center; -} -.Heading { -background-color: #4070a0; -height: 36px; +margin:0; } .TableHeader { background-color: #88aaaa; @@ -162,15 +155,183 @@ background-color: #ddeeee; .TableCellSummary { background-color: #ffbbaa; } -.WikiBackground { -background-color: #eeeeee; +.TableCellPassive { +background-color: lightgrey; } -.MessageBackground { +.WikiBackground, .MessageBackground { background-color: #eeeeee; } -.menu { - float: left; +.WikiTOCBox { +border: 1px solid #aaa; +background-color: #F8F8FF; +padding: 8px; +} +.WikiTOC { +color:#0000FF; +font-size: 10px; +text-decoration:underline; +} +form.search { +width:35em; +text-align:center; +margin:0 auto; } -.content { - margin-left: 11em; +.bookmarkTags{ +color: #007050; +font-weight:bold; +text-decoration:none; +white-space:nowrap; } +.bookmarkTitle{ +line-height: 120%; +color: #4070a0; +font-size:17px; +font-weight:bold; +text-decoration:none; +} +.bookmarkDescription{ +font-style:normal; +} +.bookmarkAction{ +color: #999999; +text-decoration:none; +} +img.bookmarkIcon, img.deleteIcon { +height: 16px; +width: 16px; +} +form.search fieldset { +border:0; +padding:0; +margin:2px; +} + +form.search table { +margin:0 auto; +text-align:left; +} + +div.menu { +padding:0; +margin:0; +position:absolute; +top:3em; +left:0; +width:11em; +} + +ul.menu { +padding:0; +margin:0; +} + +ul.menu li { +list-style:none; +margin:0; +padding:0; +background-color: #bdcdd4; +border:1px solid white; +} + +div.content { +position:absolute; +top:3em; +left:12em; +right:10px; +margin:0; +} + +h2.yacy { +margin:10px auto; +text-align:center; +padding-top:130px; +width:256px; +min-width:256px; +background:url(/env/grafics/kaskelix.png) top center no-repeat; +} + +div.urlactions { +float:left; +} + +div.urlactions a { +display:block; +} + +a.deletelink:hover { +background:url(/env/grafics/minus.gif) center center no-repeat; +} + +a.bookmarklink:hover { +background:url(/env/grafics/plus.gif) center center no-repeat; +} + +p.info { +margin-top:5em; +border-top:1px solid gray; +padding-top:5px; +text-align:center; +} + +div.searchresults p.url a { +color:#008000; +} + +div.searchresults p, div.searchresults h4 { +margin:2px 2px 2px 22px; +} + +.snippetLoading { +color:#999999; +} + +.snippetLoaded { +color:black; +font-style:italic; +} + +.snippetError { +color:red; +font-style:italic; +} + +.settingsValue { +color:#556699; +font-weight:bold; +} + +div.searchresults { +padding-top:1em; +margin-bottom:1em; +border-top:1px #000 dashed; +} + +div.searchresults a { +color:#000099; +text-decoration:none; +} + +div.searchresults a:hover { +color:#0000FF; +text-decoration:underline; +} +div.menugroup { +margin-left:5px; +margin-bottom:10px; +clear:left; +} + +.Headline { +color: white; +font-weight: bold; +font-size: 160%; +text-align: center; +background-color: #4070a0; +height: 36px; +width:100%; +} + +.Heading { +background-color: #4070a0; +height: 36px; +} \ No newline at end of file diff --git a/htroot/xhtml-index.html b/htroot/xhtml-index.html new file mode 100644 index 000000000..978411f46 --- /dev/null +++ b/htroot/xhtml-index.html @@ -0,0 +1,167 @@ + + + + YaCy '#[clientname]#': Search Page + #%env/templates/xhtml-metas.template%# + + + + + + + + +#%env/templates/header.template%# + +

+ P2P WEB SEARCH +

+

#[promoteSearchPageGreeting]#

+ + + + + #(excluded)# + :: +

The following words are stop-words and had been excluded from the search: #[stopwords]#.

+ #(/excluded)# + #(num-results)# + :: +

No Results.

+ :: +

No Results. (length of search words must be at least 3 characters)

+ :: +

No Results. If you think this is unsatisfactory then you may consider to support the global index by running your own proxy/peer. If everybody contributes, the results will get better.

+

Other possible reasons for no result:

+
    +
  • The search time was too short. Search again with same query to catch up 'late peers'
  • +
  • There is currently no support for german umlaute. Please use ae/oe/ue instead
  • +
  • Words of length < 3 are not indexed. Please omit such words
  • +
  • YaCy tries to index singular instead of plural words. Please use the singular form
  • +
  • Only complete words are indexed, not parts of words
  • +
  • Don't use stopwords as search words
  • +
  • During this test phase the reaction time of remote peers is unknown. Please repeat your search to see if there are late-responses from remote peers
  • +
+

If you think the information you searched should exist in the global index, then please run your own peer and start a crawl of your wanted information to make it available for everyone. Then stay online to support crawls from other peers. Thank you!

+ :: +

#[linkcount]# results from #[orderedcount]# ordered links of a total number of #[totalcount]# known.

+

Catch up more links + from 'late' peers.

+ #(/num-results)# + #(combine)# + :: +

Topwords (to refine search): + #{words}# + #[word]# + #{/words}# +

+ #(/combine)# + + + #{results}# + +
+
+ bookmark + delete +
+

#[description]#

+

#(snippet)#loading snippet ...::#[text]##(/snippet)#

+

#[urlname]#

+

#[date]# | YBR-#[ybr]# | Info

+
+ + #{/results}# + + +

+ #(resultbottomline)# + :: + The global search resulted in #[globalresults]# link contributions from other YaCy peers. + :: + You can enrich the search results by using the 'global' option: This will search also other YaCy peers + :: + You cannot get global search results because you are not connected to another YaCy peer. + To connect you must first use the proxy. + See here for an installation guide. + Alternatively, you can run the proxy in permanent online mode, which also grants global search. + To do this, press this button: +

+ +
+ :: + You can enrich the search results by using the 'global' option; you must also switch to online mode + (by using the proxy) to contribute to the global index. + #(/resultbottomline)# +

+ +

YaCy is a GPL'ed project + with the target of implementing a P2P-based global search engine.
+ Architecture (C) by Michael Peter Christen, +Mail-Adresse von Michael Peter Christen

+ +#%env/templates/xhtml-footer.template%# + + + + + \ No newline at end of file