forked from fyears/electron-python-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (58 loc) · 1.93 KB
/
Copy pathindex.html
File metadata and controls
74 lines (58 loc) · 1.93 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Main Window</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css" />
<!-- Bootstrap Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script>let $ = require('jquery');</script>
<script>require('popper.js');</script>
<script>require('bootstrap');</script>
<meta charset="UTF-8">
<title>Hello CanBus</title>
</head>
<body>
<div class="container">
<div class="row">
<h1>ION Desk</h1>
</div>
<div class="row">
<form>
<div class="form-group">
<label for="interface-select">Choose a CAN Bus interface:</label>
<select class="form-control" id="interface-select">
<option value="pcan">PeakCan</option>
<option value="slcan">Sl-Can</option>
<option value="socketcan">SocketCan</option>*
<option value="virtual">Virtual</option>
</select>
<label for="baudrate-select">Choose Baudrate</label>
<select class="form-control" id="baudrate-select">
<option value="500000">500 kb/s</option>
<option value="250000">250 kb/s</option>*
<option value="125000">125 kb/s</option>
</select>
<label for="can-id-type">Choose Can ID type</label>
<select class="form-control" id="can-id-type">
<option value="extended">Extended</option>
<option value="short">Short</option>*
</select>
</div>
<div class="form-group">
<button class="btn btn-primary btn-lg" id="init_can" type="button">
Connect to Can
</button>
</div>
<div class="form-group" id="result"></div>
</form>
<div class="row">
<table id="example" class="display dataTable"></table>
</div>
</div>
</div>
</body>
<script>
require('./renderer.js');
</script>
</html>