forked from LWDevGit/serialAssist-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (92 loc) · 3.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="static/favicon.ico">
<title>Serial Assist 1.0.8</title>
<script src="./public/js/flexible.js"></script>
<link rel="stylesheet" href="./public/css/bootstrap.min.css">
<link rel="stylesheet" href="./public/css/index.css">
</head>
<body>
<div class="body-box">
<div class="tool-bar">
<div class="select-data">
<div class="form-group">
<label for="disabledSelect">选择串口</label>
<select id="disabledSelect" class="form-control com">
</select>
</div>
<div class="form-group">
<label for="baudRate">波特率</label>
<!--<input type="text" class="form-control" id="BaudRate" value="9600">-->
<select id="baudRate" class="form-control rate">
</select>
</div>
<!--<div class="form-group">
<label for="parity">校验位</label>
<select id="parity" class="form-control parityValue"></select>
</div>
<div class="form-group">
<label for="dataBits">数据位</label>
<select id="dataBits" class="form-control dataBitsValue"></select>
</div>-->
</div>
<div class="submit-data">
<button class="btn btn-primary btn-block btn-submit">打开</button>
<button class="btn btn-danger btn-block btn-cancle">关闭</button>
</div>
</div>
<div class="content-box">
<div class="receive-box">
<div class="send-header">
<label>接收数据</label>
<label>
<input type="checkbox" value="" id="auto-wrap">
自动换行
</label>
<label>
<input type="radio" name="optionsRadiosRev" id="optionsRevStrDisplay" checked>
ASCII显示
</label>
<label>
<input type="radio" name="optionsRadiosRev" id="optionsRevHexDisplay">
HEX显示
</label>
</div>
<div class="receive-windows">
</div>
</div>
<div class="send-box">
<div class="send-header">
<label>发送数据</label>
<label>
<input type="checkbox" value="" id="enter-checked">
发送回车
</label>
<label>
<input type="radio" name="optionsRadiosSend" id="optionsSendStrDisplay" checked>
ASCII显示
</label>
<label>
<input type="radio" name="optionsRadiosSend" id="optionsSendHexDisplay">
HEX显示
</label>
</div>
<div class="send-windows">
<textarea class="input-send-data" id="inputTextarea"></textarea>
</div>
<div class="send-btn">
<div class="btn-box">
<div class="btn btn-warning btn-send">发送</div>   
<div class="btn btn-danger btn-reset">清空</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script>require('./index')</script>
</html>