-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathah_token_validator.html
45 lines (42 loc) · 1.64 KB
/
ah_token_validator.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
<script type="text/javascript">
RED.nodes.registerType('ah token validator', {
category: 'network',
color: '#d1eae7',
defaults: {
auth: { value: "", type: "ah core service", required: false },
publickey: { value: "" },
name: { value: "" }
},
inputs: 1,
outputs: 2,
icon: 'icons/arrowhead_logo_blue.svg',
label: function () {
return this.name || "AH Token Validator";
}
});
</script>
<script type="text/html" data-template-name="ah token validator">
<div class="form-row">
<label for="node-input-publickey"><i class="fa fa-key"></i> <span data-i18n="ah_token_validator.label.publickey"></span></label>
<input type="text" id="node-input-publickey"
data-i18n="[placeholder]ah_token_validator.placeholder.publickey"
data-i18n="[title]ah_token_validator.placeholder.publickey">
<p><i data-i18n="ah_token_validator.warning.publickey"></i></p>
</div>
<div class="form-row">
<label for="node-input-auth">
<i class="fa fa-server"></i>
<span data-i18n="ah_token_validator.label.auth"></span>
</label>
<input type="text"
id="node-input-auth"
data-i18n="[placeholder]ah_token_validator.placeholder.auth"
data-i18n="[title]ah_token_validator.placeholder.auth"/>
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-bookmark"></i> <span data-i18n="ah_token_validator.label.name"></span></label>
<input type="text" id="node-input-name"
data-i18n="[placeholder]ah_token_validator.placeholder.name"
data-i18n="[title]ah_token_validator.placeholder.name"/>
</div>
</script>