Skip to content

Commit 917c20e

Browse files
authored
Merge pull request #1901 from airqo-platform/staging
move to production
2 parents e612f83 + 02335c7 commit 917c20e

File tree

3 files changed

+28
-15
lines changed

3 files changed

+28
-15
lines changed

Diff for: k8s/netmanager/values-stage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
replicaCount: 2
22
image:
33
repository: eu.gcr.io/airqo-250220/airqo-stage-platform-frontend
4-
tag: stage-c37ecd9f-1710234424
4+
tag: stage-b0c4352e-1710246064
55
pullPolicy: Always
66
imagePullSecrets: []
77
nameOverride: ''

Diff for: k8s/platform/values-prod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ replicaCount: 1
22
image:
33
repository: eu.gcr.io/airqo-250220/airqo-next-platform
44
pullPolicy: Always
5-
tag: prod-ab2ae2ef-1709930981
5+
tag: prod-e612f83b-1710246011
66
imagePullSecrets: []
77
nameOverride: ''
88
fullnameOverride: ''

Diff for: netmanager/src/views/pages/clients/index.js

+26-13
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,12 @@ const Index = () => {
177177
marginBottom: 20
178178
}}>
179179
<div>
180-
<h3>Client Management</h3>
180+
<h3
181+
style={{
182+
fontSize: window.innerWidth < 600 ? '1.5rem' : '2rem'
183+
}}>
184+
Client Management
185+
</h3>
181186
</div>
182187
<div>
183188
<Button
@@ -211,25 +216,29 @@ const Index = () => {
211216
render: (row) => (
212217
<div>
213218
{row.isActive ? (
214-
<span
219+
<div
215220
style={{
216221
color: 'white',
217222
padding: '6px',
218223
borderRadius: '10px',
219-
background: 'green'
224+
background: 'green',
225+
textAlign: 'center',
226+
maxWidth: '130px'
220227
}}>
221228
Activated
222-
</span>
229+
</div>
223230
) : (
224-
<span
231+
<div
225232
style={{
226233
color: 'white',
227234
padding: '6px',
228235
borderRadius: '10px',
229-
background: 'red'
236+
background: 'red',
237+
textAlign: 'center',
238+
maxWidth: '130px'
230239
}}>
231240
Not Activated
232-
</span>
241+
</div>
233242
)}
234243
</div>
235244
)
@@ -238,8 +247,12 @@ const Index = () => {
238247
field: 'actions',
239248
title: 'Actions',
240249
render: (row) => (
241-
<div>
242-
<span
250+
<div
251+
style={{
252+
display: 'flex',
253+
justifyContent: 'center'
254+
}}>
255+
<div
243256
style={{
244257
margin: 2
245258
}}>
@@ -257,13 +270,13 @@ const Index = () => {
257270
}}>
258271
Activate
259272
</Button>
260-
</span>
261-
<span
273+
</div>
274+
<div
262275
style={{
263276
margin: 2
264277
}}>
265278
<Button
266-
disabled={true}
279+
disabled={!row.isActive}
267280
variant="contained"
268281
color="primary"
269282
size="small"
@@ -273,7 +286,7 @@ const Index = () => {
273286
}}>
274287
Deactivate
275288
</Button>
276-
</span>
289+
</div>
277290
</div>
278291
)
279292
}

0 commit comments

Comments
 (0)