From f2085ec0f2d72b359417a2e09ddd9123e41299c6 Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Fri, 26 Nov 2021 14:19:53 -0700 Subject: [PATCH] Add noscript message --- public/stylesheets/style.css | 7 +++++++ views/layout.pug | 2 ++ 2 files changed, 9 insertions(+) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 5ba6ad5..c4252bd 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -47,4 +47,11 @@ input { #logout-button { margin-left: 0.5em; +} + +#noscript-message { + background-color: lightcoral; + padding: 1em; + margin-bottom: 3em; + border-radius: .25em; } \ No newline at end of file diff --git a/views/layout.pug b/views/layout.pug index 11fb12b..80d0238 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -7,6 +7,8 @@ html block stylesheets body div#mobile-view + noscript + span#noscript-message Please enable JavaScript to run this app. div#actions-div if !hideHomeButton button#home-button Home