-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeba-parser.html
More file actions
36 lines (34 loc) · 1.19 KB
/
keba-parser.html
File metadata and controls
36 lines (34 loc) · 1.19 KB
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('keba-parser', {
category: 'parser',
color: '#a6bbcf',
defaults: {
name: { value: 'keba-parser' },
interval: { value: 60 },
url: { value: null },
},
inputs: 0,
outputs: 1,
icon: 'font-awesome/fa-car',
label: function () {
return this.name;
},
});
</script>
<script type="text/html" data-template-name="keba-parser">
<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>
<div class="form-row">
<label for="node-input-interval"><i class="fa fa-repeat"></i> Interval</label>
<input type="number" id="node-input-interval" placeholder="Interval" />
</div>
<div class="form-row">
<label for="node-input-url"><i class="fa fa-globe"></i> URL</label>
<input type="text" id="node-input-url" placeholder="URL" />
</div>
</script>
<script type="text/html" data-help-name="keba-parser">
<p>Node RED extension to parse the data from the KEBA web ui.</p>
</script>