wasm-rdp/frontend/static/index.html
2021-11-04 00:03:35 +08:00

55 lines
870 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Web Gateway</title>
<style type="text/css">
.navbar {
width: 100%;
height: 20px;
background-color: #66ccff;
}
.navbar .navbar-item {
margin: auto;
position: relative;
padding: 40px;
}
.horizontal-centre {
position: relative;
text-align: center;
}
.vertical-centre {
position: relative;
vertical-align: middle;
}
html,
body {
height: 100%;
margin: 0;
}
.content {
min-height: calc(100% - 58px - 40px);
}
.footer {
height: 58px;
}
</style>
<script type="module" defer>
import init from "/static/wasm.js";
import { run_app } from "/static/wasm.js";
await init();
await run_app();
</script>
</head>
<body>
</body>
</html>