mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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:
parent
ac492fa2a5
commit
047f8718a7
24
htroot/env/base.css
vendored
24
htroot/env/base.css
vendored
|
@ -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;
|
||||
|
|
2
htroot/env/templates/header.template
vendored
2
htroot/env/templates/header.template
vendored
|
@ -47,8 +47,8 @@
|
|||
<h3>Search & 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>
|
||||
|
|
|
@ -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%#
|
||||
::
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user