-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsmartpi-values.html
More file actions
31 lines (29 loc) · 895 Bytes
/
smartpi-values.html
File metadata and controls
31 lines (29 loc) · 895 Bytes
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
<script type="text/javascript">
RED.nodes.registerType('smartpi-values', {
category: 'SmartPi',
color: '#a6bbcf',
defaults: {
name: {
value: "smartpi-values"
},
indicator: {
value: ""
}
},
inputs: 0,
outputs: 1,
icon: "arrow-in.png",
label: function() {
return this.name + " " + this.indicator || "smartpi-values " + this.indicator;
}
});
</script>
<script type="text/x-red" data-template-name="smartpi-values">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="smartpi-values">
<p>Input of all values from the SmartPi.</p>
</script>