diff --git a/content/netError.xhtml b/content/netError.xhtml index 07946af..d691d3b 100644 --- a/content/netError.xhtml +++ b/content/netError.xhtml @@ -203,6 +203,8 @@ document.getElementById("errorTryAgain").style.display = "none"; document.getElementById("errorPageContainer").setAttribute("class", "certerror"); addDomainErrorLink(); + // Also, remove resurrect buttons, they're not likely to help either. + document.body.className=''; } else { // Remove the override block for non-certificate errors. CSS-hiding @@ -275,7 +277,7 @@ ]]> - + diff --git a/install.rdf b/install.rdf index 6fd9f57..38b51fc 100644 --- a/install.rdf +++ b/install.rdf @@ -3,7 +3,7 @@ {0c8fbd76-bdeb-4c52-9b24-d587ce7b9dc3} Resurrect Pages - 2.0.1 + 2.0.2 Resurrect dead pages, by finding their ghosts. http://trac.arantius.com/wiki/Extensions/Resurrect diff --git a/skin/netError.css b/skin/netError.css index e25e0d6..e0ce92b 100644 --- a/skin/netError.css +++ b/skin/netError.css @@ -1,9 +1,14 @@ -div#errorPageContainer { +body.resurrect div#errorPageContainer { padding-right: 18em; max-width: 45em; } fieldset#resurrect { + display: none; +} +body.resurrect fieldset#resurrect { + display: block; + position: absolute; top: 0; right: 0; @@ -18,11 +23,11 @@ fieldset#resurrect { -moz-border-radius: 10px; } -fieldset#resurrect legend img { +body.resurrect fieldset#resurrect legend img { vertical-align: middle; padding-right: 0.25em; } -fieldset#resurrect button { +body.resurrect fieldset#resurrect button { width: 14em; }