Hide JS links on proxy pages when JS disabled

This commit is contained in:
str4d
2016-07-24 11:45:07 +00:00
parent e8e42a0b9d
commit 01902de200
8 changed files with 41 additions and 18 deletions

View File

@@ -6,7 +6,8 @@ Proxy-Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>_("Connection Reset")</title>
<title>_("Connection Reset")</title>
<noscript><style>.script {display: none;}</style></noscript>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head>
@@ -20,7 +21,10 @@ Proxy-Connection: close
<p>
_("The connection to the proxy was reset.")
_("The proxy could be temporarily unavailable, too busy, or it has blocked your access.")
_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"javascript:parent.window.location.reload()\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnel/index.jsp\">", "</a>")
<span class="script">_("You may want to {0}retry{1} as this will randomly reselect an outproxy from the pool you have defined {2}here{3} (if you have more than one configured).", "<a href=\"javascript:parent.window.location.reload()\">", "</a>", "<a href=\"http://127.0.0.1:7657/i2ptunnel/index.jsp\">", "</a>")</span>
<noscript>_("You may want to retry as this will randomly reselect an outproxy from the pool you have defined {0}here{1} (if you have more than one configured).", "<a href=\"http://127.0.0.1:7657/i2ptunnel/index.jsp\">", "</a>")</noscript>
_("If you continue to have trouble you may want to edit your outproxy list {0}here{1}.", "<a href=\"http://127.0.0.1:7657/i2ptunnel/edit.jsp?tunnel=0\">", "</a>")
</p>
<hr><p><b>_("Could not find the following destination:")</b></p>
<hr>
<p><b>_("Could not find the following destination:")</b>
</p>