You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
265 lines
17 KiB
265 lines
17 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Search Page</title>
|
|
#%env/templates/metas.template%#
|
|
<link rel="stylesheet" type="text/css" media="screen" href="env/highslide.css" />
|
|
<script type="text/javascript" src="js/yacysearch.js"></script>
|
|
<script type="text/javascript" src="js/highslide/highslide.js"></script>
|
|
<script type="text/javascript">hs.outlineType = 'rounded-white';</script>
|
|
<script src="yacy/ui/js/jquery-1.3.2.min.js" type="text/javascript"></script>
|
|
<script src="yacy/ui/js/jquery-ui-1.7.2.min.js" type="text/javascript"></script>
|
|
<script src="yacy/ui/js/jquery.tagcloud.js" type="text/javascript"></script>
|
|
<script src="yacy/ui/js/jquery.tinysort.min.js" type="text/javascript"></script>
|
|
<link media="screen" type="text/css" href="yacy/ui/css/themes/start/ui.base.css" rel="stylesheet" />
|
|
<link media="screen" type="text/css" href="yacy/ui/css/themes/start/ui.theme.css" rel="stylesheet" />
|
|
</head>
|
|
|
|
<body id="ConfigSearchPage" >
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuDesign.template%#
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
$(function() {
|
|
$.extend($.ui.accordion.defaults, {
|
|
autoHeight: false,
|
|
clearStyle: true,
|
|
collapsible: true,
|
|
header: "h3"
|
|
});
|
|
$("#sidebar#[vocabulary]#").accordion({});
|
|
$("#sidebarDomains").accordion({});
|
|
$("#sidebarProtocols").accordion({});
|
|
$("#sidebarFiletypes").accordion({});
|
|
$("#sidebarLanguages").accordion({});
|
|
$("#sidebarAuthors").accordion({});
|
|
$("#sidebarNameSpace").accordion({});
|
|
$("#sidebarTopics").tagcloud({type:"sphere",power:.25,seed:0,sizemin:10,sizemax:20,height:80,colormin:"682",colormax:"20C"}).find("li").tsort();
|
|
$("#sidebarAbout").accordion({});
|
|
});
|
|
//]]>
|
|
</script>
|
|
|
|
<h2>Search Result Page Layout Configuration</h2>
|
|
<p>
|
|
Below is a generic template of the search result page. Mark the check boxes for features you would like to be displayed.
|
|
To change colors and styles use the <a href="ConfigAppearance_p.html">Appearance</a> menu for different skins.
|
|
Other portal settings can be adjusted in <a href="ConfigPortal.html">Generic Search Portal</a> menu.
|
|
</p>
|
|
<h4>Page Template</h4>
|
|
|
|
<form action="ConfigSearchPage_p.html" method="post" enctype="multipart/form-data" id="ConfigSearchPage" accept-charset="UTF-8">
|
|
<table>
|
|
<tr>
|
|
<td style="border-width: 1px; border-color: grey; border-style: solid; padding: 5px;">
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top"><input type="checkbox" name="publicTopmenu" value="true" #(publicTopmenu)#::checked="checked" #(/publicTopmenu)# /></td>
|
|
<td>
|
|
<!-- top navigation (imported from env/templates/simpleheader.template) -->
|
|
<div class="navbar navbar-default">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="forceNoExternalIcon navbar-brand" id="navbar-brand" href="#" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
|
|
<img id="greeting-icon" class="yacylogo" src="#[promoteSearchPageGreeting.smallImage]#" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle"> <span id="greeting"></span>
|
|
</a>
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li id="header_search" class="dropdown">
|
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">Search Interfaces<b class="caret"></b></a>
|
|
</li>
|
|
<li id="header_help" class="dropdown">
|
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-question-sign"></span></a>
|
|
</li>
|
|
<li id="header_administration">
|
|
<button class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-cog"></span> Administration »</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div style="width: 550px; float: left;">
|
|
<fieldset class="yacys">
|
|
<input id="search" class="searchinput" name="query" type="text" size="40" maxlength="80" value="search words" />
|
|
<input id="Enter" type="button" name="Enter" value="Search" onclick="var w = window.open('yacysearch.html','LayoutTest'); w.focus();" />
|
|
<div class="yacysearch">
|
|
<input type="checkbox" id="text" name="search.text" value="true" #(search.text)#::checked="checked" #(/search.text)# /><label for="text">Text</label>
|
|
<input type="checkbox" id="image" name="search.image" value="true" #(search.image)#::checked="checked" #(/search.image)# /><label for="image">Images</label>
|
|
<input type="checkbox" id="audio" name="search.audio" value="true" #(search.audio)#::checked="checked" #(/search.audio)# /><label for="audio">Audio</label>
|
|
<input type="checkbox" id="video" name="search.video" value="true" #(search.video)#::checked="checked" #(/search.video)# /><label for="video">Video</label>
|
|
<input type="checkbox" id="app" name="search.app" value="true" #(search.app)#::checked="checked" #(/search.app)# /><label for="app">Applications</label>
|
|
<input type="checkbox" id="options" name="search.options" value="true" #(search.options)#::checked="checked" #(/search.options)# /><a href="" target="LayouTest">more options</a>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
<!-- the sidebar navigation -->
|
|
<div style="float: right; width: 280px;">
|
|
<fieldset>
|
|
<table>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.topics" value="true" #(search.navigation.topics)#::checked="checked" #(/search.navigation.topics)# /></td>
|
|
<td>
|
|
<div style="float: right; margin-top: 0px; width: 100%; height: 80px">
|
|
<div id="tagcloud" style="text-align:justify">
|
|
<a href="yacysearch.html" target="LayouTest" rel="1" style="text-decoration: none;">Tag</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="2" style="text-decoration: none;">Topics</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="3" style="text-decoration: none;">Cloud</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="4" style="text-decoration: none;">Topics</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="6" style="text-decoration: none;">Cloud</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="5" style="text-decoration: none;">Tag</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="4" style="text-decoration: none;">Cloud</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="3" style="text-decoration: none;">Topics</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="2" style="text-decoration: none;">Tag</a>
|
|
<a href="yacysearch.html" target="LayouTest" rel="1" style="text-decoration: none;">Cloud</a>
|
|
</div>
|
|
<script type="text/javascript" charset="utf-8">
|
|
$.fn.tagcloud.defaults = {
|
|
size: {start: 8, end: 16, unit: 'pt'},
|
|
color: {start: '#682', end: '#20C'}
|
|
};
|
|
$(document).ready(function(){
|
|
$("#tagcloud a").tagcloud();
|
|
return false;
|
|
})
|
|
</script>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.protocol" value="true" #(search.navigation.protocol)#::checked="checked" #(/search.navigation.protocol)# /></td>
|
|
<td><div id="sidebarProtocols" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Protocol Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.filetype" value="true" #(search.navigation.filetype)#::checked="checked" #(/search.navigation.filetype)# /></td>
|
|
<td><div id="sidebarFiletypes" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Filetype Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.hosts" value="true" #(search.navigation.hosts)#::checked="checked" #(/search.navigation.hosts)# /></td>
|
|
<td><div id="sidebarDomains" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Domain Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.namespace" value="true" #(search.navigation.namespace)#::checked="checked" #(/search.navigation.namespace)# /></td>
|
|
<td><div id="sidebarNameSpace" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Wiki Name Space Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.language" value="true" #(search.navigation.language)#::checked="checked" #(/search.navigation.language)# /></td>
|
|
<td><div id="sidebarLanguages" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Language Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="checkbox" name="search.navigation.authors" value="true" #(search.navigation.authors)#::checked="checked" #(/search.navigation.authors)# /></td>
|
|
<td><div id="sidebarAuthors" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Author Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><div id="vocabulary" style="float: right; margin-top: 0px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">Vocabulary Facet</h3>
|
|
</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td><div id="sidebarAbout" style="float: right; margin-top: 5px; width: 230px;">
|
|
<h3 style="padding-left: 25px;">about#[about.headline]#</h3>
|
|
<div>#[about.body]#</div>
|
|
</div></td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
</div>
|
|
<!-- the search result -->
|
|
<div style="float: left; width: 70%;">
|
|
<fieldset>
|
|
<div class="searchresults">
|
|
<h4 class="linktitle">
|
|
<img width="16" height="16" src="env/grafics/dfltfvcn.ico" class="favicon" alt="" />
|
|
<a href="yacysearch.html" target="LayouTest">Title of Result</a>
|
|
</h4>
|
|
<p class="snippet">
|
|
<span class="snippetLoaded" id="hhash">Description and text snippet of the search result</span>
|
|
</p>
|
|
<p class="url">
|
|
<a href="yacysearch.html" id="urlhash" target="LayouTest">http://url-of-the-search-result.net</a>
|
|
</p>
|
|
<p class="urlinfo">
|
|
<table border="0">
|
|
<tr>
|
|
<td width="15px"></td>
|
|
<td>#[content_showDate_date]#</td>
|
|
<td> | 42 kbyte</td>
|
|
<td> | <a href="solr/select?q=*:*&defType=edismax&start=0&rows=3&core=collection1&wt=html" target="LayouTest" onclick="return hs.htmlExpand(this, { objectType: 'ajax'} )">Metadata</a></td>
|
|
<td> | <a href="ViewFile.html" target="LayouTest">Parser</a></td>
|
|
<td> | <a href="api/citation.html?url=yacy.net" target="LayouTest">Citation</a></td>
|
|
<td> | <a href="yacysearch.html" target="LayouTest">Pictures</a></td>
|
|
<td> | <a href="CacheResource_p.html" target="LayouTest">Cache</a></td>
|
|
<td> | <a href="proxy.html" target="LayouTest">Augmented Browsing</a></td>
|
|
<td> | <a href="HostBrowser.html" target="LayouTest"><img src="env/grafics/minitree.png" width="15" height="8" /></a></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.date" value="true" #(search.result.show.date)#::checked="checked" #(/search.result.show.date)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.size" value="true" #(search.result.show.size)#::checked="checked" #(/search.result.show.size)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.metadata" value="true" #(search.result.show.metadata)#::checked="checked" #(/search.result.show.metadata)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.parser" value="true" #(search.result.show.parser)#::checked="checked" #(/search.result.show.parser)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.citation" value="true" #(search.result.show.citation)#::checked="checked" #(/search.result.show.citation)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.pictures" value="true" #(search.result.show.pictures)#::checked="checked" #(/search.result.show.pictures)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.cache" value="true" #(search.result.show.cache)#::checked="checked" #(/search.result.show.cache)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.proxy" value="true" #(search.result.show.proxy)#::checked="checked" #(/search.result.show.proxy)# /></td>
|
|
<td align="center"><input type="checkbox" name="search.result.show.hostbrowser" value="true" #(search.result.show.hostbrowser)#::checked="checked" #(/search.result.show.hostbrowser)# /></td>
|
|
</tr>
|
|
</table>
|
|
</p>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<fieldset>
|
|
<dt> </dt>
|
|
<dd>
|
|
<input type="submit" name="searchpage_set" value="Save Settings" class="btn btn-primary" />
|
|
<input type="submit" name="searchpage_default" value="Set Default Values" class="btn btn-primary" />
|
|
</dd>
|
|
</fieldset>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
$(function() { $("#sidebarProtocols").accordion('activate', false); });
|
|
$(function() { $("#sidebarFiletypes").accordion('activate', false); });
|
|
$(function() { $("#sidebarDomains").accordion('activate', false); });
|
|
$(function() { $("#sidebarNameSpace").accordion('activate', false); });
|
|
$(function() { $("#sidebarLanguages").accordion('activate', false); });
|
|
$(function() { $("#sidebarAuthors").accordion('activate', false); });
|
|
$(function() { $("#vocabulary").accordion('activate', false); });
|
|
$(function() { $("#sidebarAbout").accordion('activate', false); });
|
|
//]]>
|
|
</script>
|
|
</body>
|
|
</html>
|