mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-22 09:14:38 -04:00
- do not show external link icon on navbar icon
- do not show navbar icon on index.html
This commit is contained in:
htroot
2
htroot/env/base.css
vendored
2
htroot/env/base.css
vendored
@ -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;
|
||||
}
|
||||
|
2
htroot/env/templates/header.template
vendored
2
htroot/env/templates/header.template
vendored
@ -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"> Administration
|
||||
</a>
|
||||
<form class="navbar-form" method="get" accept-charset="UTF-8" action="/yacysearch.html" style="padding-left:200px;max-width:400px;">
|
||||
|
2
htroot/env/templates/simpleheader.template
vendored
2
htroot/env/templates/simpleheader.template
vendored
@ -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"> <span id="greeting"></span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user