-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
99 lines (97 loc) · 5.74 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="index.css">
<script src="sha1.js"></script>
<script src="messages.js"></script>
<script src="http.js"></script>
<script src="index.js"></script>
<script src="parser.js"></script>
<script src="port.js"> </script>
<script src="serial.js"></script>
<script src="wx.js"></script>
<script src="loader.js"></script>
</head>
<body>
<div id='settings-pane'>
<div id="port-path-tab" class="tab-selected tab-left"><a id='ppt'>Connection</a></div>
<div id="sep-left" style="position:absolute;top:-1px;left:142px;"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="27"><path d="M0,0 L13,0 13,27 A6,6,0,0,1,7,21 L7,6 A6,6,0,0,0,0,1 Z" style="stroke-width:0;fill:rgba(0,0,0,.15);"/></svg></div>
<div id="sep-right" style="position:absolute;top:-1px;left:154px;visibility:hidden;"><svg xmlns="http://www.w3.org/2000/svg" width="13" height="27"><path d="M13,0 L0,0 0,27 A6,6,0,0,0,6,21 L6,6 A6,6,0,0,1,13,1 Z" style="stroke-width:0;fill:rgba(0,0,0,.15);"/></svg></div>
<div id="cor-left" style="position:absolute;top:20px;left:0px;"><svg xmlns="http://www.w3.org/2000/svg" width="6" height="6"><path d="M0,0 L5,0 A7,7,0,0,0,0,5 Z" style="stroke-width:0;fill:rgba(0,0,0,.15);"/></svg></div>
<div id="cor-right" style="position:absolute;top:20px;left:305px;"><svg xmlns="http://www.w3.org/2000/svg" width="6" height="6"><path d="M5,0 L0,0 A7,7,0,0,1,5,5 Z" style="stroke-width:0;fill:rgba(0,0,0,.15);"/></svg></div>
<div id="wx-module-tab" class="tab-unselect tab-right"><a id='wmt'>WX Modules</a></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td colspan="2" class="folder-page">
<table border="0" cellpadding="1" cellspacing="0" id="port-path-settings" class='pane-table'>
<tr>
<td>Path/IP Address:</td>
<td><input type="text" id="bpc-url" class="con" style="width:150px;"/></td>
<td rowspan="2"><button id='refresh-connection' style="width:24px;">↻</button></td>
</tr>
<tr>
<td>Port:</td>
<td><input type="text" id="bpc-port" class="con" style="width:150px;"/></td>
</tr>
<tr>
<td>Verbose Logging:</td>
<td colspan="2"><input type="checkbox" id="verbose-logging"/></td>
</tr>
<tr>
<td colspan="3"><div id="log" class="con"></div></td>
</tr>
</table>
<table id="wx-module-settings" border="0" cellpadding="1" cellspacing="0" style="visibility:hidden;" class='pane-table'>
<tr>
<td>Enable WX Modules:</td>
<td><input type="checkbox" id="wx-allow"/></td>
</tr>
<tr>
<td>Subnet Mask:</td>
<td>
<div>
<span id="netmask">
<input type="text" id="sm0" class="con" style="width:18px;" value="255"/>.
<input type="text" id="sm1" class="con" style="width:18px;" value="255"/>.
<input type="text" id="sm2" class="con" style="width:18px;" value="255"/>.
<input type="text" id="sm3" class="con" style="width:18px;" value="0"/>
</span>
</div>
</tr>
<tr>
<td colspan="2">WX modules:</td>
</tr>
<tr>
<td colspan="2" id="wx-list" class="con"></td>
</tr>
</table>
</td></tr>
</table>
</div>
<div style="top:95px;" class="button-label">
Open Browser:
</div>
<div style="position:absolute; top:125px; left:325px;">
<button id="open-blocklypropsolo" class="button button-open">BlocklyProp Solo<span class="tooltip">No login required</span></button>
</div>
<div style="top:195px;" class="button-label">
Status:
</div>
<div style="position:absolute; top:225px; left:325px;">
<div>
<span id="sys-connected" class="status status-green" style="opacity:0.0;">✔ Connected</span>
<span id="sys-waiting" class="status status-clear" style="opacity:1.0; position:absolute; top: 0px; left: 0px;">Waiting to<br>connect...<span class="tooltip">To connect:<br>Open browser to desired<br>site, then navigate to<br>View/Edit project code</span></span>
</div>
</div>
<div style="position:absolute; top:377px; left:149px;">
<span id="for-os" class="os">for Windows</span>
</div>
<div style="position:absolute; top:356px; left:262px;">
<span id="version-text" class="version">v0.0.0</span>
</div>
<div style="position:absolute; top:350px; left:435px;">
<button id="open-settings" class="button settings">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-100 -350 1650 1700" width="20" height="20" style="fill:#ddd;"><path d="m1024 640q0 106-75 181-75 75-181 75-106 0-181-75-75-75-75-181 0-106 75-181 75-75 181-75 106 0 181 75 75 75 75 181zm512 109V527q0-12-8-23-8-11-20-13l-185-28q-19-54-39-91 35-50 107-138 10-12 10-25 0-13-9-23-27-37-99-108-72-71-94-71-12 0-26 9l-138 108q-44-23-91-38-16-136-29-186-7-28-36-28H657q-14 0-24 9Q622-111 621-98L593 86q-49 16-90 37L362 16Q352 7 337 7 323 7 312 18 186 132 147 186q-7 10-7 23 0 12 8 23 15 21 51 67 36 46 54 71-27 50-41 99L29 495Q16 497 8 508 0 518 0 531v222q0 12 8 23 8 11 19 13l186 28q14 46 39 92-40 57-107 138-10 12-10 24 0 10 9 23 26 36 99 108 73 72 95 72 13 0 26-10l138-107q44 23 91 38 16 136 29 186 7 28 36 28h222q14 0 25-8Q914 1391 915 1378l28-184q49-16 90-37l142 107q9 9 24 9 13 0 25-10 129-119 165-170 7-8 7-22 0-12-8-23-15-21-51-66-36-45-54-70 26-50 41-98l183-28q13-2 21-12 8-10 8-23z"/></svg>
</button>
</div>
</body>
</html>