forked from liriliri/chii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
34 lines (34 loc) · 1.35 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="manifest.json" />
<link rel="icon" sizes="48x48" href="favicon.ico" />
<link rel="stylesheet" href="style.css" />
<title>Chii</title>
<script src="demo.js"></script>
</head>
<body onload="onLoad()">
<header class="header">
<canvas id="c"></canvas>
<h1 class="title">Chii</h1>
<h2 class="subtitle">Remote Debugging Tool</h2>
</header>
<svg id="triangle" width="800" height="70" viewBox="0,0,80,5" preserveAspectRatio="none">
<polygon points="0,0 0,5 80,5 80,0 60,5 20,5" style="fill: #fff"></polygon>
</svg>
<p class="github-link">View it on <a href="https://github.com/liriliri/chii">GitHub</a></p>
<p class="hint">
Open index page to inspect this page! <br /><br />
Also scan the qrcode below to test it on your phone.
</p>
<div class="qrcode"><img src="https://res.liriliri.io/chii/qrcode.png" /></div>
<ul class="buttons">
<li id="start-btn" class="yellow" ontouchstart>Start Stuff</li>
<li id="clear-btn" class="red" ontouchstart>Clear Output</li>
<li id="error-btn" class="green" ontouchstart onclick="triggerError()">Trigger Error</li>
</ul>
<div id="output"></div>
</body>
</html>