l-min-components 1.0.604 → 1.0.607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/AdminRolesPermission/assets/images/shield_big.png +0 -0
- package/src/components/AdminRolesPermission/assets/svg/close-red.jsx +18 -0
- package/src/components/AdminRolesPermission/assets/svg/close.jsx +25 -0
- package/src/components/AdminRolesPermission/assets/svg/englishFlag.jsx +37 -0
- package/src/components/AdminRolesPermission/assets/svg/frenchFlag.jsx +40 -0
- package/src/components/AdminRolesPermission/assets/svg/germanFlag.jsx +31 -0
- package/src/components/AdminRolesPermission/assets/svg/list.jsx +30 -0
- package/src/components/AdminRolesPermission/assets/svg/pencil.jsx +25 -0
- package/src/components/AdminRolesPermission/assets/svg/portugalFlag.jsx +40 -0
- package/src/components/AdminRolesPermission/create/admins.jsx +38 -1
- package/src/components/AdminRolesPermission/create/data.js +279 -104
- package/src/components/AdminRolesPermission/create/index.styled.js +70 -1
- package/src/components/AdminRolesPermission/create/permissions.jsx +110 -4
- package/src/components/AdminRolesPermission/index.jsx +123 -2
- package/src/components/AdminRolesPermission/index.styled.js +192 -0
- package/src/components/AdminRolesPermission/modals/index.styled.js +126 -0
- package/src/components/AdminRolesPermission/modals/preview-modal.jsx +89 -0
- package/src/components/AdminRolesPermission/preview-panels/admins-panel.jsx +50 -0
- package/src/components/AdminRolesPermission/preview-panels/assignees-panel.jsx +62 -0
- package/src/components/AdminRolesPermission/preview-panels/index.styled.js +320 -0
- package/src/components/AdminRolesPermission/preview-panels/unassigned.jsx +37 -0
- package/src/components/AdminSecuritySettings/2fa/index.styled.js +0 -1
- package/src/components/AdminSecuritySettings/index.styled.js +1 -0
- package/src/components/AdminSecuritySettings/modals/otp-password-modal.jsx +0 -1
- package/src/components/AdminSecuritySettings/password/change-password.jsx +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import avatar from "../assets/images/avatar.png"
|
|
1
|
+
import avatar from "../assets/images/avatar.png";
|
|
2
2
|
|
|
3
3
|
export const permissionsData = [
|
|
4
4
|
{
|
|
@@ -22,108 +22,283 @@ export const permissionsData = [
|
|
|
22
22
|
];
|
|
23
23
|
|
|
24
24
|
export const roleList = [
|
|
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
|
-
|
|
25
|
+
{
|
|
26
|
+
name: "Statistics",
|
|
27
|
+
level: 3,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "CMS",
|
|
31
|
+
level: 3,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "Support",
|
|
35
|
+
level: 3,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "Admin",
|
|
39
|
+
level: 3,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "Statistics",
|
|
43
|
+
level: 3,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "Statistics",
|
|
47
|
+
level: 3,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "Statistics",
|
|
51
|
+
level: 3,
|
|
52
|
+
},
|
|
53
|
+
];
|
|
55
54
|
|
|
56
55
|
export const adminList = [
|
|
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
|
-
]
|
|
56
|
+
{
|
|
57
|
+
name: "Acme Co.",
|
|
58
|
+
status: "Unassigned",
|
|
59
|
+
image: avatar,
|
|
60
|
+
selection: false,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "Acme Co.",
|
|
64
|
+
status: "Unassigned",
|
|
65
|
+
image: avatar,
|
|
66
|
+
selection: false,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "Acme Co.",
|
|
70
|
+
status: "Unassigned",
|
|
71
|
+
image: avatar,
|
|
72
|
+
selection: false,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: "Acme Co.",
|
|
76
|
+
status: "Unassigned",
|
|
77
|
+
image: avatar,
|
|
78
|
+
selection: false,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "Acme Co.",
|
|
82
|
+
status: "Unassigned",
|
|
83
|
+
image: avatar,
|
|
84
|
+
selection: false,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "Acme Co.",
|
|
88
|
+
status: "Unassigned",
|
|
89
|
+
image: avatar,
|
|
90
|
+
selection: false,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: "Acme Co.",
|
|
94
|
+
status: "Unassigned",
|
|
95
|
+
image: avatar,
|
|
96
|
+
selection: false,
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: "Acme Co.",
|
|
100
|
+
status: "Unassigned",
|
|
101
|
+
image: avatar,
|
|
102
|
+
selection: false,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "Acme Co.",
|
|
106
|
+
status: "Unassigned",
|
|
107
|
+
image: avatar,
|
|
108
|
+
selection: false,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: "Acme Co.",
|
|
112
|
+
status: "Unassigned",
|
|
113
|
+
image: avatar,
|
|
114
|
+
selection: false,
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: "Acme Co.",
|
|
118
|
+
status: "Unassigned",
|
|
119
|
+
image: avatar,
|
|
120
|
+
selection: false,
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: "Acme Co.",
|
|
124
|
+
status: "Unassigned",
|
|
125
|
+
image: avatar,
|
|
126
|
+
selection: false,
|
|
127
|
+
},
|
|
128
|
+
];
|
|
129
|
+
|
|
130
|
+
export const adminPanelList = [
|
|
131
|
+
{
|
|
132
|
+
name: "Acme Co.",
|
|
133
|
+
status: "Support",
|
|
134
|
+
image: avatar,
|
|
135
|
+
selection: false,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: "Acme Co.",
|
|
139
|
+
status: "Support",
|
|
140
|
+
image: avatar,
|
|
141
|
+
selection: false,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "Acme Co.",
|
|
145
|
+
status: "Support",
|
|
146
|
+
image: avatar,
|
|
147
|
+
selection: false,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "Acme Co.",
|
|
151
|
+
status: "Support",
|
|
152
|
+
image: avatar,
|
|
153
|
+
selection: false,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "Acme Co.",
|
|
157
|
+
status: "Support",
|
|
158
|
+
image: avatar,
|
|
159
|
+
selection: false,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "Acme Co.",
|
|
163
|
+
status: "Support",
|
|
164
|
+
image: avatar,
|
|
165
|
+
selection: false,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: "Acme Co.",
|
|
169
|
+
status: "Support",
|
|
170
|
+
image: avatar,
|
|
171
|
+
selection: false,
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "Acme Co.",
|
|
175
|
+
status: "Support",
|
|
176
|
+
image: avatar,
|
|
177
|
+
selection: false,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: "Acme Co.",
|
|
181
|
+
status: "Support",
|
|
182
|
+
image: avatar,
|
|
183
|
+
selection: false,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "Acme Co.",
|
|
187
|
+
status: "Support",
|
|
188
|
+
image: avatar,
|
|
189
|
+
selection: false,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: "Acme Co.",
|
|
193
|
+
status: "Support",
|
|
194
|
+
image: avatar,
|
|
195
|
+
selection: false,
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "Acme Co.",
|
|
199
|
+
status: "Support",
|
|
200
|
+
image: avatar,
|
|
201
|
+
selection: false,
|
|
202
|
+
},
|
|
203
|
+
];
|
|
204
|
+
|
|
205
|
+
export const categoryList = [
|
|
206
|
+
{
|
|
207
|
+
selection: false,
|
|
208
|
+
name: "Manager",
|
|
209
|
+
permissions: "120",
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
selection: false,
|
|
213
|
+
name: "Marketer",
|
|
214
|
+
permissions: "35",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
selection: false,
|
|
218
|
+
name: "Customer Care",
|
|
219
|
+
permissions: "57",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
selection: false,
|
|
223
|
+
name: "Support",
|
|
224
|
+
permissions: "49",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
selection: false,
|
|
228
|
+
name: "Accountant",
|
|
229
|
+
permissions: "51",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
selection: false,
|
|
233
|
+
name: "CFO",
|
|
234
|
+
permissions: "76",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
selection: false,
|
|
238
|
+
name: "Admin",
|
|
239
|
+
permissions: "102",
|
|
240
|
+
},
|
|
241
|
+
];
|
|
242
|
+
|
|
243
|
+
export const assigneeList = [
|
|
244
|
+
{
|
|
245
|
+
name: "Saul Hayes",
|
|
246
|
+
email: "saulhayes@learngual.com",
|
|
247
|
+
image: avatar,
|
|
248
|
+
date: "November 3 2023 | 10:00am",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: "Saul Hayes",
|
|
252
|
+
email: "saulhayes@learngual.com",
|
|
253
|
+
image: avatar,
|
|
254
|
+
date: "November 3 2023 | 10:00am",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "Saul Hayes",
|
|
258
|
+
email: "saulhayes@learngual.com",
|
|
259
|
+
image: avatar,
|
|
260
|
+
date: "November 3 2023 | 10:00am",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: "Saul Hayes",
|
|
264
|
+
email: "saulhayes@learngual.com",
|
|
265
|
+
image: avatar,
|
|
266
|
+
date: "November 3 2023 | 10:00am",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: "Saul Hayes",
|
|
270
|
+
email: "saulhayes@learngual.com",
|
|
271
|
+
image: avatar,
|
|
272
|
+
date: "November 3 2023 | 10:00am",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: "Saul Hayes",
|
|
276
|
+
email: "saulhayes@learngual.com",
|
|
277
|
+
image: avatar,
|
|
278
|
+
date: "November 3 2023 | 10:00am",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: "Saul Hayes",
|
|
282
|
+
email: "saulhayes@learngual.com",
|
|
283
|
+
image: avatar,
|
|
284
|
+
date: "November 3 2023 | 10:00am",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: "Saul Hayes",
|
|
288
|
+
email: "saulhayes@learngual.com",
|
|
289
|
+
image: avatar,
|
|
290
|
+
date: "November 3 2023 | 10:00am",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
name: "Saul Hayes",
|
|
294
|
+
email: "saulhayes@learngual.com",
|
|
295
|
+
image: avatar,
|
|
296
|
+
date: "November 3 2023 | 10:00am",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: "Saul Hayes",
|
|
300
|
+
email: "saulhayes@learngual.com",
|
|
301
|
+
image: avatar,
|
|
302
|
+
date: "November 3 2023 | 10:00am",
|
|
303
|
+
},
|
|
304
|
+
];
|
|
@@ -215,6 +215,19 @@ export const PermissionsAccordion = styled.div`
|
|
|
215
215
|
align-items: center;
|
|
216
216
|
justify-content: center;
|
|
217
217
|
}
|
|
218
|
+
|
|
219
|
+
.rc_sl {
|
|
220
|
+
display: flex;
|
|
221
|
+
gap: 8px;
|
|
222
|
+
align-items: center;
|
|
223
|
+
.adm_check > span {
|
|
224
|
+
border-radius: 8px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.rc-accordion-icon {
|
|
228
|
+
margin-left: 12px;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
218
231
|
}
|
|
219
232
|
|
|
220
233
|
.rc-collapse {
|
|
@@ -222,6 +235,61 @@ export const PermissionsAccordion = styled.div`
|
|
|
222
235
|
height: 0;
|
|
223
236
|
overflow: hidden;
|
|
224
237
|
transition: height 0.35s ease;
|
|
238
|
+
|
|
239
|
+
.rc_body_main {
|
|
240
|
+
border-bottom: 1px solid #d9d9d9;
|
|
241
|
+
padding: 10px 0;
|
|
242
|
+
|
|
243
|
+
.rcb_header {
|
|
244
|
+
color: #616161;
|
|
245
|
+
font-size: 16px;
|
|
246
|
+
font-weight: 400;
|
|
247
|
+
line-height: normal;
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
gap: 16px;
|
|
251
|
+
justify-content: space-between;
|
|
252
|
+
margin-bottom: 12px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.rcb_body {
|
|
256
|
+
display: flex;
|
|
257
|
+
gap: 20px;
|
|
258
|
+
justify-content: space-between;
|
|
259
|
+
|
|
260
|
+
.rcb_lang_list {
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
flex-wrap: wrap;
|
|
264
|
+
gap: 8px;
|
|
265
|
+
|
|
266
|
+
.rcb_lang_box {
|
|
267
|
+
border-radius: 48px;
|
|
268
|
+
background: #dfe5e5;
|
|
269
|
+
padding: 6px;
|
|
270
|
+
height: 31px;
|
|
271
|
+
display: flex;
|
|
272
|
+
align-items: center;
|
|
273
|
+
gap: 6px;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
.sel_lang_dropdown {
|
|
277
|
+
width: 230px;
|
|
278
|
+
height: 44px;
|
|
279
|
+
display: flex;
|
|
280
|
+
align-items: center;
|
|
281
|
+
justify-content: space-between;
|
|
282
|
+
padding: 10px 20px;
|
|
283
|
+
color: #adb2b2;
|
|
284
|
+
font-size: 16px;
|
|
285
|
+
font-weight: 400;
|
|
286
|
+
letter-spacing: 0.32px;
|
|
287
|
+
border-radius: 12px;
|
|
288
|
+
border: 1px solid #c6cccc;
|
|
289
|
+
background: #fff;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
225
293
|
}
|
|
226
294
|
.rc-collapse.show {
|
|
227
295
|
height: auto;
|
|
@@ -258,7 +326,7 @@ export const AdminsContainer = styled.div`
|
|
|
258
326
|
justify-content: space-between;
|
|
259
327
|
|
|
260
328
|
.ad_drop_filter {
|
|
261
|
-
|
|
329
|
+
position: relative;
|
|
262
330
|
}
|
|
263
331
|
|
|
264
332
|
.ad_filter_box {
|
|
@@ -339,6 +407,7 @@ export const AdminsContainer = styled.div`
|
|
|
339
407
|
color: #949999;
|
|
340
408
|
font-size: 12px;
|
|
341
409
|
font-weight: 600;
|
|
410
|
+
cursor: pointer;
|
|
342
411
|
}
|
|
343
412
|
}
|
|
344
413
|
}
|
|
@@ -3,10 +3,21 @@ import { PermissionsAccordion, PermissionsContainer } from "./index.styled";
|
|
|
3
3
|
import ButtonComponent from "../../button";
|
|
4
4
|
import { permissionsData } from "./data";
|
|
5
5
|
import { IoChevronDown } from "react-icons/io5";
|
|
6
|
+
import Checkbox from "../../checkBoxes/checkbox/index2";
|
|
7
|
+
import { EnglishFlag } from "../assets/svg/englishFlag";
|
|
8
|
+
import { CloseRedIcon } from "../assets/svg/close-red";
|
|
9
|
+
import { PortugalFlag } from "../assets/svg/portugalFlag";
|
|
10
|
+
import { FrenchFlag } from "../assets/svg/frenchFlag";
|
|
11
|
+
import { GermanFlag } from "../assets/svg/germanFlag";
|
|
12
|
+
import ToggleButtonComponent from "../../toggle button";
|
|
13
|
+
import { FaChevronDown } from "react-icons/fa";
|
|
14
|
+
import PreviewModal from "../modals/preview-modal";
|
|
6
15
|
|
|
7
16
|
const Permissions = () => {
|
|
8
17
|
const contentEl = useRef();
|
|
9
18
|
const [active, setActive] = useState(null);
|
|
19
|
+
const [toggleValue, setToggleValue] = useState(false);
|
|
20
|
+
const [addModal, setAddModal] = useState(false);
|
|
10
21
|
|
|
11
22
|
const handleToggle = (index) => {
|
|
12
23
|
if (active === index) {
|
|
@@ -24,6 +35,7 @@ const Permissions = () => {
|
|
|
24
35
|
styles={{ width: "120px", padding: 10, height: 40 }}
|
|
25
36
|
onClick={(e) => {
|
|
26
37
|
e.preventDefault();
|
|
38
|
+
setAddModal(true)
|
|
27
39
|
}}
|
|
28
40
|
/>
|
|
29
41
|
</div>
|
|
@@ -39,19 +51,113 @@ const Permissions = () => {
|
|
|
39
51
|
>
|
|
40
52
|
{item?.title}
|
|
41
53
|
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
54
|
+
<div className="rc_sl" >
|
|
55
|
+
{active === idx && (
|
|
56
|
+
<span onClick={(e) => {
|
|
57
|
+
e.stopPropagation();
|
|
58
|
+
}}>
|
|
59
|
+
<Checkbox
|
|
60
|
+
label=""
|
|
61
|
+
color="#ff9900"
|
|
62
|
+
defaultValue={false}
|
|
63
|
+
// onChange={handleChange}
|
|
64
|
+
className="adm_check"
|
|
65
|
+
/>
|
|
66
|
+
All Permissions
|
|
67
|
+
</span>
|
|
68
|
+
)}
|
|
69
|
+
|
|
70
|
+
<span className="rc-accordion-icon">
|
|
71
|
+
<IoChevronDown />
|
|
72
|
+
</span>
|
|
73
|
+
</div>
|
|
45
74
|
</div>
|
|
46
75
|
|
|
47
76
|
<div
|
|
48
77
|
ref={contentEl}
|
|
49
78
|
className={`rc-collapse ${active === idx ? "show" : ""}`}
|
|
50
79
|
style={active === idx ? { height: "auto" } : { height: "0px" }}
|
|
51
|
-
|
|
80
|
+
>
|
|
81
|
+
<div className="rc_body_main">
|
|
82
|
+
<div className="rcb_header">
|
|
83
|
+
Permission to create content in any base language
|
|
84
|
+
<div className="rc_toggle">
|
|
85
|
+
<ToggleButtonComponent
|
|
86
|
+
value={toggleValue}
|
|
87
|
+
// onClick={() => setToggleValue(!toggleValue)}
|
|
88
|
+
/>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div className="rcb_body">
|
|
93
|
+
<div className="rcb_lang_list">
|
|
94
|
+
<div className="rcb_lang_box">
|
|
95
|
+
<EnglishFlag /> English US <CloseRedIcon />
|
|
96
|
+
</div>
|
|
97
|
+
<div className="rcb_lang_box">
|
|
98
|
+
<PortugalFlag />
|
|
99
|
+
Portugese
|
|
100
|
+
<CloseRedIcon />
|
|
101
|
+
</div>
|
|
102
|
+
<div className="rcb_lang_box">
|
|
103
|
+
<FrenchFlag /> French <CloseRedIcon />
|
|
104
|
+
</div>
|
|
105
|
+
<div className="rcb_lang_box">
|
|
106
|
+
<GermanFlag /> German
|
|
107
|
+
<CloseRedIcon />
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<div className="sel_lang_dropdown">
|
|
112
|
+
Select Language <FaChevronDown />{" "}
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
<div className="rc_body_main">
|
|
117
|
+
<div className="rcb_header">
|
|
118
|
+
Permission to review versions of a base language’s content -
|
|
119
|
+
level 1
|
|
120
|
+
<div className="rc_toggle">
|
|
121
|
+
<ToggleButtonComponent />
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
<div className="rcb_body">
|
|
126
|
+
<div className="rcb_lang_list">
|
|
127
|
+
<div className="rcb_lang_box">
|
|
128
|
+
<EnglishFlag /> English US <CloseRedIcon />
|
|
129
|
+
</div>
|
|
130
|
+
<div className="rcb_lang_box">
|
|
131
|
+
<PortugalFlag />
|
|
132
|
+
Portugese
|
|
133
|
+
<CloseRedIcon />
|
|
134
|
+
</div>
|
|
135
|
+
<div className="rcb_lang_box">
|
|
136
|
+
<FrenchFlag /> French <CloseRedIcon />
|
|
137
|
+
</div>
|
|
138
|
+
<div className="rcb_lang_box">
|
|
139
|
+
<GermanFlag /> German
|
|
140
|
+
<CloseRedIcon />
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<div className="sel_lang_dropdown">
|
|
145
|
+
Select Language <FaChevronDown />{" "}
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
52
150
|
</PermissionsAccordion>
|
|
53
151
|
))}
|
|
54
152
|
</div>
|
|
153
|
+
|
|
154
|
+
<PreviewModal
|
|
155
|
+
isOpen={addModal}
|
|
156
|
+
onRequestClose={() => setAddModal(false)}
|
|
157
|
+
title={"Are you sure you want to add these permissions to this role?"}
|
|
158
|
+
secondaryButtonText={"No, Cancel"}
|
|
159
|
+
primaryButtonText={"Yes, Add"}
|
|
160
|
+
/>
|
|
55
161
|
</PermissionsContainer>
|
|
56
162
|
);
|
|
57
163
|
};
|