Skip to content

Commit

Permalink
Merge pull request #1 from AkshatGupta15/main-2
Browse files Browse the repository at this point in the history
ui fix + updated step1 edit proforma company side
  • Loading branch information
AkshatGupta15 authored Jun 17, 2024
2 parents af34db7 + 52c002c commit 1eecbf3
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 73 deletions.
16 changes: 8 additions & 8 deletions pages/admin/rc/[rcid]/proforma/[proformaid]/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ function View() {
>
<Stack spacing={2} alignItems="center">
<Grid container spacing={2} margin={0}>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="company-deets">
<h2 style={{ textAlign: "center" }}>Company Details</h2>
</Grid>
Expand Down Expand Up @@ -642,7 +642,7 @@ function View() {
/>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="company-deets">
<h2 style={{ textAlign: "center" }}>Internship Details</h2>
</Grid>
Expand Down Expand Up @@ -726,7 +726,7 @@ function View() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="pwd" padding={0}>
<Grid item xs={12} md={12} key="pwd" padding={0}>
<h4>Preferred period of Internship</h4>
<TextField
multiline
Expand All @@ -740,7 +740,7 @@ function View() {
/>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="pd" padding={0}>
<h2 style={{ textAlign: "center" }}>Stipend Details</h2>
</Grid>
Expand Down Expand Up @@ -784,7 +784,7 @@ function View() {
/>
</Grid>
<Grid item xs={12} md={6} key="pd">
<h3>PPO provision on Performance</h3>
<h4>PPO provision on Performance</h4>
{isFetched && (
<RichText onChange={setPd} readOnly value={pd} />
)}
Expand Down Expand Up @@ -815,8 +815,8 @@ function View() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="pd">
<h3>Tentative CTC for PPO Selects</h3>
<Grid item xs={12} md={6} key="ctc">
<h4>Tentative CTC for PPO Selects</h4>
{isFetched && (
<RichText onChange={setCtc} readOnly value={ctc} />
)}
Expand All @@ -835,7 +835,7 @@ function View() {
/>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12}>
<h2 style={{ textAlign: "center" }}>Eligibility</h2>
<MatrixExpanded data={data} />
Expand Down
16 changes: 8 additions & 8 deletions pages/company/rc/[rcid]/proforma/[proformaid]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function Index() {
>
<Stack spacing={2} alignItems="center">
<Grid container spacing={2} margin={0}>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="company-deets">
<h2 style={{ textAlign: "center" }}>Company Details</h2>
</Grid>
Expand Down Expand Up @@ -275,7 +275,7 @@ function Index() {
/>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="company-deets">
<h2 style={{ textAlign: "center" }}>Internship Details</h2>
</Grid>
Expand Down Expand Up @@ -359,7 +359,7 @@ function Index() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="pwd" padding={0}>
<Grid item xs={12} md={12} key="pwd" padding={0}>
<h4>Preferred period of Internship</h4>
<TextField
multiline
Expand All @@ -373,7 +373,7 @@ function Index() {
/>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12} md={12} key="pd" padding={0}>
<h2 style={{ textAlign: "center" }}>Stipend Details</h2>
</Grid>
Expand Down Expand Up @@ -417,7 +417,7 @@ function Index() {
/>
</Grid>
<Grid item xs={12} md={6} key="pd">
<h3>PPO provision on Performance</h3>
<h4>PPO provision on Performance</h4>
{isFetched && (
<RichText onChange={setPd} readOnly value={pd} />
)}
Expand Down Expand Up @@ -448,8 +448,8 @@ function Index() {
sx={textFieldSX}
/>
</Grid>
<Grid item xs={12} md={6} key="pd">
<h3>Tentative CTC for PPO Selects</h3>
<Grid item xs={12} md={6} key="ctc">
<h4>Tentative CTC for PPO Selects</h4>
{isFetched && (
<RichText onChange={setCtc} readOnly value={ctc} />
)}
Expand All @@ -468,7 +468,7 @@ function Index() {
/>
</Grid>
</Grid>
<Grid container spacing={2}>
<Grid container spacing={2} sx={{ marginBottom: "40px" }}>
<Grid item xs={12}>
<h2 style={{ textAlign: "center" }}>Eligibility</h2>
<MatrixExpanded data={data} />
Expand Down
Loading

0 comments on commit 1eecbf3

Please sign in to comment.