mirror of https://github.com/kiwix/kiwix-tools.git
parent
a7397e73c3
commit
bbc7644de0
@ -1,10 +1,42 @@
|
|||||||
|
<script>
|
||||||
|
$(function() {
|
||||||
|
var availableTags = [
|
||||||
|
"ActionScript",
|
||||||
|
"AppleScript",
|
||||||
|
"Asp",
|
||||||
|
"BASIC",
|
||||||
|
"C",
|
||||||
|
"C++",
|
||||||
|
"Clojure",
|
||||||
|
"COBOL",
|
||||||
|
"ColdFusion",
|
||||||
|
"Erlang",
|
||||||
|
"Fortran",
|
||||||
|
"Groovy",
|
||||||
|
"Haskell",
|
||||||
|
"Java",
|
||||||
|
"JavaScript",
|
||||||
|
"Lisp",
|
||||||
|
"Perl",
|
||||||
|
"PHP",
|
||||||
|
"Python",
|
||||||
|
"Ruby",
|
||||||
|
"Scala",
|
||||||
|
"Scheme"
|
||||||
|
];
|
||||||
|
$( "#kiwixsearchbox" ).autocomplete({
|
||||||
|
source: "/suggest?content=__CONTENT__"
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
<span id="kiwixtoolbar" class="ui-widget-header ui-corner-all">
|
<span id="kiwixtoolbar" class="ui-widget-header ui-corner-all">
|
||||||
<button id="kiwixlibrary" onclick="window.location.href='/';">Library</button>
|
<button id="kiwixlibrary" onclick="window.location.href='/';">Library</button>
|
||||||
<button id="kiwixhome" onclick="window.location.href='/__CONTENT__/';">Home</button>
|
<button id="kiwixhome" onclick="window.location.href='/__CONTENT__/';">Home</button>
|
||||||
<form method="GET" action="/search" />
|
<form method="GET" action="/search" />
|
||||||
<input type="submit" id="kiwixsearch" value="Search" />
|
|
||||||
<input id="kiwixsearchbox" type="textbox" name="pattern" />
|
|
||||||
<input type="hidden" name="content" value="__CONTENT__" />
|
<input type="hidden" name="content" value="__CONTENT__" />
|
||||||
|
<input type="submit" id="kiwixsearch" value="Search" />
|
||||||
|
<input id="kiwixsearchbox" name="pattern"/>
|
||||||
</form>
|
</form>
|
||||||
</span>
|
</span>
|
||||||
<div style="display: block; height: 40px;"></div>
|
<div style="display: block; height: 40px;"></div>
|
||||||
|
|||||||
Loading…
Reference in new issue