-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqueue-plus.html
More file actions
46 lines (44 loc) · 1.77 KB
/
Copy pathqueue-plus.html
File metadata and controls
46 lines (44 loc) · 1.77 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
37
38
39
40
41
42
43
44
45
46
<script type="text/javascript">
RED.nodes.registerType('queue-plus',{
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value:"Queue Plus"},
autoTriggerOn: {value:false},
autoTriggerTime: {value:"3000"},
sendComplete: {value:false},
queueFullMessage: {value:false},
},
inputs:1,
outputs:3,
icon: "file.png",
label: function() {
return this.name||"Queue Plus";
}
});
</script>
<script type="text/x-red" data-template-name="queue-plus">
<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-sendComplete"><i class="icon-tag"></i>Send Complete with last message</label>
<input type="checkbox" id="node-input-sendComplete" placeholder="sendComplete">
</div>
<div class="form-row">
<label for="node-input-queueFullMessage"><i class="icon-tag"></i>Queue Full Message (off only payload)</label>
<input type="checkbox" id="node-input-queueFullMessage" placeholder="queueFullMessage">
</div>
<div class="form-row">
<label for="node-input-autoTriggerOn"><i class="icon-tag"></i> Enable Auto Trigger</label>
<input type="checkbox" id="node-input-autoTriggerOn" placeholder="autoTrigger">
</div>
<div class="form-row">
<label for="node-input-autoTriggerTime"><i class="icon-tag"></i> Auto Trigger Time ms</label>
<input type="text" id="node-input-autoTriggerTime" placeholder="autoTrigger">
</div>
</script>
<script type="text/x-red" data-help-name="queue-plus">
<p>A queue node</p>
</script>