Skip to content

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

added greeting line to interactive search and harmonized display position with 'Administration' line in all administration pages

Michael Peter Christenfe308f47d561
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template
index 023ab3355..0c2dd3138 100644
--- a/htroot/env/templates/header.template
+++ b/htroot/env/templates/header.template
@@ -9,8 +9,8 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" id="navbar-brand" href="/" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
- <img id="greeting-icon" class="yacylogo" src="/env/grafics/yacy.png" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle">
- <span style="position:absolute;top:30px;left:80px;display:inline;white-space:nowrap;">Administration</span>
+ <img id="greeting-icon" class="yacylogo" src="/env/grafics/yacy.png" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle;float:left;">
+ <span style="position:absolute;top:50%;float:left;">&nbsp;Administration</span>
</a>
<form class="navbar-form" method="get" accept-charset="UTF-8" action="/yacysearch.html" style="padding-left:200px;max-width:400px;">
<input name="query" placeholder="Search..." class="form-control" type="text" size="36" maxlength="200" value=""/>
diff --git a/htroot/env/templates/simpleheader.template b/htroot/env/templates/simpleheader.template
index 6b0620592..670a1667e 100644
--- a/htroot/env/templates/simpleheader.template
+++ b/htroot/env/templates/simpleheader.template
@@ -9,7 +9,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" id="navbar-brand" href="#[promoteSearchPageGreeting.homepage]#" 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">&nbsp;<span id="greeting"></span>
+ <img id="greeting-icon" class="yacylogo" src="#[promoteSearchPageGreeting.smallImage]#" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle;float:left;">&nbsp;<span id="greeting" style="position:absolute; top:50%;float:left;"></span>
</a>
</div>
<div class="navbar-collapse collapse">
diff --git a/htroot/yacyinteractive.html b/htroot/yacyinteractive.html
index 24e15a2e4..8925b79fe 100644
--- a/htroot/yacyinteractive.html
+++ b/htroot/yacyinteractive.html
@@ -13,6 +13,7 @@
#%env/templates/simpleheader.template%#
<script type="text/javascript">
document.getElementById("header_filesearch").className += " active";
+ document.getElementById("greeting").innerHTML = "&nbsp;#[promoteSearchPageGreeting]#";
</script>
#(/topmenu)#