-
Notifications
You must be signed in to change notification settings - Fork 14
/
settings.html
79 lines (75 loc) · 3.19 KB
/
settings.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>MQTT DMX Controller</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="settings">
<div id="settings-container">
<div class="panel panel-default">
<div class="panel-body">
<h4>Channels</h4>
<form class="form-inline">
<div class="form-group">
<label class="first-label" for="settings-channels">Count</label>
<input type="number" class="form-control" id="settings-channels" min="24" max="512">
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<h4>Art-Net</h4>
<form class="form-inline">
<div class="form-group">
<label class="first-label" for="settings-channels">Host</label>
<input type="text" class="form-control" id="settings-artnet-host">
</div>
<div class="form-group">
<label for="settings-channels">Port</label>
<input type="number" class="form-control" id="settings-artnet-port" min="1" max="65535">
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<h4>MQTT</h4>
<form class="form-inline">
<div class="form-group">
<label class="first-label" for="settings-channels">URL</label>
<input type="text" size="56" class="form-control" id="settings-mqtt-url">
</div>
<div class="form-group">
<label class="first-label" for="settings-channels">Prefix</label>
<input type="text" size="16" class="form-control" id="settings-mqtt-prefix">
</div>
<div class="form-group">
<label class="first-label" for="settings-channels">Username*</label>
<input type="text" size="56" class="form-control" id="settings-mqtt-username">
</div>
<div class="form-group">
<label class="first-label" for="settings-channels">Password*</label>
<input type="password" size="56" class="form-control" id="settings-mqtt-password">
</div>
<div class="form-group">
* Keep empty for no authentication
</div>
</form>
</div>
</div>
</div>
<div id="settings-footer">
<button class="btn btn-danger" id="save">Save & Restart</button>
<button class="btn btn-primary" id="close">Cancel</button>
</div>
</div>
<script>
require('./renderer-settings.js');
</script>
</body>
</html>