forked from CABrouwers/node-red-contrib-telnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtelnet-send.html
47 lines (41 loc) · 1.29 KB
/
telnet-send.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
45
46
47
<script type="text/javascript">
RED.nodes.registerType('telnet-send', {
category: 'network',
color: '#c0c0c0',
defaults: {
name: { value: "" },
connection: { value: "", type: "telnet-connection" },
},
inputs: 1,
outputs: 0,
icon: "sender.svg",
label: function () {
return this.name || "send";
}
})
</script>
<script type="text/html" data-template-name="telnet-send">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-input-connection"><i class="icon-tag"></i> Connection</label>
<input type="text" id="node-input-connection" placeholder="connection">
</div>
</script>
<script type="text/html" data-help-name="telnet-send">
<p>A node used to send data thry a bidirectional telnel client connection.</p>
<h3>Inputs</h3>
<dl class="message-properties">
<dt>
<code>payload</code>
<span class="property-type">string</span>
</dt>
<dd>date to be sent </dd>
</dl>
<h3>Details</h3>
<p>
... to do ...
</p>
</script>