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>_("Website Unreachable")</title>
<title>_("Website Unreachable")</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,9 @@ Proxy-Connection: close
<p>
_("The website was not reachable, because its lease set was not found.")
_("The website is probably down, but there could also be network congestion.")
_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</p>
<span class="script">_("You may want to {0}retry{1}.", "<a href=\"javascript:window.location.reload()\">", "</a>")</span>
<noscript>_("You may want to retry.")</noscript></p>
</p>
<hr>
<p><b>_("Could not find the following destination:")</b>
</p>