Skip to content

Commit

Permalink
Merge pull request #93 from shreyas1434shinde/coursePlaner
Browse files Browse the repository at this point in the history
Issue #PS-1534 feat: Foundation Course detail view UI implementation
  • Loading branch information
itsvick authored Aug 5, 2024
2 parents 14afd7d + e3daf66 commit 5fd0781
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
3 changes: 2 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@
"SESSION_TITLE": "Session Title",
"TYPE_OF_SESSION": "Type of Session",
"REPEATING": "Repeating",
"JUST_ONCE": "Just Once"
"JUST_ONCE": "Just Once",
"SUBJECT_OPTIONAL":"Subject (Optional)"
},
"MANAGE_USERS": {
"CENTERS_REQUESTED_SUCCESSFULLY": "Center Requested Successfully"
Expand Down
4 changes: 2 additions & 2 deletions src/components/FacilitatorDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const FacilitatorDrawer: React.FC<FacilitatorDrawerProps> = ({
<Box>
<Box
onClick={toggleDrawer(false)}
sx={{ padding: '20px 16px' }}
sx={{ padding: '20px 16px 0' }}
>
<Button
variant="outlined"
Expand Down Expand Up @@ -83,7 +83,7 @@ const FacilitatorDrawer: React.FC<FacilitatorDrawerProps> = ({
)}
{primary && (
<Box sx={{ width: secondary ? 'unset' : '100%' }}>
<Box sx={{ padding: '20px 16px' }}>
<Box sx={{ padding: '20px 16px 0' }}>
<Button
variant="contained"
color="primary"
Expand Down
23 changes: 23 additions & 0 deletions src/components/PlannedSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,29 @@ const PlannedSession: React.FC<PlannedModalProps> = ({
>
{t('CENTER_SESSION.SESSION_DETAILS')}
</Box>
<Box sx={{ mt: 2 }}>
<FormControl fullWidth>
<InputLabel
style={{
color: theme?.palette?.warning['A200'],
background: theme?.palette?.warning['A400'],
paddingLeft: '2px',
paddingRight: '2px',
}}
id="demo-simple-select-label"
>
{t('CENTER_SESSION.SUBJECT_OPTIONAL')}
</InputLabel>
<Select
labelId="demo-simple-select-label"
id="demo-simple-select"
label={t('CENTER_SESSION.SUBJECT_OPTIONAL')}
style={{ borderRadius: '4px' }}
>
{/* <MenuItem value={'Mathematics'}>Mathematics</MenuItem> */}
</Select>
</FormControl>
</Box>
<Box sx={{ mt: 2 }}>
<TextField
id="outlined-basic"
Expand Down

0 comments on commit 5fd0781

Please sign in to comment.