-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathwindow.html
128 lines (124 loc) · 5.45 KB
/
window.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="jquery-2.1.4.min.js"></script>
<script src="underscore.js"></script>
<script src="backbone.js"></script>
<script src="main.js"></script>
<script src="connection.js"></script>
<script src="settings.js"></script>
<script src="about.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="wrap">
<h1>Hello, world!</h1>
</div>
<aside id="menu">
<div class="btn btn-fullscreen" title="Fullscreen [F11 or F]"></div>
<div class="btn btn-connection" title="Connection [C]"></div>
<div class="btn btn-settings" title="Settings [F10]"></div>
<div class="btn btn-about" title="About [F1]"></div>
</aside>
<aside id="connection" class="popup">
<table class="form">
<tbody>
<tr>
<th><label for="port">Port:</label></th>
<td>
<select id="port" name="port">
</select>
</td>
</tr>
<tr>
<th><label for="bitrate">Bit Rate:</label></th>
<td>
<select id="bitrate" name="bitrate">
<option value="9600" selected>9600</option>
<option value="19200">19200</option>
<option value="38400">38400</option>
<option value="57600">57600</option>
<option value="115200">115200</option>
</select>
baud
</td>
</tr>
<tr>
<th><label for="dataBits">Data Bits:</label></th>
<td>
<select id="dataBits" name="dataBits">
<option value="seven">Seven</option>
<option value="eight" selected>Eight</option>
</select>
</td>
</tr>
<tr>
<th><label for="parityBit">Parity Bit:</label></th>
<td>
<select id="parityBit" name="parityBit">
<option value="no" selected>No</option>
<option value="odd">Odd</option>
<option value="even">Even</option>
</select>
</td>
</tr>
<tr>
<th><label for="stopBits">Stop Bits:</label></th>
<td>
<select id="stopBits" name="stopBits">
<option value="one" selected>One</option>
<option value="two">Two</option>
</select>
</td>
</tr>
<tr>
<th></th>
<td>
<button id="connect" title="Turn autoconnection on [Space]">Connect</button>
<button id="stop-connection" title="Disconnect and turn autoconnection off [Space]">Stop</button>
</td>
</tr>
</tbody>
</table>
</aside>
<aside id="settings" class="popup">
<table class="form">
<tbody>
<tr>
<th><label for="font-size">Font Size:</label></th>
<td><input id="font-size" type="number" name="font-size" min="1" max="100" value="10"></td>
<td>vw</td>
</tr>
<tr>
<th><label for="text-color">Text Color:</label></th>
<td><input id="text-color" type="color" name="text-color" value="#ffffff"></td>
<td></td>
</tr>
<tr>
<th><label for="bg-color">BG Color:</label></th>
<td><input id="bg-color" type="color" name="bg-color" value="#00979c"></td>
<td></td>
</tr>
<tr>
<th></th>
<td><button id="apply-settings">Apply</button></td>
<td></td>
</tr>
</tbody>
</table>
</aside>
<aside id="about" class="popup">
<p>
Serial Projector is made by <a href="http://amperka.ru" target="_blank">Amperka LLC</a>. From Russia with Love :-*
</p>
<p>
Icons by <a href="http://fortawesome.github.io/Font-Awesome/" target="_blank">Font Awesome</a>.
</p>
<p>
Application is distributed as is without any warranties on terms of MIT License.
<a href="https://github.com/amperka/serial-projector" target="_blank">Source code</a> is available on GitHub.
</p>
</aside>
</body>
</html>