1
Fork 0

remove no js page

This commit is contained in:
Jake Howard 2016-08-26 17:10:57 +01:00
parent 62b168d84f
commit 7bc838c559
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 0 additions and 92 deletions

View file

@ -1,65 +0,0 @@
<head>
<meta name="slug" content="no-js" />
<meta name="title" content="Javascript is disabled" />
<meta name="template" content="page-no-js">
</head>
<body>
<div class="jumbotron header">
<div class="container">
<h1>You have Javascript is disabled!</h1>
</div>
</div>
<div class="container message">
<p>
You appear to have javascript disabled. For my site to function properly, javascript must be enabled. To re-enable javascript, simply follow the instructions below.
</p>
<p>
After enabling javascript, the page should automatically redirect to the homepage. If it doesn't, just refresh the page, or <a href="/">Click here</a> to return home.
</p>
</div>
<div class="container">
<h2>Re-enabling Javascript in your browser</h2>
<div class="panel panel-primary" id="enable-firefox">
<div class="panel-heading">
<h3 class="panel-title">Re-enabling in Firefox</h3>
</div>
<div class="panel-body">
<ol>
<li>Navigate to 'about:config', using the browsers address bar.</li>
<li>Accept the security warning, and notice that no dragons lie ahead.</li>
<li>In the search bar, enter 'javascript'</li>
<li>Find the entry 'Javascript.enabled' (possibly using <kbd>ctrl + F</kbd>)</li>
<li>Toggle the entry by either double-clicking the entry, or right-clicking and selecting 'Toggle'.</li>
</ol>
</div>
</div>
<div class="panel panel-green" id="enable-chrome">
<div class="panel-heading">
<h3 class="panel-title">Re-enabling in Chrome</h3>
</div>
<div class="panel-body">
<ol>
<li>Click the Chrome menu icon (<i class="fa fa-bars"></i>) in the top right hand corder of the window.</li>
<li>Click 'Settings'.</li>
<li>Under the 'Privacy' section, select 'Content settings'.</li>
<li>Under 'Javascript', select 'Allow all sites to run Javascript (Recommended)'.</li>
</ol>
</div>
</div>
<div class="panel panel-blue" id="enable-ie">
<div class="panel-heading">
<h3 class="panel-title">Re-enabling in Internet Explorer</h3>
</div>
<div class="panel-body">
<ol>
<li>Select the gear icon in the top right hand corner (<i class="fa fa-cog"></i>), and click 'Internet Options'.</li>
<li>Select Security > Internet > Custom Level.</li>
<li>Scroll down until you find 'Scripting', and select 'Enable'</li>
</ol>
</div>
</div>
</div>
<script>window.location.href=location.href.replace('/no-js', '');</script>
</body>

View file

@ -32,10 +32,5 @@
<script src="/static/js/jquery.js" type="text/javascript"></script> <script src="/static/js/jquery.js" type="text/javascript"></script>
<script src="/static/js/libs.js" type="text/javascript"></script> <script src="/static/js/libs.js" type="text/javascript"></script>
<script src="/static/js/app.js" type="text/javascript"></script> <script src="/static/js/app.js" type="text/javascript"></script>
<noscript>
<style>html, body { display: none }</style>
<meta http-equiv="refresh" content="0.0;url=/no-js/" />
</noscript>
</body> </body>
</html> </html>

View file

@ -1,22 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Language" content="en" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width" />
<link rel="alternate" type="application/atom+xml" href="/feed.atom" />
{{ page.metatags }}
<title>{{ page.title }} - {{ SITENAME }}</title>
<link rel="stylesheet" href="/static/css/index.css" type="text/css" />
<link rel="shortcut icon" href="/static/img/logo-transparent.png" type="image/png" />
</head>
<body>
{{ page.content }}
{% include "extras/footer.html" %}
</body>
</html>