-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimple-ssh.html
More file actions
47 lines (41 loc) · 1.39 KB
/
simple-ssh.html
File metadata and controls
47 lines (41 loc) · 1.39 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
47
<script type="text/javascript">
RED.nodes.registerType('simple-SSH',{
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value:""},
port: {value:"22"}
},
credentials: {
user: {type:"text"},
password: {type: "password"}
},
inputs:1,
outputs:1,
icon: "file.png",
label: function() {
return this.name||"simple-SSH";
}
});
</script>
<script type="text/x-red" data-template-name="simple-SSH">
<div class="form-row">
<label for="node-input-ip"><i class="fa fa-globe"></i> </label>
<input id="node-input-ip" type="text" placeholder="1.2.3.4">
</div>
<div class="form-row">
<label for="node-input-user"><i class="fa fa-user"></i></label>
<input type="text" id="node-input-user">
</div>
<div class="form-row">
<label for="node-input-password"><i class="fa fa-lock"></i></label>
<input type="password" id="node-input-password">
</div>
<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>
</script>
<script type="text/x-red" data-help-name="simple-SSH">
<p>A simple node that converts the message payloads into all simple-SSH characters</p>
</script>