-
Notifications
You must be signed in to change notification settings - Fork 0
/
window.html
101 lines (85 loc) · 3.51 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
<!DOCTYPE html>
<!-- Copyright 2016 Neil Martinsen-Burrell <[email protected]> -->
<!-- This file is part of Specan.chrome. -->
<!-- Specan.chrome is free software: you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation, either version 3 of the License, or -->
<!-- (at your option) any later version. -->
<!-- Specan.chrome is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
<!-- GNU General Public License for more details. -->
<!-- You should have received a copy of the GNU General Public License -->
<!-- along with Specan.chrome. If not, see <http://www.gnu.org/licenses/>. -->
<html>
<head>
<title>Specan.Chrome</title>
<script src="js/main.js"></script>
<!-- Scripts -->
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- Cascading Style Sheets -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Specan.Chrome</a>
</div>
<ul class="nav navbar-nav">
<li><button id="sweep" type="button" class="btn btn-primary navbar-btn">Sweep</button></li>
</ul>
<form class="navbar-form navbar-right">
<fieldset class="form-group">
<label class="control-label" for="serialports">Serial Port</label>
<select id="serialports" class="form-control">
</select>
</fieldset>
<button type="button" class="btn" id="connect">Connect</button>
</form>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-xs-9">
<iframe id="plotly_sandbox" src="plotly_sandbox.html"
width="720" height="600"
style="border:none;" title="Plotly Graphics"></iframe>
</div>
<div class="col-xs-3 bg-info">
<h3>
<small>Power:</small> <span id="power"></span>
</h3>
<form>
<div class="form-group">
<label class="sr-only" for="from_freq">From frequency (in MHz)</label>
<div class="input-group">
<div class="input-group-addon">From:</div>
<input id="from_freq" class="form-control" value=""/>
<div class="input-group-addon">MHz</div>
</div>
</div>
<div class="form-group">
<label class="sr-only" for="to_freq">To frequency (in MHz)</label>
<div class="input-group">
<div class="input-group-addon">To:</div>
<input id="to_freq" class="form-control" value=""/>
<div class="input-group-addon">MHz</div>
</div>
</div>
<div class="form-group">
<label class="sr-only" for="step_size">Step Size (in kHz)</label>
<div class="input-group">
<div class="input-group-addon">Step Size</div>
<input id="step_size" class="form-control" value=""/>
<div class="input-group-addon">kHz</div>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>