-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathexecSchemas.html
654 lines (598 loc) · 29.2 KB
/
execSchemas.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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
<!DOCTYPE html>
<html lang="en">
<html ng-app="execSchemasApp" ng-controller="execSchemasCtrl">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YQB8J8J690"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YQB8J8J690');
</script>
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon.png">
<title>Approve Schemas | Kafka Self-service Topic Management Portal</title>
<link rel="canonical" href="https://www.wrappixel.com/templates/materialpro/" />
<!-- chartist CSS -->
<!--
<link rel="stylesheet" type="text/css" href="assets/plugins/datatables.net-bs4/css/dataTables.bootstrap4.css">
<link rel="stylesheet" type="text/css"
href="assets/plugins/datatables.net-bs4/css/responsive.dataTables.min.css">
-->
<!-- Custom CSS -->
<link href="assets/css/style.css" rel="stylesheet">
<!-- You can change the theme colors from here -->
<link href="assets/css/colors/blue-dark.css" id="theme" rel="stylesheet">
<link href="assets/plugins/sweetalert/sweetalert.css" rel="stylesheet" type="text/css">
<script src="lib/angular.min.js"></script>
<script src="lib/angular-route.min.js"></script>
<script src="js/execSchemas.js"></script>
<link rel="stylesheet" href="assets/css/custom.css" />
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="fix-header card-no-border logo-center" ng-init="getAuth();">
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class="preloader">
<svg class="circular" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" /> </svg>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<div id="main-wrapper">
<!-- ============================================================== -->
<!-- Topbar header - style you can find in pages.scss -->
<!-- ============================================================== -->
<header class="topbar">
<nav class="navbar top-navbar navbar-expand-md navbar-light">
<!-- ============================================================== -->
<!-- Logo -->
<!-- ============================================================== -->
<div class="navbar-header">
<a class="navbar-brand" href="index">
<h4 style="color:white;">{{ companyinfo }}</h4>
</a>
<!-- <a href="index"><img src="assets/images/clients/logo.jpg" width="100%" /></a> -->
</div>
<!-- ============================================================== -->
<!-- End Logo -->
<!-- ============================================================== -->
<div class="navbar-collapse">
<!-- ============================================================== -->
<!-- toggle and nav items -->
<!-- ============================================================== -->
<ul class="navbar-nav mr-auto mt-md-0">
<!-- This is -->
<!-- ============================================================== -->
<!-- Search -->
<!-- ============================================================== -->
<a href="index"><img class="header-logo" src="assets/images/klaw_logo.png"/></a>
</ul>
<!-- ============================================================== -->
<!-- User profile and search -->
<!-- ============================================================== -->
<ul class="navbar-nav my-lg-0">
<!-- ============================================================== -->
<li class="nav-item d-none d-md-block search-box"> <a
class="nav-link d-none d-md-block text-muted waves-effect waves-dark"
href="requestTopics"><i class="mdi mdi-plus"></i></a>
</li>
<li class="nav-item d-none d-md-block search-box"> <a
class="nav-link d-none d-md-block text-muted waves-effect waves-dark"
href="javascript:void(0)" ng-click="refreshPage()"><i class="mdi mdi-reload"></i></a>
</li>
<li ng-if="dashboardDetails.approveAtleastOneRequest=='Authorized'" class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-muted waves-effect waves-dark" href="" id="2"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i
class="mdi mdi-email"></i>
<div class="notify"> <span class="heartbit"></span> <span class="point"></span> </div>
</a>
<div class="dropdown-menu mailbox dropdown-menu-right scale-up" aria-labelledby="2">
<ul>
<li>
<h5 class="font-medium py-3 px-4 border-bottom mb-0">Approval Requests</h5>
</li>
<li>
<div class="message-center position-relative">
<!-- Message -->
<a href="execTopics" class="border-bottom d-block text-decoration-none py-2 px-3">
<div class="btn btn-danger btn-circle mr-2"><i class="fa fa-link"></i>
</div>
<div class="mail-contnet d-inline-block align-middle">
<h5 class="my-1">Topic Requests</h5> <span
class="mail-desc font-12 text-truncate overflow-hidden text-nowrap d-block">{{ notifications }} requests</span>
</div>
</a>
<a href="execAcls" class="border-bottom d-block text-decoration-none py-2 px-3">
<div class="btn btn-success btn-circle mr-2"><i class="ti-calendar"></i>
</div>
<div class="mail-contnet d-inline-block align-middle">
<h5 class="my-1">Acl Requests</h5> <span
class="mail-desc font-12 text-truncate overflow-hidden text-nowrap d-block">{{ notificationsAcls }} requests</span>
</div>
</a>
<a href="execSchemas" class="border-bottom d-block text-decoration-none py-2 px-3">
<div class="btn btn-info btn-circle mr-2"><i class="ti-pencil-alt"></i>
</div>
<div class="mail-contnet d-inline-block align-middle">
<h5 class="my-1">Schema Requests</h5> <span
class="mail-desc font-12 text-truncate overflow-hidden text-nowrap d-block">{{ notificationsSchemas }} requests</span>
</div>
</a>
<a href="execConnectors" class="border-bottom d-block text-decoration-none py-2 px-3">
<div class="btn btn-warning btn-circle mr-2"><i class="ti-vector"></i>
</div>
<div class="mail-contnet d-inline-block align-middle">
<h5 class="my-1">KafkaConnector Requests</h5> <span
class="mail-desc font-12 text-truncate overflow-hidden text-nowrap d-block">{{ dashboardDetails.notificationsConnectors }} requests</span>
</div>
</a>
<a href="execUsers" ng-show="dashboardDetails.addUser=='Authorized'" class="border-bottom d-block text-decoration-none py-2 px-3">
<div class="btn btn-primary btn-circle mr-2"><i class="ti-link"></i>
</div>
<div class="mail-contnet d-inline-block align-middle">
<h5 class="my-1">New User Requests</h5> <span
class="mail-desc font-12 text-truncate overflow-hidden text-nowrap d-block">{{ notificationsUsers }} requests</span>
</div>
</a>
</div>
</li>
</ul>
</div>
</li>
<!-- ============================================================== -->
<!-- Profile -->
<!-- ============================================================== -->
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-muted waves-effect waves-dark" href=""
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="mdi mdi-account-circle"></i>
</button></a>
<div class="dropdown-menu dropdown-menu-right scale-up">
<ul class="dropdown-user">
<li>
<div class="dw-user-box">
<div class="u-img"><img src="assets/images/logged-user.png" alt="user"></div>
<div class="u-text">
<h4>{{userlogged}}</h4>
<p class="text-muted">{{teamname}}</p><a href="myProfile"
class="btn btn-rounded btn-danger btn-sm">View
Profile</a>
</div>
</div>
</li>
<li role="separator" class="divider"></li>
<li><a href="myProfile"><i class="ti-user"></i> My Profile</a></li>
<li><a href="tenantInfo"><i class="ti-package"></i> My Tenant Info</a></li>
<li ng-show="dashboardDetails.authenticationType=='db'"><a href="changePwd"><i class="ti-wallet"></i> Change Password</a></li>
<li role="separator" class="divider"></li>
<li><a href="#" ng-click="logout()"><i class="fa fa-power-off"></i> Logout</a></li>
</ul>
</div>
</li>
<!-- ============================================================== -->
<!-- Language -->
<!-- ============================================================== -->
<li class="nav-item dropdown mega-dropdown">
<a
class="nav-link dropdown-toggle text-muted waves-effect waves-dark" href=""
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i
class="mdi mdi-help-circle"></i></a>
<div class="dropdown-menu scale-up-left">
<ul class="mega-dropdown-menu row">
<li class="col-lg-6">
<h4 class="mb-3">Contact Administrator</h4>
<!-- Contact -->
<form>
<div class="form-group">
<input type="text" class="form-control" ng-model="contactFormSubject" placeholder="Enter Subject">
</div>
<div class="form-group">
<textarea class="form-control" ng-model="contactFormMessage" rows="3" placeholder="Message"></textarea>
</div>
<button type="button" ng-click="sendMessageToAdmin();" class="btn btn-info">Submit</button>
</form>
</li>
<li class="col-lg-3">
<h4 class="mb-3">Help</h4>
<!-- List style -->
<ul class="list-style-none">
<li>
<table>
<tr>
<td><i class="mdi mdi-file-document"></i></td>
<td><a class="dropdown-item" target="_blank" href="https://klaw-project.io/docs">Documentation</a></td>
</tr>
</table>
</li>
<li>
<table>
<tr>
<td><i class="mdi mdi-blinds"></i></td>
<td><a class="dropdown-item" target="_blank" href="{{ dashboardDetails.supportlink }}">Raise a git issue</a></td>
</tr>
</table>
</li>
<li>
<table>
<tr>
<td><i class="mdi mdi-hexagon"></i></td>
<td><a class="dropdown-item" target="_blank" href="helpwizard">Starting Wizard</a></td>
</tr>
</table>
</li>
</ul>
</li>
<li class="col-lg-3">
<h4 class="mb-3">Shortcuts</h4>
<!-- List style -->
<ul class="list-style-none">
<li>
<table>
<tr>
<td><i class="mdi mdi-blender"></i></td>
<td><a class="dropdown-item" target="_blank" href="requestTopics">Request Topic</a></td>
</tr>
<tr>
<td><i class="mdi mdi-blender"></i></td>
<td><a class="dropdown-item" target="_blank" href="envs">Environments</a></td>
</tr>
<tr>
<td><i class="mdi mdi-blender"></i></td>
<td><a class="dropdown-item" target="_blank" href="users">Users</a></td>
</tr>
<tr>
<td><i class="mdi mdi-blender"></i></td>
<td><a class="dropdown-item" target="_blank" href="teams">Teams</a></td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
</li>
</ul>
<ul class="navbar-nav my-lg-0" style="width:200px;color:black;">
<table>
<tr>
<td width="100%">
<li class="nav-item d-none d-md-block search-box">
<button type="button" class="btn waves-effect waves-light btn-block btn-xs btn-danger"
id="userbackground">
{{userlogged}}</button>
</li>
</td>
</tr>
<tr>
<td width="100%" ng-show="dashboardDetails.canSwitchTeams == 'false'">
<li class="nav-item d-none d-md-block search-box">
<button type="button" class="btn waves-effect waves-light btn-block btn-xs btn-danger"
id="userbackground">
{{teamname}} | {{userrole}}</button>
</li>
</td>
<td width="100%" ng-show="dashboardDetails.canSwitchTeams == 'true'">
<li class="nav-item d-none d-md-block search-box">
<button type="button" class="btn waves-effect waves-light btn-block btn-xs btn-danger"
id="userbackground1">
<select style="font-size: xx-small" ng-change="onSwitchTeam()" ng-model="teamId" ng-options="team.teamId as team.teamname for team in switchTeamsListDashboard">
</select>
| {{userrole}}
</button>
</li>
</td>
</tr>
</table>
</ul>
</div>
</nav>
</header>
<!-- Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<aside class="left-sidebar">
<!-- Sidebar scroll-->
<div class="scroll-sidebar">
<!-- Sidebar navigation-->
<nav class="sidebar-nav">
<ul id="sidebarnav">
<li class="nav-small-cap">PERSONAL</li>
<li>
<a class="has-arrow" href="#" aria-expanded="false"><i class="mdi mdi-gauge"></i><span class="hide-menu">Dashboard</span></a>
<ul aria-expanded="false" class="collapse">
<li><a href="index">Home</a></li>
<li><a href="activityLog">Activity Log</a></li>
<li><a href="analytics">Analytics</a></li>
<li><a href="serverConfig">Settings</a></li>
</ul>
</li>
<li ng-show="dashboardDetails.viewTopics=='Authorized'">
<a class="has-arrow " href="browseTopics" aria-expanded="false"><i class="mdi mdi-bullseye"></i><span class="hide-menu">Topics</span></a>
</li>
<li ng-show="dashboardDetails.viewKafkaConnect=='Authorized'">
<a class="has-arrow " href="kafkaConnectors" aria-expanded="false"><i class="mdi mdi-lan-connect"></i><span class="hide-menu">Apache Kafka Connect</span></a>
</li>
<li class="two-column" ng-show="dashboardDetails.requestItems=='Authorized'">
<a class="has-arrow" href="#" aria-expanded="false"><i class="mdi mdi-chart-bubble"></i><span class="hide-menu">Requests</span></a>
<ul aria-expanded="false" class="collapse">
<li><a href="requestTopics">Request Topic</a></li>
<li><a href="requestConnector">Request Connector</a></li>
<li><a href="myTopicRequests">My Topic Requests</a></li>
<li><a href="myAclRequests">My Acl Requests</a></li>
<li><a href="mySchemaRequests">My Schema Requests</a></li>
<li><a href="myConnectorRequests">My Connector Requests</a></li>
</ul>
</li>
<li class="nav-devider"></li>
<li class="nav-small-cap">FORMS, TABLE & WIDGETS</li>
<li class="two-column">
<a class="has-arrow" href="#" aria-expanded="false"><i class="fas fa-server"></i><span class="hide-menu">Environments</span></a>
<ul aria-expanded="false" class="collapse">
<li><a href="envs">Environments</a></li>
<li><a href="clusters">Clusters</a></li>
<li ng-show="dashboardDetails.showAddDeleteTenants == 'Authorized'" ><a href="tenants">Tenants</a></li>
</ul>
</li>
<li class="nav-devider"></li>
<li class="nav-small-cap">EXTRA COMPONENTS</li>
<li class="two-column">
<a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-widgets"></i><span class="hide-menu">Users - Teams</span></a>
<ul aria-expanded="false" class="collapse">
<li><a href="users">Users</a></li>
<li><a href="teams">Teams</a></li>
</ul>
</li>
<li class="two-column" ng-show="dashboardDetails.canUpdatePermissions=='Authorized'">
<a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-account-key"></i><span class="hide-menu">Roles - Permissions</span></a>
<ul aria-expanded="false" class="collapse">
<li><a href="roles">Roles</a></li>
<li><a href="permissions">Permissions</a></li>
</ul>
</li>
<li class="nav-devider"></li>
<li class="nav-small-cap">EXTRA COMPONENTS</li>
<li class="two-column" ng-show="dashboardDetails.syncTopicsAcls == 'Authorized' || dashboardDetails.syncBackTopics == 'Authorized' || dashboardDetails.syncConnectors == 'Authorized'">
<a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-arrange-send-backward"></i><span class="hide-menu">Synchronize</span></a>
<ul aria-expanded="false" class="collapse">
<li ng-show="dashboardDetails.syncTopicsAcls == 'Authorized'"><a href="synchronizeTopics">Topics from cluster</a></li>
<li ng-show="dashboardDetails.syncTopicsAcls == 'Authorized'"><a href="synchronizeAcls">Acls from cluster</a></li>
<li ng-show="dashboardDetails.syncBackTopics == 'Authorized'"><a href="syncBackTopics">Topics to cluster</a></li>
<li ng-show="dashboardDetails.syncBackAcls == 'Authorized'"><a href="syncBackAcls">Acls to cluster</a></li>
<li ng-show="dashboardDetails.syncSchemas == 'Authorized'"><a href="synchronizeSchemas">Schemas from cluster</a></li>
<li ng-show="dashboardDetails.syncBackSchemas == 'Authorized'"><a href="syncBackSchemas">Schemas to cluster</a></li>
<li ng-show="dashboardDetails.syncConnectors == 'Authorized'"><a href="syncConnectors">Connectors from cluster</a></li>
<li ng-show="dashboardDetails.manageConnectors == 'Authorized'"><a href="manageConnectors">Manage Connectors</a></li>
</ul>
</li>
<li class="nav-devider"></li>
<li class="nav-small-cap">EXTRA COMPONENTS</li>
<li class="active" ng-show="dashboardDetails.approveAtleastOneRequest=='Authorized'">
<a class="has-arrow " href="#" aria-expanded="false"><i class="mdi mdi-chemical-weapon"></i><span class="hide-menu">Approve</span></a>
<ul aria-expanded="false" class="collapse">
<li ng-show="dashboardDetails.approveDeclineTopics=='Authorized'"><a href="execTopics">Topic Request</a></li>
<li ng-show="dashboardDetails.approveDeclineSubscriptions=='Authorized'"><a href="execAcls">Acl Request</a></li>
<li ng-show="dashboardDetails.approveDeclineSchemas=='Authorized'"><a href="execSchemas">Schema Request</a></li>
<li ng-show="dashboardDetails.approveDeclineConnectors=='Authorized'"><a href="execConnectors">KafkaConnect Request</a></li>
<li ng-show="dashboardDetails.addUser=='Authorized'"><a href="execUsers">User Request</a></li>
</ul>
</li>
</ul>
</nav>
<!-- End Sidebar navigation -->
</div>
<div class="notificationbar" ng-show="dashboardDetails.broadcastText != ''">
<marquee>{{ dashboardDetails.broadcastText }}</marquee>
</div>
<!-- End Sidebar scroll-->
</aside>
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Container fluid -->
<!-- ============================================================== -->
<div class="container-fluid" ng-init="getMySchemaRequests(1, false);getRequestStatuses();">
<div class="row page-titles">
</div>
<div class="row" ng-show="dashboardDetails.approveDeclineSchemas!='Authorized'">
<div class="col-lg-12 col-md-6 col-xlg-2 col-xs-12" >
<div class="ribbon-wrapper card">
<div class="ribbon ribbon-warning">Notification</div>
<p class="ribbon-content">You are not authorized to access this page !!</p>
</div>
</div>
</div>
<!-- Row -->
<div class="row" ng-show="resultPages == null && alert != null && alert != ''" ng-init="">
<div class="col-lg-12 col-md-6 col-xlg-2 col-xs-12" >
<div class="ribbon-wrapper card">
<div ng-show="alert.indexOf('success') != -1" class="ribbon ribbon-success">Notification</div>
<div ng-show="alert.indexOf('success') == -1" class="ribbon ribbon-warning">Notification</div>
<p class="ribbon-content">{{ alert }}</p>
</div>
</div>
</div>
<!-- Row -->
<div class="row" ng-if="dashboardDetails.coralEnabled === 'true'">
<div class="ribbon-wrapper card col-lg-6 col-md-6 col-xlg-2 col-xs-6">
<div class="ribbon ribbon-success">New user interface available</div>
<p class="ribbon-content">
Check out the new interface for <a href="coral/approvals/schemas">Schema Approvals.</a>
</p>
</div>
</div>
<div class="row" ng-show="schemaRequests.length == 0">
<div class="col-lg-12 col-md-6 col-xlg-2 col-xs-12" >
<div class="ribbon-wrapper card">
<div class="ribbon ribbon-warning">Notification</div>
<p class="ribbon-content">No pending Schema requests !! </p>
</div>
</div>
</div>
<div class="row" ng-show="showDeclinePanel == 'true'">
<div class="col-lg-12 col-md-6 col-xlg-2 col-xs-12" >
<div class="card">
<div class="card-body">
<h4>Submit Reason to decline Schema request: {{topicForDecline}}</h4>
<input type="text" ng-model="reasonForRejection" class="form-control">
<button type="button" ng-click="declineWithReason()"
class="btn waves-effect waves-light btn-rounded btn-sm btn-danger">Decline</button>
</div>
</div>
</div>
</div>
<table width="100%">
<tr>
<td align="left" width="80%">
<h4 class="card-title">Schema Approvals</h4></td>
<td align="right" width="20%">
<div class="form-group has-success">
<label class="text-success">Filter on Status</label>
<select ng-init="requestTypeSelected = 'CREATED'" class="form-control custom-select" ng-change="onChangeRequestType(requestTypeSelected);"
ng-model="requestTypeSelected" ng-options="requestTypeStatus as requestTypeStatus for requestTypeStatus in requestTypeStatuses">
</select>
</div>
</td>
</tr>
</table>
<hr size="1" color="black">
<div align="center" ng-show="schemaRequests.length >0 && dashboardDetails.approveDeclineSchemas=='Authorized'">
<div ng-repeat="schemaRequest in schemaRequests">
<div class="row" ng-show="schemaRequest.topicname != null">
<div class="col-md-12" ng-show="schemaRequest.topicname != null">
<div class="card">
<div class="card-body">
<div>
<table width="100%">
<tr>
<td align="left"><h3 class="card-title">Topic : {{ schemaRequest.topicname }}</h3></td>
<td align="right" ng-show="schemaRequest.requestStatus == 'CREATED' && userlogged != schemaRequest.requestor">
<button type="button" ng-click="execSchemaRequest(schemaRequest.req_no);" class="btn btn-success btn-circle"><i class="fa fa-check"></i>
</button>
<button type="button" ng-click="execSchemaRequestDecline(schemaRequest.req_no);" class="btn btn-danger btn-circle"><i class="fa fa-times"></i>
</button>
</td>
</tr>
</table>
</div>
<hr size="1" color="black">
<div class="d-flex flex-row">
<div class="p-2 border-right" style="width:10%">
<h6 class="text-primary">Cluster</h6><b>
<span class="badge badge-info">{{ schemaRequest.environmentName }}</span>
</b>
</div>
<div class="p-2 border-right" style="width:10%">
<h6 class="text-primary">Requestor</h6><b>{{ schemaRequest.requestor }}</b>
</div>
<div class="p-2 border-right" style="width:15%">
<h6 class="text-primary">Team</h6><b>{{ schemaRequest.teamname }}</b>
</div>
<div ng-show="schemaRequest.requestStatus == 'CREATED'" class="p-2 border-right" style="width:10%">
<h6 class="text-primary">Status</h6><b>
<span class="badge badge-success">{{ schemaRequest.requestStatus }}</span></b>
</div>
<div ng-show="schemaRequest.requestStatus != 'CREATED'" class="p-2 border-right" style="width:10%">
<h6 class="text-primary">Status</h6><b>
<span class="badge badge-info">{{ schemaRequest.requestStatus }}</span></b>
</div>
<div ng-show="schemaRequest.requestOperationType == 'CREATE'" class="p-2 border-right" style="width:12%">
<h6 class="text-primary">Request Type</h6><b>
<span class="badge badge-info">{{ schemaRequest.requestOperationType }} Schema</span></b>
</div>
<div ng-show="schemaRequest.requestOperationType == 'UPDATE'" class="p-2 border-right" style="width:12%">
<h6 class="text-primary">Request Type</h6><b>
<span class="badge badge-primary">{{ schemaRequest.requestOperationType }} Schema</span></b>
</div>
<div ng-show="schemaRequest.requestOperationType == 'DELETE'" class="p-2 border-right" style="width:12%">
<h6 class="text-primary">Request Type</h6><b>
<span class="badge badge-danger">{{ schemaRequest.requestOperationType }} Schema</span></b>
</div>
<div class="p-2" style="width:15%">
<h6 class="text-primary">Date Requested</h6><b>{{ schemaRequest.requesttimestring }}</b>
</div>
<div class="p-2 border-left" ng-show="schemaRequest.requestStatus == 'APPROVED'" style="width:10%">
<h6 class="text-primary">Approver</h6><b>
<span class="badge badge-info">{{ schemaRequest.approver }}</span></b>
</div>
<div class="p-2 border-left" style="width:35%">
<h6 class="text-primary">Remarks</h6><b>{{ schemaRequest.remarks }}</b>
</div>
</div>
<textarea class="form-control" style="background-color:#70C6DA;color:black;" disabled rows="10">{{ schemaRequest.schemafull}}</textarea>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="dataTables_paginate paging_simple_numbers" ng-show="schemaRequests.length>0">
<ul class="pagination">
<li class="paginate_button page-item active" disabled>
<a href="#" class="page-link">Pages</a>
</li>
<li class="paginate_button page-item" ng-repeat="allPages in resultPages">
<a href="#" class="page-link" ng-click="getMySchemaRequests(allPages, false)">{{allPages}}</a>
</li>
</ul>
</div>
<div id="successbar">{{ alert }}</div>
<div id="alertbar">{{ alertnote }}</div>
<!-- ============================================================== -->
<!-- End Right sidebar -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<footer class="footer">
<a href="https://klaw-project.io">klaw-project.io</a>
</footer>
<!-- ============================================================== -->
<!-- End footer -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Page wrapper -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<script src="assets/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="assets/plugins/popper/popper.min.js"></script>
<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="assets/js/jquery.slimscroll.js"></script>
<!--Wave Effects -->
<script src="assets/js/waves.js"></script>
<!--Menu sidebar -->
<script src="assets/js/sidebarmenu.js"></script>
<!--stickey kit -->
<script src="assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="assets/plugins/sparkline/jquery.sparkline.min.js"></script>
<!--Custom JavaScript -->
<script src="assets/js/custom.min.js"></script>
<!-- ============================================================== -->
<!-- This page plugins -->
<!-- ============================================================== -->
<!--
<script src="assets/plugins/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="assets/plugins/datatables.net-bs4/js/dataTables.responsive.min.js"></script>
-->
<!-- Chart JS -->
<!-- <script src="assets/js/widget-data.js"></script> -->
<script src="assets/plugins/sweetalert/sweetalert.min.js"></script>
</body>
</html>