-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (35 loc) · 1.14 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="zc.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(fetch("zc.wasm"), go.importObject).then((result) => {
go.run(result.instance);
init();
});
</script>
<meta name="google" content="notranslate">
</head>
<body>
<div id="main">
<div id="output-panel">
<div id="output"></div>
</div>
<div id="popup"></div>
<div id="footer-panel">
<div id="footer">
<label id="prompt" for="single-input">zc ></label>
<input id="input" class="input" type="search" autocorrect="off" autocapitalize="off" autocomplete="new-password"></input>
<textarea id="multi-input" class="hidden" tabindex="search" rows="5" autocorrect="off" autocapitalize="off" autocomplete="new-password"></textarea>
<button id="auto">tab</button>
</div>
</div>
</div>
</div>
</body>
<script src="zc.js"></script>
</html>