-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathindex.html
More file actions
21 lines (19 loc) · 821 Bytes
/
index.html
File metadata and controls
21 lines (19 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<title>DPaint JS</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no" />
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#282A2C">
<link rel="icon" type="image/x-icon" href="_img/favicon.ico">
<link rel="stylesheet" href="_style/main.css">
<script type="module" src="_script/app.js"></script>
</head>
<body>
<script>
if (window.location.protocol==="file:"){
document.body.innerHTML = "<h1 class='error'>You have opened index.html from your file system. This won't work, please serve this file from a (local) webserver.<br><br><a href='https://www.stef.be/dpaint/docs/'>Documentation</a></h1";
}
</script>
</body>
</html>