|
|
@ -19,7 +19,7 @@ const PublicBoard = () => {
|
|
|
|
const [totalCount, setTotalCount] = useState(0);
|
|
|
|
const [totalCount, setTotalCount] = useState(0);
|
|
|
|
const [rowsState, setRowsState] = useState({
|
|
|
|
const [rowsState, setRowsState] = useState({
|
|
|
|
page: 0,
|
|
|
|
page: 0,
|
|
|
|
pageSize: 5,
|
|
|
|
pageSize: 10,
|
|
|
|
rows: []
|
|
|
|
rows: []
|
|
|
|
// loading: false
|
|
|
|
// loading: false
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -74,129 +74,6 @@ const PublicBoard = () => {
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<MainCard>
|
|
|
|
<MainCard>
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Name :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField fullWidth placeholder="Enter full name" />
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Email :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField fullWidth placeholder="Enter email" />
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Password :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField
|
|
|
|
|
|
|
|
type="password"
|
|
|
|
|
|
|
|
fullWidth
|
|
|
|
|
|
|
|
placeholder="Enter Password"
|
|
|
|
|
|
|
|
InputProps={{
|
|
|
|
|
|
|
|
startAdornment: (
|
|
|
|
|
|
|
|
<InputAdornment position="start">
|
|
|
|
|
|
|
|
<LockTwoToneIcon />
|
|
|
|
|
|
|
|
</InputAdornment>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Contact :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField fullWidth placeholder="Enter contact number" />
|
|
|
|
|
|
|
|
{/* <FormHelperText>Please enter your contact</FormHelperText> */}
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Profile URL :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField
|
|
|
|
|
|
|
|
fullWidth
|
|
|
|
|
|
|
|
placeholder="Please enter your Profile URL"
|
|
|
|
|
|
|
|
InputProps={{
|
|
|
|
|
|
|
|
endAdornment: (
|
|
|
|
|
|
|
|
<InputAdornment position="end">
|
|
|
|
|
|
|
|
<LinkTwoToneIcon />
|
|
|
|
|
|
|
|
</InputAdornment>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Pincode :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField fullWidth placeholder="Enter your postcode" />
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
Address :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<TextField fullWidth placeholder="Enter your address" />
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} lg={4}>
|
|
|
|
|
|
|
|
<Grid container spacing={2} alignItems="center">
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={3} lg={4} sx={{ pt: { xs: 2, sm: '0 !important' } }}>
|
|
|
|
|
|
|
|
<InputLabel horizontal sx={{ textAlign: { xs: 'left', sm: 'right' } }}>
|
|
|
|
|
|
|
|
User Type :
|
|
|
|
|
|
|
|
</InputLabel>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12} sm={9} lg={8}>
|
|
|
|
|
|
|
|
<RadioGroup aria-label="gender" name="controlled-radio-buttons-group">
|
|
|
|
|
|
|
|
<FormControlLabel value="female" control={<Radio />} label="Administrator" />
|
|
|
|
|
|
|
|
<FormControlLabel value="male" control={<Radio />} label="Author" />
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
<Grid item xs={12}>
|
|
|
|
<Grid item xs={12}>
|
|
|
|
<Divider />
|
|
|
|
<Divider />
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|