forked from makepad/makepad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (40 loc) · 1.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Cache-Control" content="no-cache">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title>Makepad</title>
<script type='text/javascript' src='render/src/cx_webgl.js'></script>
<style>
* {
user-select: none;
}
html, body {
overflow: hidden;
background-color: #000;
}
body {
margin: 0;
position: fixed;
width: 100%;
height: 100%;
}
canvas {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<canvas class='cx_webgl' fullpage="true" wasm="target/wasm32-unknown-unknown/release/makepad_wasm.wasm"></canvas>
<div class='cx_webgl_loader' style='margin:0;overflow:hidden;top:0;left:0;width:100%;height:100%;position:fixed;background-color:rgba(30,30,30,1.0);color:#666;'>
<div style='margin:0;background-color:#333;color:#777;font-family:sans-serif;font-size:11px;padding-left:15px;padding-top:12px;width:100%;height:25px;'>
Makepad is loading
</div>
</div>
</body>
</html>