File tree 3 files changed +28
-15
lines changed
netmanager/src/views/pages/clients
3 files changed +28
-15
lines changed Original file line number Diff line number Diff line change 1
1
replicaCount : 2
2
2
image :
3
3
repository : eu.gcr.io/airqo-250220/airqo-stage-platform-frontend
4
- tag : stage-c37ecd9f-1710234424
4
+ tag : stage-b0c4352e-1710246064
5
5
pullPolicy : Always
6
6
imagePullSecrets : []
7
7
nameOverride : ' '
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 1
2
2
image :
3
3
repository : eu.gcr.io/airqo-250220/airqo-next-platform
4
4
pullPolicy : Always
5
- tag : prod-ab2ae2ef-1709930981
5
+ tag : prod-e612f83b-1710246011
6
6
imagePullSecrets : []
7
7
nameOverride : ' '
8
8
fullnameOverride : ' '
Original file line number Diff line number Diff line change @@ -177,7 +177,12 @@ const Index = () => {
177
177
marginBottom : 20
178
178
} } >
179
179
< div >
180
- < h3 > Client Management</ h3 >
180
+ < h3
181
+ style = { {
182
+ fontSize : window . innerWidth < 600 ? '1.5rem' : '2rem'
183
+ } } >
184
+ Client Management
185
+ </ h3 >
181
186
</ div >
182
187
< div >
183
188
< Button
@@ -211,25 +216,29 @@ const Index = () => {
211
216
render : ( row ) => (
212
217
< div >
213
218
{ row . isActive ? (
214
- < span
219
+ < div
215
220
style = { {
216
221
color : 'white' ,
217
222
padding : '6px' ,
218
223
borderRadius : '10px' ,
219
- background : 'green'
224
+ background : 'green' ,
225
+ textAlign : 'center' ,
226
+ maxWidth : '130px'
220
227
} } >
221
228
Activated
222
- </ span >
229
+ </ div >
223
230
) : (
224
- < span
231
+ < div
225
232
style = { {
226
233
color : 'white' ,
227
234
padding : '6px' ,
228
235
borderRadius : '10px' ,
229
- background : 'red'
236
+ background : 'red' ,
237
+ textAlign : 'center' ,
238
+ maxWidth : '130px'
230
239
} } >
231
240
Not Activated
232
- </ span >
241
+ </ div >
233
242
) }
234
243
</ div >
235
244
)
@@ -238,8 +247,12 @@ const Index = () => {
238
247
field : 'actions' ,
239
248
title : 'Actions' ,
240
249
render : ( row ) => (
241
- < div >
242
- < span
250
+ < div
251
+ style = { {
252
+ display : 'flex' ,
253
+ justifyContent : 'center'
254
+ } } >
255
+ < div
243
256
style = { {
244
257
margin : 2
245
258
} } >
@@ -257,13 +270,13 @@ const Index = () => {
257
270
} } >
258
271
Activate
259
272
</ Button >
260
- </ span >
261
- < span
273
+ </ div >
274
+ < div
262
275
style = { {
263
276
margin : 2
264
277
} } >
265
278
< Button
266
- disabled = { true }
279
+ disabled = { ! row . isActive }
267
280
variant = "contained"
268
281
color = "primary"
269
282
size = "small"
@@ -273,7 +286,7 @@ const Index = () => {
273
286
} } >
274
287
Deactivate
275
288
</ Button >
276
- </ span >
289
+ </ div >
277
290
</ div >
278
291
)
279
292
}
You can’t perform that action at this time.
0 commit comments