Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

added kiosk-mode button on standard search page and interactive search page see also: http://forum.yacy-websuche.de/viewtopic.php?p=19178#p19178

orbiter047f8718a71b
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 2a419a34e..118ec413e 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -825,6 +825,30 @@ ul.folder li.treeMenu_closed ul {
display: none;
}
+div#kiosk {
+ position:absolute;
+ top:0px;
+ right:0px;
+ z-index: 100;
+}
+div#kiosk span {
+ display: none;
+}
+div#kiosk:hover span {
+ display: block;
+ position: absolute;
+ font-size:1em;
+ top: 18px;
+ left: -80px;
+ width: 80px;
+ padding: 3px;
+ color: #000000;
+ background: #DDDDDD;
+ text-align: center;
+ border: 1px dashed black;
+ z-index: 100;
+}
+
/* API */
div#api {
position:absolute;
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template
index 61ef14855..2628608e3 100644
--- a/htroot/env/templates/header.template
+++ b/htroot/env/templates/header.template
@@ -47,8 +47,8 @@
<h3>Search&nbsp;&amp;&nbsp;Browse</h3>
<ul class="menu">
<li><a href="/index.html?display=0" accesskey="s" class="MenuItemLink">Search Page</a></li>
+ <li><a href="/yacyinteractive.html?display=0" class="MenuItemLink">Interactive local Search</a></li>
<li><a href="/yacy/ui/" accesskey="s" class="MenuItemLink">Rich Client Search</a></li>
- <li><a href="/yacyinteractive.html?display=2" class="MenuItemLink">Interactive local Search</a></li>
<li><a href="/compare_yacy.html?display=1" class="MenuItemLink">Compare Search</a></li>
<li><a href="/Ranking_p.html" class="MenuItemLink lock">Ranking Config</a></li>
<li><a href="/Surftips.html?display=1" class="MenuItemLink">Surftips</a></li>
diff --git a/htroot/index.html b/htroot/index.html
index fbffd82d1..71ba3cb45 100644
--- a/htroot/index.html
+++ b/htroot/index.html
@@ -11,6 +11,10 @@
#(display)#
#%env/templates/simpleheader.template%#
+ <div id="kiosk">
+ <a href="index.html?display=2"\><img src="env/grafics/close.gif" width="16" height="16" alt="close" /></a>
+ <span>kiosk mode</span>
+ </div>
::
#%env/templates/header.template%#
::
diff --git a/htroot/yacyinteractive.html b/htroot/yacyinteractive.html
index cbd437d41..884ab11f2 100644
--- a/htroot/yacyinteractive.html
+++ b/htroot/yacyinteractive.html
@@ -88,7 +88,11 @@ if (q != "") search(q);
</script>
#(display)#
#%env/templates/simpleheader.template%#
- ::
+ <div id="kiosk">
+ <a href="yacyinteractive.html?display=2"\><img src="env/grafics/close.gif" width="16" height="16" alt="close" /></a>
+ <span>kiosk mode</span>
+ </div>
+ ::
<div id="api"><a href="yacysearch.json?query=yacy"><img src="env/grafics/api.png" width="60" height="40" alt="API" /></a>
<span>This page uses the JSON search API to display search results as you type.
Click the API icon to see an example call to the native API.