Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

YaCy-UI: some small cosmetical changes....

apfelmaennchene76cbd901685
diff --git a/htroot/yacy/ui/sidebar/sidebar_1.html b/htroot/yacy/ui/sidebar/sidebar_1.html
index 1f4944611..da2b3571f 100644
--- a/htroot/yacy/ui/sidebar/sidebar_1.html
+++ b/htroot/yacy/ui/sidebar/sidebar_1.html
@@ -34,28 +34,6 @@
});
/* Menu .click(function() */
- $("#login").click(function() {
- $.ajax({
- url: "/api/bookmarks/xbel/xbel.xml?login=true",
- method : "GET",
- dataType: "xml",
- success: function(xml) {
- // ToDo: /api/util/login.xml
- // alert("Login");
- }
- });
- });
-
- $("#shutdown").click(function() {
- if ( confirm("Shutdown YaCy-Peer?") ) {
- $("body").load("../../Steering.html?shutdown=");
- }
- });
-
- $("#admin").click(function() {
- $tabs.tabs('select',1);
- });
-
$("#searchtext").click(function () {
$("#side2").accordion("activate", 0);
});
@@ -65,9 +43,9 @@
if ($("select[@name='resource']").getValue() == "ymarks") {
qtag = $("input[@name='search']").getValue();
if (tabid == "#Bookmarks") {
- $tabs.tabs("load", 3);
+ reloadBM();
} else {
- $tabs.tabs('select',3);
+ $tabs.tabs('select',2);
}
} else {
var tabnr = $tabs.tabs('length');
diff --git a/htroot/yacy/ui/yacyui-admin.html b/htroot/yacy/ui/yacyui-admin.html
index f02f5d057..3bed33b56 100644
--- a/htroot/yacy/ui/yacyui-admin.html
+++ b/htroot/yacy/ui/yacyui-admin.html
@@ -10,6 +10,17 @@ function loadBanner() {
}
$(function() {
loaderBanner = window.setInterval("loadBanner()", 5000);
+ $("#login").click(function() {
+ $.ajax({
+ url: "/api/bookmarks/xbel/xbel.xml?login=true",
+ method : "GET",
+ dataType: "xml",
+ success: function(xml) {
+ // ToDo: /api/util/login.xml
+ // alert("Login");
+ }
+ });
+ });
})
//]]>
</script>
@@ -39,7 +50,7 @@ $(function() {
</a>
</td>
<td>
- <a id="shutdown" href="#Shutdown">
+ <a href="../../Steering.html?shutdown=">
<img alt="Shutdown" title="Shutdown" src="img-1/Stop%20Red%20Button.png" border="0"/>
<br />
Shutdown
diff --git a/htroot/yacy/ui/yacyui-bookmarks.html b/htroot/yacy/ui/yacyui-bookmarks.html
index 971c517ab..714ee503d 100644
--- a/htroot/yacy/ui/yacyui-bookmarks.html
+++ b/htroot/yacy/ui/yacyui-bookmarks.html
@@ -2,7 +2,7 @@
//<![CDATA[
$(document).ready(function() {
$("#side1").accordion("activate", 1);
- // $("#side2").accordion("activate", 1);
+ $("#side2").accordion("activate", 1);
// $('#yoptions').resetForm();
var height=document.documentElement.clientHeight - 240;
diff --git a/htroot/yacy/ui/yacyui-search.html b/htroot/yacy/ui/yacyui-search.html
index 6ec624c70..864a26429 100644
--- a/htroot/yacy/ui/yacyui-search.html
+++ b/htroot/yacy/ui/yacyui-search.html
@@ -1,7 +1,9 @@
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
- $("#side3").accordion("activate", 0);
+ $("#side1").accordion("activate", 0);
+ $("#side2").accordion("activate", 0);
+
var height=document.documentElement.clientHeight - 240;
$(tabid+" .yresult").flexigrid({