Repository navigation
Expand file tree
/
Copy pathserver.html
More file actions
57 lines (46 loc) · 1.7 KB
/
Copy pathserver.html
File metadata and controls
57 lines (46 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Modbus Server</title>
<link rel="stylesheet" href="./css/photon.css">
</head>
<body>
<div class="window">
<div class="window-content">
<div class="pane-group">
<div class="pane">
<div class="padded-more">
<h2>Server Details</h2>
<form>
<div class="form-group">
<label>IP Address</label>
<input type="text" disabled class="form-control" placeholder="127.0.0.1" id="ipaddress" value="127.0.0.1"><br>
</div>
<div class="form-group">
<label>Port</label>
<input type="text" class="form-control" placeholder="8888" id="port" value="8502"><br>
</div>
<div class="form-group">
<label>Number of Coils</label>
<input type="text" class="form-control" placeholder="1024" id="number_of_coils" value="16"><br>
</div>
<div class="form-group">
<label>Number of Registers</label>
<input type="text" class="form-control" placeholder="1024" id="number_of_registers" value="16"><br>
</div>
<div class="form-actions">
<button type="submit" id="submitServerButton" class="btn btn-form btn-primary">Start Server</button>
<button type="submit" id="endServerButton" class="btn btn-form btn-primary">Destroy Server</button>
</div>
</form>
</div>
</div>
<div id="main-pane">
</div>
<script>require('./server.js')</script>
</div>
</div>
</div>
</body>
</html>