Added links to iframed pages to open them in new tabs (as per old console)

This commit is contained in:
str4d
2012-07-12 10:32:00 +00:00
parent 69bcc9d012
commit c6d45b22b6
10 changed files with 30 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Tunnel Manager")%></h1>
<h1><%=intl._("I2P Tunnel Manager")%> <span class="newtab"><a href="/i2ptunnel/" target="_blank" title="<%=intl._("Open in new tab")%>"><img src="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/newtab.png" /></a></span></h1>
<div class="main" id="main">
<iframe src="/i2ptunnel/" width="100%" height="100%" frameborder="0" border="0" name="i2ptunnelframe" id="i2ptunnelframe" onload="setupFrame()" allowtransparency="true">
</iframe>

View File

@@ -33,7 +33,7 @@
<%@include file="summary.jsi" %>
<h1><%=intl._("I2P Torrent Downloader")%></h1>
<h1><%=intl._("I2P Torrent Downloader")%> <span class="newtab"><a href="/i2psnark/" target="_blank" title="<%=intl._("Open in new tab")%>"><img src="<%=intl.getTheme(request.getHeader("User-Agent"))%>images/newtab.png" /></a></span></h1>
<div class="main" id="main">
<iframe src="/i2psnark/" width="100%" height="100%" frameborder="0" border="0" name="i2psnarkframe" id="i2psnarkframe" onload="setupFrame()" allowtransparency="true">
</iframe>

View File

@@ -598,6 +598,13 @@ h1 {
border-radius: 0 3px 0 0;
}
span.newtab {
text-align: right;
font-size: 8pt;
float: right;
letter-spacing: 0;
}
h2 {
font-size: 14pt;
padding: 10px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

View File

@@ -768,6 +768,13 @@ h1 {
box-shadow: 0 1px 5px #000;
}
span.newtab {
text-align: right;
font-size: 8pt;
float: right;
letter-spacing: 0;
}
h2 {
font-size: 12pt;
color: #EE9;

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

View File

@@ -892,6 +892,13 @@ h1 {
min-width: 500px;
}
span.newtab {
text-align: right;
font-size: 8pt;
float: right;
letter-spacing: 0;
}
h2 {
font-size: 13pt;
color: #115;

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

View File

@@ -612,6 +612,13 @@ h1 {
color: #fff;
}
span.newtab {
text-align: right;
font-size: 8pt;
float: right;
letter-spacing: 0;
}
h2 {
font-size: 13pt;
padding: 10px 10px 10px 10px;

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B