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
pull/1/head
orbiter 15 years ago
parent ac492fa2a5
commit 047f8718a7

@ -825,6 +825,30 @@ ul.folder li.treeMenu_closed ul {
display: none; 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 */ /* API */
div#api { div#api {
position:absolute; position:absolute;

@ -47,8 +47,8 @@
<h3>Search&nbsp;&amp;&nbsp;Browse</h3> <h3>Search&nbsp;&amp;&nbsp;Browse</h3>
<ul class="menu"> <ul class="menu">
<li><a href="/index.html?display=0" accesskey="s" class="MenuItemLink">Search Page</a></li> <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="/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="/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="/Ranking_p.html" class="MenuItemLink lock">Ranking Config</a></li>
<li><a href="/Surftips.html?display=1" class="MenuItemLink">Surftips</a></li> <li><a href="/Surftips.html?display=1" class="MenuItemLink">Surftips</a></li>

@ -11,6 +11,10 @@
#(display)# #(display)#
#%env/templates/simpleheader.template%# #%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%# #%env/templates/header.template%#
:: ::

@ -88,7 +88,11 @@ if (q != "") search(q);
</script> </script>
#(display)# #(display)#
#%env/templates/simpleheader.template%# #%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> <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. <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. Click the API icon to see an example call to the native API.

Loading…
Cancel
Save