Skip to content

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

- do not show external link icon on navbar icon - do not show navbar icon on index.html

Michael Peter Christen69d1d067acf0
diff --git a/htroot/env/base.css b/htroot/env/base.css
index 0e94e5809..8e9e2e269 100644
--- a/htroot/env/base.css
+++ b/htroot/env/base.css
@@ -94,7 +94,7 @@ a[href^="http://"], a[href^="https://"] {
}
/* exception for links in search results and image links */
-a[target="_self"], a[class="forceNoExternalIcon"], a[class="yacylogo"] {
+a[target="_self"], a[class="forceNoExternalIcon"], a[class="navbar-brand"], a[class="yacylogo"] {
background: transparent;
padding-right: 0px;
}
diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template
index 536b63b68..b6ced3d6d 100644
--- a/htroot/env/templates/header.template
+++ b/htroot/env/templates/header.template
@@ -8,7 +8,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="forceNoExternalIcon navbar-brand" id="navbar-brand" href="/" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
+ <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">&nbsp;Administration
</a>
<form class="navbar-form" method="get" accept-charset="UTF-8" action="/yacysearch.html" style="padding-left:200px;max-width:400px;">
diff --git a/htroot/env/templates/simpleheader.template b/htroot/env/templates/simpleheader.template
index 96835f967..00fb1122a 100644
--- a/htroot/env/templates/simpleheader.template
+++ b/htroot/env/templates/simpleheader.template
@@ -8,7 +8,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="forceNoExternalIcon navbar-brand" id="navbar-brand" href="/" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
+ <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">&nbsp;<span id="greeting"></span>
</a>
</div>
diff --git a/htroot/index.html b/htroot/index.html
index 2560efc8e..fd7fc0b85 100644
--- a/htroot/index.html
+++ b/htroot/index.html
@@ -45,6 +45,9 @@
document.getElementById("navbar-brand").href="#[promoteSearchPageGreeting.homepage]#";
</script>
#(/topmenu)#
+
+ <!-- this is the single exception in page design where we do not want a top-left application icon because we show a big one in the middle of the page -->
+ <script>document.getElementById("greeting-icon").src="/env/grafics/invisible.png"</script>
<h2 class="yacy"><a href="#[promoteSearchPageGreeting.homepage]#" class="yacylogo"><img src="#[promoteSearchPageGreeting.largeImage]#" alt="yacy" style="margin: auto;"/></a></h2>
<h2 class="yacy">#[promoteSearchPageGreeting]#</h2>