- created new target 'portalsearch' in build.xml to generate yacy-portalsearch.tar.gz for static hosting
- some refactoring for search widget and jquery - update for ConfigLiveSearch.html to refelct latest changes git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8023 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
42425c8003
commit
a425fbd8d6
@ -1,24 +1,26 @@
|
||||
<!-- YaCy Portalseach by apfelmaennchen <sof@gmx.de> -->
|
||||
<!-- /env/portalheader.template -->
|
||||
<link media="screen" type="text/css" href="/jquery/css/yacy-portalsearch.css" rel="stylesheet" />
|
||||
<link media="screen" type="text/css" href="/portalsearch/yacy-portalsearch.css" rel="stylesheet" />
|
||||
<script src="/jquery/js/jquery.query-2.1.7.js" type="text/javascript"></script>
|
||||
<script src="/jquery/js/jquery.form-2.73.js" type="text/javascript"></script>
|
||||
<script src="/jquery/js/jquery.field-0.9.2.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(document).ready(function() {
|
||||
if ($("#yacylivesearch").length ) {
|
||||
yconf = {
|
||||
url : ' ',
|
||||
global : true,
|
||||
global : false,
|
||||
width : 500,
|
||||
height : 600,
|
||||
theme : 'start',
|
||||
title : 'YaCy Widget',
|
||||
title : 'YaCy Search Widget',
|
||||
load_js : false,
|
||||
load_css : false
|
||||
};
|
||||
$.getScript(yconf.url+'/jquery/js/yacy-portalsearch.js', function(){});
|
||||
$.getScript(yconf.url+'/portalsearch/yacy-portalsearch.js', function(){});
|
||||
}
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
<!-- END YaCy Portalsearch -->
|
@ -1,15 +1,14 @@
|
||||
body, table, textarea {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-title {
|
||||
font-size: 14px;
|
||||
}
|
||||
.ui-dialog .ui-dialog-buttonpane button {
|
||||
font-size: 14px;
|
||||
}
|
||||
.ui-autocomplete {
|
||||
max-height: 350px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
font-size: 1.0em;
|
||||
}
|
||||
|
||||
.ynav-cancel {
|
||||
vertical-align: middle;
|
||||
margin-left: 5px;
|
@ -0,0 +1,53 @@
|
||||
<!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 Bookmarks</title>
|
||||
|
||||
<link media="screen" type="text/css" href="../jquery/themes/start/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
|
||||
<link media="screen" type="text/css" href="../jquery/css/jquery-ui-combobox.css" rel="stylesheet" />
|
||||
<link media="screen" type="text/css" href="yacy-portalsearch.css" rel="stylesheet" />
|
||||
|
||||
<script src="../jquery/js/jquery-1.7.min.js" type="text/javascript"></script>
|
||||
<script src="../jquery/js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
|
||||
|
||||
<script src="../jquery/js/jquery-ui-combobox.js" type="text/javascript"></script>
|
||||
<script src="../jquery/js/jquery.query-2.1.7.js" type="text/javascript"></script>
|
||||
<script src="../jquery/js/jquery.form-2.73.js" type="text/javascript"></script>
|
||||
<script src="../jquery/js/jquery.field-0.9.2.min.js" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(document).ready(function() {
|
||||
if ($("#yacylivesearch").length ) {
|
||||
yconf = {
|
||||
url : 'http://www.yacy-suche.de/',
|
||||
global : true,
|
||||
width : 500,
|
||||
height : 600,
|
||||
theme : 'start',
|
||||
title : 'YaCy Search Widget: yacy-suche.de',
|
||||
load_js : false,
|
||||
load_css : false
|
||||
};
|
||||
$.getScript('yacy-portalsearch.js', function(){});
|
||||
}
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>YaCy Portalsearch:</h3>
|
||||
<div id="yacylivesearch">
|
||||
<form id="ysearch" method="get" accept-charset="UTF-8" action="yacysearch.html"><p>
|
||||
<input name="query" id="yquery" class="fancy" type="text" size="20" maxlength="80" value=""/>
|
||||
<input type="hidden" name="verify" value="iffresh" />
|
||||
<input type="hidden" name="maximumRecords" value="10" />
|
||||
<input type="hidden" name="resource" value="local" />
|
||||
<input type="hidden" name="urlmaskfilter" value=".*" />
|
||||
<input type="hidden" name="prefermaskfilter" value="" />
|
||||
<input type="hidden" name="former" value="" />
|
||||
<input type="hidden" name="nav" value="all" /></p>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue