-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathneato-config.html
38 lines (37 loc) · 1.36 KB
/
neato-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
<script type="text/javascript">
RED.nodes.registerType('neato-config',{
category: 'config',
defaults: {
name: {value: "", required:true},
email: {value: ""},
password: {value: ""},
robot: {value: ""},
language: {value:"en"}
},
label: function() {
return this.name;
}
});
</script>
<script type="text/x-red" data-template-name="neato-config">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-config-input-email">eMail</label>
<input type="text" id="node-config-input-email">
</div>
<div class="form-row">
<label for="node-config-input-password">Password</label>
<input type="text" id="node-config-input-password">
</div>
<div class="form-row">
<label for="node-config-input-language">Language</label>
<select type="text" id="node-config-input-language" style="display: inline-block; width: 70%;" >
<option value="">Default</option>
<option value="en">English</option>
<option value="de">German</option>
</select>
</div>
</script>