diff options
| author | Marc Nause <marc.nause@audioattack.de> | 2013-07-30 21:40:37 +0200 |
|---|---|---|
| committer | Marc Nause <marc.nause@audioattack.de> | 2013-07-30 21:40:37 +0200 |
| commit | 112836dcc9bfd3966a81f2a6160569e69a256a40 (patch) | |
| tree | b432afd7e5e54528c1fe4abf97742348a28a689f /htroot | |
| parent | d64a094f0e67bf3168f424494183d29b24e2f324 (diff) | |
Improved external links.
*) image links will not be marked (if they have class "yacylogo" or
"forceNoExternalIcon")
*) external links in menu on left (and "fork me"-banner) will open in
new tab/window now
Diffstat (limited to 'htroot')
| -rw-r--r-- | htroot/Status.html | 2 | ||||
| -rw-r--r-- | htroot/env/base.css | 8 | ||||
| -rw-r--r-- | htroot/env/templates/header.template | 14 |
3 files changed, 10 insertions, 14 deletions
diff --git a/htroot/Status.html b/htroot/Status.html index d6262629a..a8667a2b5 100644 --- a/htroot/Status.html +++ b/htroot/Status.html @@ -28,7 +28,7 @@ <body onload="init();">
#%env/templates/header.template%#
#%env/templates/submenuConfig.template%#
-<a href="https://gitorious.org/yacy/rc1"><img src="env/grafics/forkme.png" style="position:absolute;top:0px;right:0px;z-index: 100;"/></a>
+ <a href="https://gitorious.org/yacy/rc1" target="_blank" class="forceNoExternalIcon"><img src="env/grafics/forkme.png" style="position:absolute;top:0px;right:0px;z-index: 100;"/></a>
#(showPrivateTable)#
<div class="SubMenu">
diff --git a/htroot/env/base.css b/htroot/env/base.css index cb546d6f2..b18f7cc0e 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -93,16 +93,12 @@ a[href^="http://"], a[href^="https://"] { padding-right: 14px; } -/* exception for links to yacy.net and search results */ -a[href^="http://yacy.net"], a[target="_self"] { +/* exception for links in search results and image links */ +a[target="_self"], a[class="forceNoExternalIcon"], a[class="yacylogo"] { background: transparent; padding-right: 0px; } -img { - border:0; -} - td { padding:1px 2px; } diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index 262696e4e..f5e92cb41 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -59,13 +59,13 @@ <li class="menugroup" id="menugroupTheProjekt">
<h3>The YaCy Project</h3>
<ul class="menu">
- <li><a href="http://www.yacy.net/" class="MenuItemLink">Project Home</a></li>
- <li><a href="/Help.html" class="MenuItemLink">Tutorials</a></li>
- <li><a href="http://forum.yacy.de" class="MenuItemLink">Forum/Discussion</a></li>
- <li><a href="http://wiki.yacy.de" class="MenuItemLink">Project Wiki</a></li>
- <li><a href="https://gitorious.org/yacy/rc1/commits/master" class="MenuItemLink">Git Repository</a></li>
- <li><a href="http://bugs.yacy.net" class="MenuItemLink">Bugtracker</a></li>
- <li><a href="#(newpeer)#http://www.yacystats.de/peer/#[peerhash]#::http://www.yacystats.de#(/newpeer)#" class="MenuItemLink">#(newpeer)#Peer Statistics::YaCy Statistics#(/newpeer)#</a></li>
+ <li><a href="http://www.yacy.net/" target="_blank" class="MenuItemLink">Project Home</a></li>
+ <li><a href="/Help.html" target="_blank" class="MenuItemLink">Tutorials</a></li>
+ <li><a href="http://forum.yacy.de" target="_blank" class="MenuItemLink">Forum/Discussion</a></li>
+ <li><a href="http://wiki.yacy.de" target="_blank" class="MenuItemLink">Project Wiki</a></li>
+ <li><a href="https://gitorious.org/yacy/rc1/commits/master" target="_blank" class="MenuItemLink">Git Repository</a></li>
+ <li><a href="http://bugs.yacy.net" target="_blank" class="MenuItemLink">Bugtracker</a></li>
+ <li><a href="#(newpeer)#http://www.yacystats.de/peer/#[peerhash]#::http://www.yacystats.de#(/newpeer)#" target="_blank" class="MenuItemLink">#(newpeer)#Peer Statistics::YaCy Statistics#(/newpeer)#</a></li>
</ul>
</li>
</ul>
|
