-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathneato-status.html
36 lines (34 loc) · 1.13 KB
/
neato-status.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
<script type="text/javascript">
RED.nodes.registerType('neato-status',{
category: 'Neato Botvac',
color: '#a6bbcf',
defaults: {
name: {value:""},
confignode: {value:"", type:"neato-config"},
robotindex: {value:0}
},
inputs:1,
outputs:1,
icon: "file.png",
label: function() {
return this.name||"neato-status";
}
});
</script>
<script type="text/x-red" data-template-name="neato-status">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-confignode"> Neato Config Node</label>
<input type="text" id="node-input-confignode">
</div>
<div class="form-row">
<label for="node-input-robotindex">Robot Index</label>
<input type="number" id="node-input-robotindex">
</div>
</script>
<script type="text/x-red" data-help-name="neato-status">
<p>Configuration of Neato Server Account</p>
</script>