diff --git a/site/static/error.html b/site/static/error.html index 405ee59d48..af723ebcd1 100644 --- a/site/static/error.html +++ b/site/static/error.html @@ -1,187 +1,179 @@ {{/* - This template is used by application handlers to render friendly error pages - when there is a proxy error (for example, when the target app isn't running). + This template is used by application handlers to render friendly error pages + when there is a proxy error (for example, when the target app isn't running). - Since it is served from subdomains, both on proxies and the primary, it MUST - NOT access any external resources. It must be entirely self-contained. This - includes anything in `/static` or `/icon`, as these are not served from - subdomains. + Since it is served from subdomains, both on proxies and the primary, it MUST + NOT access any external resources. It must be entirely self-contained. This + includes anything in `/static` or `/icon`, as these are not served from + subdomains. */}} - - - - - - {{- if not .Error.HideStatus }}{{ .Error.Status }} - {{end}}{{ - .Error.Title }} - - - - -
- {{/* - DO NOT LOAD AN EXTERNAL IMAGE HERE. See the comment at the top of - this file for more details. - */}} - - - + .warning-title h3 { + margin-left: 12px; + font-size: 16px; + font-weight: 500; + color: white; + } -

- {{- if not .Error.HideStatus }}{{ .Error.Status }} - {{end}}{{ - .Error.Title }} -

- {{- if .Error.RenderDescriptionMarkdown }} {{ .ErrorDescriptionHTML }} {{ - else }} -

{{ .Error.Description }}

- {{ end }} {{- if .Error.AdditionalInfo }} -
-

{{ .Error.AdditionalInfo }}

- {{ end }} {{- if .Error.Warnings }} -
-
- -

Warnings

-
- -
- {{ end }} -
- {{- if and .Error.AdditionalButtonText .Error.AdditionalButtonLink }} - {{ .Error.AdditionalButtonText }} - {{ end }} {{- if .Error.RetryEnabled }} - - {{ end }} - Back to site -
-
- + .warning li { + padding-top: 10px; + margin-left: 30px; + } + + + + +
+
+ {{/* + DO NOT LOAD AN EXTERNAL IMAGE HERE. See the comment at the top of + this file for more details. + */}} + + + + +

+ {{- if not .Error.HideStatus }}{{ .Error.Status }} - {{end}}{{ + .Error.Title }} +

+ {{- if .Error.RenderDescriptionMarkdown }} {{ .ErrorDescriptionHTML }} {{ + else }} +

{{ .Error.Description }}

+ {{ end }} {{- if .Error.AdditionalInfo }} +
+

{{ .Error.AdditionalInfo }}

+ {{ end }} +
+ + {{- if .Error.Warnings }} +
+
+ +

Warnings

+
+ +
+ {{ end }} +
+ {{- if and .Error.AdditionalButtonText .Error.AdditionalButtonLink }} + {{ .Error.AdditionalButtonText }} + {{ end }} {{- if .Error.RetryEnabled }} + + {{ end }} + Back to site +
+
+