forked from KelvinTegelaar/CIPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OffboardUser.html
259 lines (251 loc) · 16.1 KB
/
OffboardUser.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<main>
<header class="page-header page-header-dark bg-gradient-primary-to-secondary pb-10">
<div class="container-xl px-4">
<div class="page-header-content pt-4">
<div class="row align-items-center justify-content-between">
<div class="col-auto mt-4">
<h1 class="page-header-title">
<div class="page-header-icon"><i data-feather="arrow-right-circle"></i></div>
Offboarding users Wizard
</h1>
<div class="page-header-subtitle">This wizard guides you through offboarding a users
</div>
</div>
</div>
</div>
</div>
</header>
<!-- Main page content-->
<div class="container-xl px-4 mt-n10">
<!-- Wizard card example with navigation-->
<div class="card">
<div class="card-header border-bottom">
<!-- Wizard navigation-->
<div class="nav nav-pills nav-justified flex-column flex-xl-row nav-wizard" id="cardTab" role="tablist">
<!-- Wizard navigation item 1-->
<a class="nav-item nav-link active" id="wizard1-tab" href="#wizard1" data-bs-toggle="tab" role="tab"
aria-controls="wizard1" aria-selected="true">
<div class="wizard-step-icon">1</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">Tenant choice</div>
<div class="wizard-step-text-details">Choose a tenant for offboarding the user</div>
</div>
</a>
<!-- Wizard navigation item 2-->
<a class="nav-item nav-link" id="wizard2-tab" href="#wizard2" data-bs-toggle="tab" role="tab"
aria-controls="wizard2" aria-selected="true">
<div class="wizard-step-icon">2</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">User details</div>
<div class="wizard-step-text-details">Select the user to offboard</div>
</div>
</a>
<!-- Wizard navigation item 3-->
<a class="nav-item nav-link" id="wizard3-tab" href="#wizard3" data-bs-toggle="tab" role="tab"
aria-controls="wizard3" aria-selected="true">
<div class="wizard-step-icon">3</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">Offboarding settings</div>
<div class="wizard-step-text-details">Select the options you want for this user offboarding
</div>
</div>
</a>
<!-- Wizard navigation item 4-->
<a class="nav-item nav-link" id="wizard4-tab" href="#wizard4" data-bs-toggle="tab" role="tab"
aria-controls="wizard4" aria-selected="true">
<div class="wizard-step-icon">4</div>
<div class="wizard-step-text">
<div class="wizard-step-text-name">Review & Submit</div>
<div class="wizard-step-text-details">Review and submit the offboarding request.</div>
</div>
</a>
</div>
</div>
<div class="card-body">
<form id=AutopilotForm>
<div class="tab-content" id="cardTabContent">
<!-- Wizard tab pane item 1-->
<div class="tab-pane py-5 py-xl-10 fade show active" id="wizard1" role="tabpanel"
aria-labelledby="wizard1-tab">
<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 1</h3>
<h5 class="card-title mb-4">Choose a tenant</h5>
<div> <input class="form-control" name="tenantfilter" list="datalistOptions"
id="exampleDataList" placeholder="Type to search..." style="width: 50%;"
oninput='onInput()'>
<datalist id="datalistOptions">
<option value="Select a tenant" text="Select a tenant">
</datalist>
</div>
<hr class="my-4" />
<div class="d-flex justify-content-between">
<button class="btn btn-light disabled" type="button" disabled>Previous</button>
<a class="nav-link active wizardbutton" href="#wizard2-tab">
<button class="btn btn-primary btnNext" type="button">Next</button></a>
</div>
</div>
</div>
</div>
<!-- Wizard tab pane item 2-->
<div class="tab-pane py-5 py-xl-10 fade" id="wizard2" role="tabpanel"
aria-labelledby="wizard2-tab">
<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 2</h3>
<h5 class="card-title mb-4">Choose the user</h5>
Please choose the user to offboard.
<div> <input class="form-control" name="User" list="UserlistOptions" id="Userlist"
placeholder="Type to search..." style="width: 50%;"
oninput='onInputUserList()'>
<datalist id="UserlistOptions">
<option value="Select a user" text="Select a user">
</datalist>
</div>
<hr class="my-4" />
<div class="d-flex justify-content-between">
<a class="nav-link active wizardbutton" href="#wizard1-tab">
<button class="btn btn-light" type="button">Previous</button></a>
<a id="SendData" class="nav-link active wizardbutton" href="#wizard3-tab">
<button class="btn btn-primary">Next</button>
</a>
</div>
</div>
</div>
</div>
<!-- Wizard tab pane item 3-->
<div class="tab-pane py-5 py-xl-10 fade" id="wizard3" role="tabpanel"
aria-labelledby="wizard3-tab">
<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 3</h3>
<h5 class="card-title mb-4">Choose offboarding options</h5>
<div class="form-check mb-2">
<input class="form-check-input" id="RemoveLicenses" name="RemoveLicenses"
type="checkbox" value="true" checked />
<label class="form-next buttocheck-label" for="RemoveLicenses">Remove
licenses</label>
</div>
<div class="form-check mb-2">
<input class="form-check-input" id="ConvertToShared" name="ConvertToShared"
type="checkbox" value="true" checked />
<label class="form-next buttocheck-label" for="ConvertToShared">Convert
to Shared Mailbox</label>
</div>
<div class="form-check mb-2">
<input class="form-check-input" id="DisableSignIn" name="DisableSignIn"
type="checkbox" value="true" checked />
<label class="form-next buttocheck-label" for="DisableSignIn">Disable
sign-in
</label>
</div>
<div class="form-check mb-2">
<input class="form-check-input" id="ResetPass" name="ResetPass" type="checkbox"
value="true" checked />
<label class="form-next buttocheck-label" for="ResetPass">Reset password</label>
</div>
<div class="form-check mb-2">
<input class="form-check-input" id="RemoveGroups" name="RemoveGroups"
type="checkbox" value="true" checked />
<label class="form-next buttocheck-label" for="RemoveGroups">Remove from all
groups</label>
</div>
<div class="form-check mb-2">
<input class="form-check-input" id="HideFromGAL" name="HideFromGAL"
type="checkbox" value="true" checked />
<label class="form-next buttocheck-label" for="HideFromGAL">Hide from
Global Address List</label>
</div>
<div class="col-md-6">
<label class="small mb-1" for="OOO">Out of office</label>
<input class="form-control" id="OOO" type="text"
placeholder="Leave blank to not set" value="" name="OOO" />
</div>
<div class="col-md-6">
<label class="small mb-1" for="AccessNoAutomap">Give other user full access on
mailbox without automapping</label>
<input class="form-control" id="AccessNoAutomap" type="text"
placeholder="Leave blank to not set" value="" name="AccessNoAutomap" />
</div>
<div class="col-md-6">
<label class="small mb-1" for="AccessAutomap">Give other user full access on
mailbox with automapping</label>
<input class="form-control" id="AccessAutomap" type="text"
placeholder="Leave blank to not set" value="" name="AccessAutomap" />
</div>
<div class="col-md-6">
<label class="small mb-1" for="OnedriveAccess">Give other user full access on
Onedrive</label>
<input class="form-control" id="OnedriveAccess" type="text"
placeholder="Leave blank to not set" value="" name="OnedriveAccess" />
</div>
<div class="form-check mb-2">
<input class="form-check-input" id="DeleteUser" name="DeleteUser"
type="checkbox" value="true" />
<label class="form-next buttocheck-label" for="DeleteUser">Delete
user</label>
</div>
<hr class="my-4" />
<div class="d-flex justify-content-between">
<a class="nav-link active wizardbutton" href="#wizard2-tab">
<button class="btn btn-light" type="button">Previous</button></a>
<a class="nav-link active wizardbutton" href="#wizard4-tab">
<button class="btn btn-primary" type="button">Next</button>
</a>
</div>
</div>
</div>
</div>
</form>
<!-- Wizard tab pane item 4-->
<div class="tab-pane py-5 py-xl-10 fade" id="wizard4" role="tabpanel" aria-labelledby="wizard4-tab">
<div class="row justify-content-center">
<div class="col-xxl-6 col-xl-8">
<h3 class="text-primary">Step 4</h3>
<h5 class="card-title mb-4">Confirm and apply
</h5>
<div class="row small text-muted">
</div>
<hr class="my-4" />
<div class="d-flex justify-content-between">
<a class="nav-link active wizardbutton" href="#wizard3-tab">
<button class="btn btn-light" type="button">Previous</button></a>
<a class="nav-link active wizardbutton" href="#wizard4-tab">
<button class="btn btn-primary"
onclick='PostForm("AutopilotForm","api/Execoffboarduser")'
type="button">Apply</button>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
<script src="js/datatables/bootstable.min.js"></script>
<script src="js/tenantlist.js"></script>
<script src="js/Userlist.js"></script>
<button class="btn btn-primary" id="PopModal" type="button" data-bs-toggle="modal" data-bs-target="#exampleModal"
style="display:none;"></button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Results</h5>
</div>
<div class="modal-body">
<section id="APIContent">
<div class="spinner-border text-primary" role="status">
<span class="sr-only"></span>
</div></span>
</section>
</div>
<div class="modal-footer"><button class="btn btn-secondary" type="button"
data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>