diff --git a/static/src/less/style.less b/static/src/less/style.less index 84b520d..92d36b0 100644 --- a/static/src/less/style.less +++ b/static/src/less/style.less @@ -104,4 +104,17 @@ footer { height: 5vh; } } -/* @end 404 */ \ No newline at end of file +/* @end 404 */ + +/* @group no-js */ +.no-js { + .header { + background-color: #232323; + color: white; + } + #ie-scare { + height: 150px; + float: right; + } +} +/* @end no-js*/ \ No newline at end of file diff --git a/templates/core/no-js.html b/templates/core/no-js.html index b1592df..016f0d3 100644 --- a/templates/core/no-js.html +++ b/templates/core/no-js.html @@ -1,20 +1,28 @@ {% extends 'base.html' %} {% load staticfiles %} {% block htmltitle %}Javascript is Disabled!{% endblock %} - +{% block bodyClass %}no-js{% endblock %} {% block content %} -

Javascript is disabled!

-
-

You appear to have javascript disabled. For my site to function properly, javascript must be enabled! The javascript is used to dynamically change the webpage on your device. Without them then the site will break, cause a tonne of errors, and not look right, all of which aren't very nice, for you or me.

-

The javascript on this page won't damage your computer in any way, and has been written entirely by me, or has used trusted and open-source 3rd-party libraries. You can trust this site! Re-enabling the javascript functions inside your browser is very easy, and helpful tutorials can be found below!

+
+
+

You have Javascript is disabled!

+
+
+
+

+ You appear to have javascript disabled. For my site to function properly, javascript must be enabled! The javascript is used to dynamically change the webpage on your device. Without them then the site will break, cause a tonne of errors, and not look right, all of which aren't very nice, for you or me. +

+

+ The javascript on this page won't damage your computer in any way, and has been written entirely by me, or has used trusted and open-source 3rd-party libraries. You can trust this site! Re-enabling the javascript functions inside your browser is very easy, and helpful tutorials can be found below! +

Re-enabling Javascript in your browser

-
+

Re-enabling in Firefox

-
+
  1. Navigate to 'about:config', using the browsers address bar.
  2. Accept the security warning, and notice that no dragons lie ahead.
  3. @@ -25,11 +33,11 @@
-
+

Re-enabling in Chrome

-
+
  1. Click the Chrome menu icon () in the top right hand corder of the window.
  2. Click 'Settings'.
  3. @@ -39,12 +47,12 @@
-
+

Re-enabling in Internet Explorer

- -
+
+
  1. Select the gear icon in the top right hand corner , and click 'Internet Options'.
  2. Select Security > Internet > Custom Level.
  3. @@ -57,9 +65,9 @@
-

- After enabling javascript, the page should automatically redirect to the homepage. If it doesn't, just refresh the page, or Click here. -

+
+ After enabling javascript, the page should automatically redirect to the homepage. If it doesn't, just refresh the page, or Click here to return home. +
{% endblock%} \ No newline at end of file