-
Notifications
You must be signed in to change notification settings - Fork 1
/
okta_create_group.html
59 lines (56 loc) · 2.1 KB
/
okta_create_group.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
53
54
55
56
57
58
59
<script type="text/javascript">
RED.nodes.registerType('okta_create_group',{
category: 'authomize_okta',
color: '#a6bbcf',
defaults: {
name: {value: "Okta - Create group"},
auth: { type: 'okta_config', required: true },
groupName: { value: '', required: true },
groupNameType: {value: ''},
groupDesc: { value: '', required: true },
groupDescType: {value: ''},
},
inputs:1,
outputs:1,
oneditprepare: function () {
$("#node-input-groupName").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-groupNameType"
});
$("#node-input-groupDesc").typedInput({
type: "msg",
types: ["msg", "flow", "global", "str"],
typeField: "#node-input-groupDescType"
});
}
});
</script>
<script type="text/html" data-template-name="okta_create_group">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</div>
<div class="form-row">
<label for="node-input-auth"><i class="fa fa-cogs"></i> Okta Credentials</label>
<input type="text" id="node-input-auth" placeholder="auth">
</div>
<div class="form-row">
<label for="node-input-groupName">
<i class="fa fa-group"></i> Group name
</label>
<input type="text" id="node-input-groupName" placeholder="Enter Group name">
<input type="hidden" id="node-input-groupNameType" />
</div>
<div class="form-row">
<label for="node-input-groupDesc">
<i class="fa fa-group"></i> Group Description
</label>
<input type="text" id="node-input-groupDesc" placeholder="Enter Group Description">
<input type="hidden" id="node-input-groupDescType" />
</div>
</script>
<script type="text/html" data-help-name="okta_create_group">
<p>Creates a group in Okta with provided nams and description</p>
</script>