Skip to content

Commit 9ac441d

Browse files
authored
Merge pull request #1463 from topcoder-platform/dev
[PROD RELEASE] - Profile app fixes & sys-admin tweaks
2 parents 70a3396 + 47d5585 commit 9ac441d

21 files changed

Lines changed: 868 additions & 119 deletions

File tree

src/apps/admin/src/admin-app.routes.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ const ChallengeManagementPage: LazyLoadedComponent = lazyLoad(
3333
() => import('./challenge-management/ChallengeManagementPage'),
3434
'ChallengeManagementPage',
3535
)
36+
const ChallengeDetailsPage: LazyLoadedComponent = lazyLoad(
37+
() => import('./challenge-management/ChallengeDetailsPage'),
38+
'ChallengeDetailsPage',
39+
)
3640
const ManageUserPage: LazyLoadedComponent = lazyLoad(
3741
() => import('./challenge-management/ManageUserPage'),
3842
'ManageUserPage',
@@ -193,6 +197,11 @@ export const adminRoutes: ReadonlyArray<PlatformRoute> = [
193197
id: 'challenge-management-page',
194198
route: '',
195199
},
200+
{
201+
element: <ChallengeDetailsPage />,
202+
id: 'challenge-details-page',
203+
route: ':challengeId',
204+
},
196205
{
197206
element: <ManageUserPage />,
198207
id: 'manage-user',
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
@import '@libs/ui/styles/includes';
2+
3+
.container {
4+
display: flex;
5+
flex-direction: column;
6+
gap: $sp-6;
7+
}
8+
9+
.headerButtons {
10+
display: flex;
11+
flex-wrap: wrap;
12+
gap: $sp-3;
13+
justify-content: flex-end;
14+
}
15+
16+
.section {
17+
display: flex;
18+
flex-direction: column;
19+
gap: $sp-3;
20+
}
21+
22+
.sectionTitle {
23+
margin: 0;
24+
font-size: 20px;
25+
line-height: 28px;
26+
font-weight: 600;
27+
}
28+
29+
.statusRow {
30+
display: flex;
31+
align-items: flex-end;
32+
flex-wrap: wrap;
33+
gap: $sp-3;
34+
}
35+
36+
.winnersList {
37+
display: flex;
38+
flex-direction: column;
39+
gap: $sp-3;
40+
}
41+
42+
.winnerRow {
43+
display: flex;
44+
align-items: flex-end;
45+
flex-wrap: wrap;
46+
gap: $sp-3;
47+
}
48+
49+
.selectWrapper {
50+
min-width: 360px;
51+
52+
:global(.input-el) {
53+
margin-bottom: 0;
54+
}
55+
}
56+
57+
.sectionActions {
58+
display: flex;
59+
}
60+
61+
.apiResponse {
62+
margin: 0;
63+
max-height: 480px;
64+
overflow: auto;
65+
padding: $sp-4;
66+
border: 1px solid #ddd;
67+
border-radius: $sp-1;
68+
background-color: #f7f7f7;
69+
font-family: 'Courier New', Courier, monospace;
70+
font-size: 12px;
71+
line-height: 18px;
72+
}
73+
74+
.loadingSpinnerContainer {
75+
position: relative;
76+
height: 100px;
77+
margin-top: -30px;
78+
79+
.spinner {
80+
background: none;
81+
}
82+
}
83+
84+
.noData {
85+
margin: 0;
86+
color: #555;
87+
}

0 commit comments

Comments
 (0)