Added noscript page and redirect

This commit is contained in:
Jelle Z 2018-01-04 19:37:40 +01:00 committed by Jeremy Zhang
parent fef0ce3b0b
commit 727aa17e12
2 changed files with 49 additions and 1 deletions

View File

@ -8,6 +8,11 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/solarized-dark.min.css" integrity="sha256-90Y+fvi28WF+3jKH4tHEkoQ9WLeFKJjpvCPNOtU9ZvU=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/solarized-dark.min.css" integrity="sha256-90Y+fvi28WF+3jKH4tHEkoQ9WLeFKJjpvCPNOtU9ZvU=" crossorigin="anonymous" />
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/embedstyle.css') }}"> <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/embedstyle.css') }}">
<link id="css-theme" type="text/css" rel="stylesheet" href=""> <link id="css-theme" type="text/css" rel="stylesheet" href="">
<!--Check whether JavaScript is enabled, otherwise redirect to error page-->
<noscript>
<meta http-equiv="refresh" content="0; URL=noscript.html">
</noscript>
<!--Let browser know website is optimized for mobile--> <!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
@ -381,4 +386,4 @@
} }
</script> </script>
</body> </body>
</html> </html>

File diff suppressed because one or more lines are too long