Add missing shell file
This commit is contained in:
parent
257989f3f2
commit
b996c7a1e4
1 changed files with 44 additions and 0 deletions
44
platforms/web/shell.html
Normal file
44
platforms/web/shell.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<link rel="shortcut icon" href="#" />
|
||||
<title>Hello Triangle</title>
|
||||
<style>
|
||||
body {
|
||||
background: #333;
|
||||
font-family: "Verdana", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#canvas {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
border: none;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
|
||||
<script>
|
||||
var Module = {
|
||||
canvas: (function () {
|
||||
return document.getElementById("canvas");
|
||||
})()
|
||||
};
|
||||
</script>
|
||||
{{{ SCRIPT }}}
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in a new issue