-
Notifications
You must be signed in to change notification settings - Fork 0
/
nr-balanceclearing.html
36 lines (34 loc) · 1.12 KB
/
nr-balanceclearing.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('Clearing',{
category: 'Energy Balance',
color: '#FF9B42',
defaults: {
name: {value:""},
balance: {value:"", type:"Balance",required:true}
},
inputs:1,
outputs:1,
icon: "join.svg",
label: function() {
return this.name ||"Balance Clearing";
}
});
</script>
<script type="text/html" data-template-name="Clearing">
<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-balance"><i class="fa fa-tag"></i> Balance</label>
<select id="node-input-balance" placeholder="Balance"></select>
</div>
</script>
<script type="text/html" data-help-name="Clearing">
<p>
<strong>Cleares a balance (closing accounts, feeds) and start with new balance.</strong>
</p>
<p>
A Clearing node might be automatically triggered every 15 minutes by a inject node.
</p>
</script>