From dedb8c70d5959054849227f76b28dc8aeea910d3 Mon Sep 17 00:00:00 2001 From: nek0 Date: Sat, 3 Dec 2016 22:07:17 +0100 Subject: [PATCH] warning box for javascript --- static/css/main.css | 6 ++++++ templates/activate.hamlet | 2 +- templates/login.hamlet | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index 511d18c..3be4dcb 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -201,6 +201,12 @@ ul, ol { display: none; } +.redbox { + padding: 1em; + border-radius: 5px; + background-color: red; +} + @media (max-width: 755px) { #main { margin-top: 120px; diff --git a/templates/activate.hamlet b/templates/activate.hamlet index 8feaf38..6261fe6 100755 --- a/templates/activate.hamlet +++ b/templates/activate.hamlet @@ -1,6 +1,6 @@ $newline always
-
You need to have Javascript enabled
+
You need to have Javascript enabled

Activate your account
diff --git a/templates/login.hamlet b/templates/login.hamlet index 9e8b594..42b6726 100755 --- a/templates/login.hamlet +++ b/templates/login.hamlet @@ -1,6 +1,6 @@ $newline always
-
Please enable Javascript to log in
+
Please enable Javascript to log in

Login