Skip to content

Commit

Permalink
added kiosk-mode button on standard search page and interactive searc…
Browse files Browse the repository at this point in the history
  • Loading branch information
orbiter committed Feb 15, 2010
1 parent ac492fa commit 047f871
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
24 changes: 24 additions & 0 deletions htroot/env/base.css
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion htroot/env/templates/header.template
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions htroot/index.html
Expand Up @@ -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%#
::
Expand Down
6 changes: 5 additions & 1 deletion htroot/yacyinteractive.html
Expand Up @@ -88,7 +88,11 @@
</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.
Expand Down

0 comments on commit 047f871

Please sign in to comment.