From 617dd9c97b5db119a4603190ccedaf7d504b728b Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 21 Mar 2014 02:42:09 +0100 Subject: [PATCH] - added new input field in index.html - changed progress bar in yacysearch.html - moved pagination navigation to page bottom - moved search term input field to headline --- defaults/yacy.init | 5 --- htroot/env/base.css | 4 +- htroot/env/templates/header.template | 9 ++-- htroot/index.html | 17 ++++---- htroot/index.java | 1 - htroot/js/yacysearch.js | 61 ++-------------------------- htroot/yacysearch.html | 48 +++++++++++++--------- htroot/yacysearch.java | 3 -- htroot/yacysearchitem.html | 1 - 9 files changed, 44 insertions(+), 105 deletions(-) diff --git a/defaults/yacy.init b/defaults/yacy.init index 5ae000d2d..725987a98 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -979,11 +979,6 @@ publicSearchpage = true # to /Status.html to get the main memu bar back publicTopmenu = true -# flag if a small link to the administration sites on the right bottom of the index -# page should be shown to all users. -# you might want to enabled this, if publicTopmenu is disabled -publicAdministratorPi = false - # Wiki access rights # the built-in wiki system allows by default only that the administrator is allowed to make changes # this can be changed. There are three options: diff --git a/htroot/env/base.css b/htroot/env/base.css index eea139756..0e94e5809 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -327,7 +327,7 @@ clear:both; #resNav { /* right part of the progress bar */ - float:right; + float:left; } #resProgFill { @@ -713,7 +713,7 @@ form.search.small { } .searchinput { - font-size:16px; + font-size:18px; } /*---------- diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index 099d79534..536b63b68 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -10,22 +10,19 @@  Administration - - - + @@ -215,9 +226,6 @@ document.getElementById("search").focus(); // diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index bc3167575..171d732de 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -127,9 +127,6 @@ public class yacysearch { final servletProperties prop = new servletProperties(); prop.put("topmenu", sb.getConfigBool("publicTopmenu", true) ? 1 : 0); - //get focus option - prop.put("focus", ((post == null) ? true : post.get("focus", "1").equals("1")) ? 1 : 0); - // produce vocabulary navigation sidebars Collection vocabularies = LibraryProvider.autotagging.getVocabularies(); int j = 0; diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.html index 7de288c77..8f51dfc11 100644 --- a/htroot/yacysearchitem.html +++ b/htroot/yacysearchitem.html @@ -56,6 +56,5 @@