forked from Harsch-Systems/node-red-contrib-pi-plates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplate_config.html
46 lines (43 loc) · 1.67 KB
/
plate_config.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
<script type="text/javascript">
RED.nodes.registerType('pi_plate', {
category: 'config',
defaults: {
model: { value: '', requried: true},
address: { value: '0', required: true}
},
label: function () {
return (this.model + ":" + this.address);
}
});
</script>
<script type="text/x-red" data-template-name="pi_plate">
<div class="form-row">
<label for="node-config-input-model"><i class="icon-tag"></i> Plate Model</label>
<select id="node-config-input-model">
<option value="RELAYplate">RELAYplate</option>
<option value="RELAYplate2">RELAYplate2</option>
<option value="DAQCplate">DAQCplate</option>
<option value="DAQC2plate">DAQC2plate</option>
<option value="MOTORplate">MOTORplate</option>
<option value="THERMOplate">THERMOplate</option>
<option value="TINKERplate">TINKERplate</option>
</select>
</div>
<div class="form-row">
<label for="node-config-input-address"><i class="icon-tag"></i> Plate Address (Jumpers)</label>
<select id="node-config-input-address">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
</select>
</div>
</script>
<script type="text/x-red" data-help-name="pi_plate">
<p>help text for pi-plates config node</p>
</script>