-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopenam-server.html
52 lines (51 loc) · 1.64 KB
/
openam-server.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
48
49
50
51
52
<script type="text/javascript">
RED.nodes.registerType('openam-server', {
category: 'config',
defaults: {
name: { value: '' },
url: { value: 'https://', required: true },
realm: { value: '/', required: true },
username: { value: '' },
password: { value: '' }
},
credentials: {
username: {type:"text"},
password: {type: "password"},
},
label: function () {
return this.name || this.url;
}
});
</script>
<script type="text/x-red" data-template-name="openam-server">
<div class="form-row">
<label for="node-config-input-name">
<i class="fa fa-tag"></i> <span>Name</span>
</label>
<input type="text" id="node-config-input-name" placeholder="Name">
</div>
<div class="form-row">
<label for="node-config-input-url">
<i class="fa fa-tag"></i> <span>URL</span>
</label>
<input type="text" id="node-config-input-url" placeholder="https://">
</div>
<div class="form-row">
<label for="node-config-input-realm">
<i class="fa fa-tag"></i> <span>Realm</span>
</label>
<input type="text" id="node-config-input-realm" placeholder="/">
</div>
<div class="form-row">
<label for="node-config-input-username">
<i class="fa fa-tag"></i> <span>Username</span>
</label>
<input type="text" id="node-config-input-username" placeholder="">
</div>
<div class="form-row">
<label for="node-config-input-password">
<i class="fa fa-tag"></i> <span>Password</span>
</label>
<input type="password" id="node-config-input-password" placeholder="">
</div>
</script>