Skip to content

Commit

Permalink
Merge pull request #2200 from gordon-cs/hl-fontstyle
Browse files Browse the repository at this point in the history
remove the JSON array button and console log, making the column name …
  • Loading branch information
andrew-wzj authored Mar 25, 2024
2 parents 9797f54 + 7e4cc86 commit 0017730
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
20 changes: 5 additions & 15 deletions src/views/HousingLottery/adminView/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ const AdminView = () => {
housingService.getDueDate().then(setDueDate);
}, []);

const handleClick = async () => {
console.log(preference);
console.log(preferredHall);
console.log(applicant);
console.log(schoolYear);
};

const handleDateChange = (event) => {
let input = event.target.value.replace(/\D/g, '');

Expand Down Expand Up @@ -231,11 +224,11 @@ const AdminView = () => {
},
}}
>
<TableCell>Lottery Number</TableCell>
<TableCell>Applicants</TableCell>
<TableCell>Preferred Halls</TableCell>
<TableCell>Preferences</TableCell>
<TableCell>Class Standing</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Lottery Number</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Applicants</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Preferred Halls</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Preferences</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Class Standing</TableCell>
</TableRow>
</TableHead>
<TableBody>
Expand Down Expand Up @@ -333,9 +326,6 @@ const AdminView = () => {
</TableContainer>
</CardContent>
</Card>
<Button className={styles.submit_button} variant="contained" onClick={handleClick}>
click to see Json Array (transitory button)
</Button>
</Grid>
<GordonSnackbar
open={snackbar.open}
Expand Down
13 changes: 0 additions & 13 deletions src/views/HousingLottery/studentView/Instructions/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ const Instructions = () => {
return (

<div>
<Typography variant="h4" gutterBottom className={styles.instructionsHeading}>
Instructions (As easy as 1, 2, 3!)
</Typography>
<Typography variant="body1" paragraph className={styles.instructionsContent}>
1. Review FAQs
</Typography>
<Typography variant="body1" paragraph className={styles.instructionsContent}>
2. Access questionnaire
</Typography>
<Typography variant="body1" paragraph className={styles.instructionsContent}>
3. Complete questionnaire by providing name(s), email(s), and housing preferences by Friday, Apr. 21 at noon.
</Typography>

<Accordion>
<AccordionSummary
className={styles.housing_card_header}
Expand Down

0 comments on commit 0017730

Please sign in to comment.