From 76eac192272acf77763d0c619cd78118650748cf Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 29 Oct 2019 22:29:22 +0000 Subject: add internal query page for request timeouts --- resources/FatMessages | 9 +++++++++ resources/internal.css | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) (limited to 'resources') diff --git a/resources/FatMessages b/resources/FatMessages index d1ecd9dd1..aa2d7a2d1 100644 --- a/resources/FatMessages +++ b/resources/FatMessages @@ -1087,6 +1087,15 @@ en.all.SSLCertErrRevoked:The certificate has been revoked by the issuer. en.all.SSLCertErrHostnameMismatch:The certificate is for a different host than the server +# Timeout error interface +# ======================= +# +en.all.TimeoutTitle:Connection timed out +en.all.TimeoutDescription: A connection to %s could not be established. The site may be temporarily unavailable or too busy to respond. +en.all.Backtoprevious: Back +en.all.TryAgain: Try Again + + # SSL certificate viewer # ====================== # diff --git a/resources/internal.css b/resources/internal.css index e43d18309..14b47cfa9 100644 --- a/resources/internal.css +++ b/resources/internal.css @@ -343,3 +343,41 @@ body#privacy div#buttons { body#privacy div#buttons input#back { margin-right: 1em; } + +/* + * timeout query styling + */ + +body#timeout { + max-width: 45em; +} + +body#timeout h1 { + padding: 0.8em 0.4em 0.5em 0.4em; + border-bottom: 0.1em solid #444; + margin: 0 0 1.3em 0; + background: #c55; + color: white; +} + +body#timeout form { + /* Just to center the form on the page */ + margin: 0 auto; + /* To see the outline of the form */ + padding: 1em; + border: 1px solid #CCC; + border-radius: 1em; +} + +body#timeout form div + div { + margin-top: 1em; +} + +body#timeout div#buttons { + text-align: right; + margin-right: 1em; +} + +body#timeout div#buttons input#back { + margin-right: 1em; +} -- cgit v1.2.3