forked from anerdins/node-red-contrib-nibepi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_req.html
executable file
·54 lines (50 loc) · 1.81 KB
/
config_req.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
<script type="text/javascript">
RED.nodes.registerType('nibe-config-req',{
category: 'function',
color: '#e32222',
defaults: {
server: {value:"", type:"nibe-config"},
category: {value:""},
system: {value:""},
parameter: {value:""},
label: {value:""}
},
inputs:1,
outputs:2,
icon: "fa-bars",
label: function() {
return this.name||"NibePi Config";
}
});
</script>
<script type="text/x-red" data-template-name="nibe-config-req">
<div class="form-row">
<label for="node-input-system"><i class="icon-bookmark"></i> System</label>
<select id="node-input-system">
<option value="">None</option>
<option value="s1">System 1</option>
<option value="s2">System 2</option>
</select>
</div>
<div class="form-row">
<label for="node-input-category"><i class="icon-tag"></i> Category</label>
<input type="text" id="node-input-category" placeholder="Category">
</div>
<div class="form-row">
<label for="node-input-parameter"><i class="icon-tag"></i> Parameter</label>
<input type="text" id="node-input-parameter" placeholder="Parameter">
</div>
<div class="form-row">
<label for="node-input-label"><i class="icon-tag"></i> Label</label>
<input type="text" id="node-input-label" placeholder="Label">
</div>
<div class="form-row">
<label for="node-input-server"><i class="icon-tag"></i> Server</label>
<input type="text" id="node-input-server" placeholder="Server">
</div>
</script>
<script type="text/x-red" data-help-name="nibe-config-req">
<p>NibePi Config node</p>
<div>
</div>
</script>