lock out IE ... (#410)

* lock out IE

* add new line

* add styling
This commit is contained in:
redPanther 2017-03-02 10:50:47 +01:00 committed by GitHub
parent 7207756978
commit 976dd7873f
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<html>
<head>
<title>Hyperion WebUI - IE not supported</title>
<meta content="">
<style> body {margin:auto; padding:2%; text-align:center; font-family:arial;}</style>
</head>
<body>
<img src="../img/hyperion/hyperionlogo.png" alt="Redefine ambient light!" style="margin-bottom:20px;">
<h2><span style="color:red">We are sorry, Internet Explorer is not supported!</span><br /><br /> Please use recent versions of Firefox, Chrome, Safari or MS Edge.</h2>
</body>
</html>

View File

@ -2,6 +2,13 @@
<html>
<head>
<script>
if (/MSIE/.test(navigator.userAgent) || /Trident/.test(navigator.userAgent))
{
window.location.pathname = '/content/ie_not_supported.html';
}
</script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />