forked from KelvinTegelaar/CIPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EditApp.html
114 lines (103 loc) · 5.18 KB
/
EditApp.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
<main>
<form name="edituserform" id="Userform">
<header class="page-header page-header-compact page-header-light border-bottom bg-white mb-4">
<div class="container-xl px-4">
<div class="page-header-content">
<div class="row align-items-center justify-content-between pt-3">
<div class="col-auto mb-3">
<h1 class="page-header-title">
<div class="page-header-icon"><i data-feather="user-plus"></i></div>
Edit App
</h1>
</div>
<div class="col-12 col-xl-auto mb-3">
<a class="btn btn-sm btn-light text-primary" href="index.html?page=AllAppList">
<i class="me-1" data-feather="arrow-left"></i>
Back to Apps
</a>
</div>
</div>
</div>
</div>
</header>
<!-- Main page content-->
<div class="container-xl px-4 mt-4">
<div class="row">
<div class="col-6">
<!-- Account details card-->
<div class="card mb-4">
<div class="card-header">App details</div>
<div class="card-body">
<!-- Form Row-->
<div class="row gx-3 mb-3">
</div>
<input id="AppID" type="hidden" value="" name="AppID" />
<input id="tenantID" type="hidden" value="" name="tenantID" />
<!-- Form Group (email address)-->
<!-- Form Group (Group Selection Checkboxes)-->
<!-- Form Group (Roles)-->
<div class="mb-3">
<label class="small mb-1" for="RemoveMember">Remove member</label>
<textarea name="RemoveMember" class="form-control" id="RemoveMember" type="email"
placeholder="Enter one e-mail per line, leave blank if no changes are to be made."
value=""></textarea>
</div> <!-- Submit button-->
<div class="mb-3">
<label class="small mb-1" for="AddMember">Add
Member</label>
<textarea name="AddMember" class="form-control" id="AddMember" type="email"
placeholder="Enter one e-mail per line, leave blank if no changes are to be made."
value=""></textarea>
</div> <!-- Submit button-->
<button class="btn btn-primary" onclick='PostForm("Userform","api/EditGroup")'
type="button">Edit
group</button>
</div>
</div>
</div>
<div class=col-6>
<div class="card mb-4">
<div class="card-header">Group Membership</div>
<div class="card-body">These are the current members; <div class="mb-3">
<section id="currentMembers">
</section>
</div>
</div>
</div>
<div class="card mb-4">
<div class="card-header">Group information</div>
<div class="card-body">This is the (raw) information for this group; <div class="mb-3">
<pre id="RawJson">
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<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>
</main>
<script src="js/GroupFormOptions.js"></script>