From e75cfd86ad15f899888850111b61bb434a7f2005 Mon Sep 17 00:00:00 2001 From: Joe Bartlett Date: Mon, 27 Nov 2017 22:49:36 -0600 Subject: [PATCH] Add status error message; #11 --- src/styles/global.css | 18 ++++++++++++++++++ src/templates/status.hbs | 6 ++++++ 2 files changed, 24 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index cf00d51..66cc206 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -92,6 +92,24 @@ li { vertical-align: middle; } +.Error { + background: #FAFAFA; + border: 1px solid #EEE; + font-size: 90%; + padding: 0.8rem; + position: relative; + left: -1px; + margin: 0.8rem -0.8rem; +} +.Error, +.Error a { + color: #777; + text-decoration: none; +} +.Error a:after { + display: none; +} + .Notice { margin: 0 auto; padding: 0 2rem 1rem; diff --git a/src/templates/status.hbs b/src/templates/status.hbs index 4bc48c8..e925048 100644 --- a/src/templates/status.hbs +++ b/src/templates/status.hbs @@ -24,6 +24,12 @@ {{/if}} +
+ HTTP Error {{code}}{{#if error}}: + {{{error}}} + {{/if}} +
+

What's next?