-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.html
41 lines (37 loc) · 1.83 KB
/
test.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
41
<!DOCTYPE html>
<html>
<head>
<!-- Origin Trial Token, feature = WebUSB (For Chrome M57+), origin = https://webusb.github.io, expires = 2017-06-19 -->
<meta http-equiv="origin-trial" data-feature="WebUSB (For Chrome M57+)" data-expires="2017-06-19" content="Ag83MurQOa5N4SKRCqqtSlbycfe08s5LgUiqEI7J3jTk2NEIpRp7SLPz2i+EBDuXyf+AeRMdD6BI++kTSJmGzQEAAABReyJvcmlnaW4iOiJodHRwczovL3dlYnVzYi5naXRodWIuaW86NDQzIiwiZmVhdHVyZSI6IldlYlVTQjIiLCJleHBpcnkiOjE0OTc4OTM2OTV9">
<title>Console</title>
<script src="connect.js"></script>
<script src="dashboard.js"></script>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
</head>
<body>
<p>
<button id="connect">Connect</button>
</p>
<div style="float: left">
<div id="terminal" style="position:relative; width:100%; height:100%"></div>
<button name="ls" id="ls">List files</button>
<ul multiple id="files"></ul>
</div>
<div style="float: right">
<button name="install" id="install">Install helper</button> (Connect the device, press reset, then push this when menu is visible. Delete the remote_control app if already present)<br/><hr />
<button name="remote" id="remote">Start remote</button><br/><hr />
<input name="appname" value="rectangles" id="appname" />
<button name="run" id="run">Run</button>
<button name="interrupt" id="interrupt">Interrupt</button>
<hr />
<input name="filename" value="/apps/rectangles/__init__.py" id="filename" />
<button name="save" id="save">Save</button>
<button name="load" id="load">Load</button>
<br />
<textarea name="filecontents" id="filecontents" style="width: 80em; height: 50em;"></textarea><br />
<div>
</body>
</html>