added kiosk-mode button on standard search page and interactive search page

see also:
http://forum.yacy-websuche.de/viewtopic.php?p=19178#p19178

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6667 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2010-02-15 12:54:53 +00:00
parent ac492fa2a5
commit 047f8718a7
4 changed files with 34 additions and 2 deletions

24
htroot/env/base.css vendored
View File

@ -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;

View File

@ -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>

View File

@ -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%#
::

View File

@ -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.