sockscape/client/error.html

98 lines
2.7 KiB
HTML
Raw Normal View History

2017-04-18 04:59:38 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Runtime Error</title>
2017-04-18 04:59:38 +00:00
<meta charset="UTF-8" />
<style type="text/css">
body {
font-family: Arial, Helvetica, sans-serif;
background: #eee;
width: 100vw;
}
a {
text-decoration: none;
font-weight: bold;
color: #00b;
}
a:visited {
color: #00b;
}
a:hover {
font-style: italic;
}
#content {
width: 25%;
min-width: 300px;
max-width: 600px;
margin: 0 auto;
padding: 30px 0;
}
ul {
list-style: none;
padding: 0;
}
li {
padding-left: 16px;
}
li:before {
padding-right: 8px;
font-weight: bold;
}
.check:before {
color: #060;
content: "✔";
}
.cross:before {
color: #600;
content: "✖";
font-style: initial !important;
}
.cross {
font-weight: bold;
font-style: italic;
}
</style>
<script type="text/javascript">
window.onload = function() {
var url = window.location.href;
url = url.substr(url.lastIndexOf("?") + 1);
var features = url.split("&")[0].split("=")[1];
for(var i = 1; i <= features.length; ++i)
document.getElementById("supchk"+ i).className = features[i-1] == "1" ? "mark check" : "mark cross";
}
</script>
2017-04-18 04:59:38 +00:00
</head>
<body>
<div id="content">
<h2>
Your browser does not support the required features to run this application.
</h2>
<p>
The required features are:
<ul>
2017-04-19 21:05:28 +00:00
<li id="supchk1" class="cross">Animation Frames</li>
<li id="supchk2" class="cross">Canvas</li>
<li id="supchk3" class="cross">WebGL</li>
<li id="supchk4" class="cross">IndexedDB</li>
</ul>
</p>
<p>
Please upgrade your browser to the most recent version or install a modern browser,
such as <a href="https://www.mozilla.org">Mozilla Firefox</a> or <a href="https://www.google.com/chrome/">Google Chrome</a>.
</p>
</div>
2017-04-18 04:59:38 +00:00
</body>
</html>