-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmet-ie.html
44 lines (42 loc) · 1.27 KB
/
met-ie.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
<script type="text/javascript">
RED.nodes.registerType('met-ie', {
category: 'weather',
color: '#a6bbcf',
defaults: {
name: {
value: ""
},
lat: {
value: "",
required: true
},
long: {
value: "",
required: true
}
},
inputs: 1,
outputs: 1,
icon: "weather.png",
label: function() {
return this.name || "met-ie";
}
});
</script>
<script type="text/html" data-template-name="met-ie">
<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-lat"><i class="fa fa-tag"></i> Latitude</label>
<input type="text" id="node-input-lat" placeholder="0">
</div>
<div class="form-row">
<label for="node-input-long"><i class="fa fa-tag"></i> Longitude</label>
<input type="text" id="node-input-long" placeholder="0">
</div>
</script>
<script type="text/html" data-help-name="met-ie">
<p>A Node that reads forecast data from met.ie</p>
</script>