Skip to content

Commit b16a0de

Browse files
committed
Improve html
1 parent bf3f67f commit b16a0de

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

pages/index.html

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,19 @@
6666
<h2 class="error"></h2>
6767
<h2 class="success"></h2>
6868
<section>
69-
<h3>Serial connection</h3>
7069
<form name="serial">
7170
<fieldset>
7271
<legend>Serial connection</legend>
7372
<label>
74-
Modbus mode
73+
Modbus mode:
7574
<select name="mode" required>
7675
<option>RTU</option>
7776
<option>ASCII</option>
7877
<option disabled>TCP</option>
7978
</select>
8079
</label>
8180
<label>
82-
baudRate
81+
baudRate:
8382
<input type="number" name="baudRate" list="baudRate" min="300" max="10000000" step="1" required />
8483
<datalist id="baudRate">
8584
<option>300</option>
@@ -110,7 +109,7 @@ <h3>Serial connection</h3>
110109
</datalist>
111110
</label>
112111
<label>
113-
parity
112+
parity:
114113
<select name="parity" required>
115114
<option>none</option>
116115
<option>even</option>
@@ -122,11 +121,10 @@ <h3>Serial connection</h3>
122121
</form>
123122
</section>
124123
<section>
125-
<h3>Send frame</h3>
126-
<p>If there is already a master on the bus, this operation can cause a frame colision on the bus.</p>
127124
<form name="send">
128125
<fieldset>
129126
<legend>Send any frame:</legend>
127+
<p>If there is already a master on the bus, this operation can cause a frame colision on the bus.</p>
130128
<label>
131129
Slave address:
132130
<input type="number" name="slaveAddress" min="0" max="255" step="1" required />
@@ -145,9 +143,8 @@ <h3>Send frame</h3>
145143
</form>
146144
</section>
147145
<section>
148-
<h3>Sniffer</h3>
149146
<fieldset>
150-
<legend>options</legend>
147+
<legend>Sniffer options</legend>
151148
<button type="button" id="downloadSnifferButton">Download all sniffed data</button>
152149
<button type="button" id="clearSnifferButton">Clear all sniffed data</button>
153150
<label><input type="checkbox" name="Uint8" />Uint8</label>
@@ -159,7 +156,6 @@ <h3>Sniffer</h3>
159156
<label><input type="checkbox" checked name="Float32" />Float32</label>
160157
<label><input type="checkbox" name="Float64" />Float64</label>
161158
</fieldset>
162-
<p>First frams are for CRC/LRC/formats testing purpose only</p>
163159
<table>
164160
<thead>
165161
<tr>

0 commit comments

Comments
 (0)