-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthentication-config.html
More file actions
41 lines (40 loc) · 1.54 KB
/
authentication-config.html
File metadata and controls
41 lines (40 loc) · 1.54 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
<script type="text/javascript">
RED.nodes.registerType("aquila-remote-server", {
category: "config",
defaults: {
host: {value: "localhost", required: true},
port: {value: "8080", required: true},
secure: {value: ""}
},
credentials: {
username: {type: "text"},
password: {type: "password"},
token : {type: "password"}
},
label: function() {
return this.host || "server";
}
});
</script>
<script data-template-name="aquila-remote-server" type="text/x-red">
<div class="form-row">
<label for="node-config-input-host"> <i class="icon-bookmark"></i> Host </label>
<input type="text" id="node-config-input-host" value="" name="">
</div>
<div class="form-row">
<label for="node-config-input-secure"> <i class="icon-bookmark"></i> HTTPS </label>
<input type="checkbox" id="node-config-input-secure" value="" name="">
</div>
<div class="form-row">
<label for="node-config-input-port"> <i class="icon-bookmark"></i> Port </label>
<input type="text" id="node-config-input-port" value="" name="">
</div>
<div class="form-row">
<label for="node-config-input-username"> <i class="icon-bookmark"></i> Username </label>
<input type="text" id="node-config-input-username" value="" name="">
</div>
<div class="form-row">
<label for="node-config-input-password"> <i class="icon-bookmark"></i> Password </label>
<input type="password" id="node-config-input-password" value="" name="">
</div>
</script>