@@ -22,7 +22,7 @@ const Logo = () => { | |||||
* | * | ||||
*/ | */ | ||||
<> | <> | ||||
<svg width="130" height="85" viewBox="20 0 10 35" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||||
<svg width="130" height="85" viewBox="20 -1 10 35" fill="none" xmlns="http://www.w3.org/2000/svg"> | |||||
<defs> | <defs> | ||||
<clipPath id="clipPath22"> | <clipPath id="clipPath22"> | ||||
<path d="m0 256h213v-256h-213z"/> | <path d="m0 256h213v-256h-213z"/> | ||||
@@ -366,6 +366,7 @@ function Header(props) { | |||||
justifyContent="flex-start" | justifyContent="flex-start" | ||||
alignItems="center" | alignItems="center" | ||||
spacing={0} | spacing={0} | ||||
// sx={{width:{xs:'100%',md:'25%'}}} | |||||
> | > | ||||
<Box sx={{ width: '260px', flexGrow: 1, display: { xs: 'none', sm: 'none', md: 'block' } }}> | <Box sx={{ width: '260px', flexGrow: 1, display: { xs: 'none', sm: 'none', md: 'block' } }}> | ||||
<Stack direction="row" justifyContent="flex-start" alignItems="center"> | <Stack direction="row" justifyContent="flex-start" alignItems="center"> | ||||
@@ -411,12 +412,17 @@ function Header(props) { | |||||
</ul> | </ul> | ||||
<Grid item> | <Grid item> | ||||
<Grid container direction="row" > | |||||
<Grid container direction="column" | |||||
justifyContent="flex-end" | |||||
alignItems="center" | |||||
> | |||||
{ | { | ||||
isGLDLoggedIn() ? | isGLDLoggedIn() ? | ||||
<Grid item /> | <Grid item /> | ||||
: | : | ||||
<LocaleSelector /> | |||||
<Grid item> | |||||
<LocaleSelector /> | |||||
</Grid> | |||||
} | } | ||||
{/*<Profile />*/} | {/*<Profile />*/} | ||||
</Grid> | </Grid> | ||||
@@ -451,9 +457,11 @@ function Header(props) { | |||||
justifyContent="flex-start" | justifyContent="flex-start" | ||||
alignItems="center" | alignItems="center" | ||||
spacing={0} | spacing={0} | ||||
// width="100%" | |||||
sx={{width:{xs:'100%',md:'25%'}}} | |||||
> | > | ||||
<Box sx={{ flexGrow: 1, display: { xs: 'none', sm: 'none', md: 'block' } }}> | <Box sx={{ flexGrow: 1, display: { xs: 'none', sm: 'none', md: 'block' } }}> | ||||
<Stack direction="row" justifyContent="flex-start" alignItems="center"> | |||||
<Stack direction="row" justifyContent="flex-start" alignItems="center" > | |||||
<Logo /> | <Logo /> | ||||
<Stack justifyContent="flex-start" alignItems="center"> | <Stack justifyContent="flex-start" alignItems="center"> | ||||
<span id="systemTitle"> | <span id="systemTitle"> | ||||
@@ -473,9 +481,9 @@ function Header(props) { | |||||
</IconButton> | </IconButton> | ||||
<Box sx={{ flexGrow: 1, mr: 2, display: { sm: 'block', md: 'none' } }}> | <Box sx={{ flexGrow: 1, mr: 2, display: { sm: 'block', md: 'none' } }}> | ||||
<Stack direction="row" justifyContent="space-between" alignItems="center"> | |||||
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> | |||||
<MobileLogo /> | <MobileLogo /> | ||||
<Stack justifyContent="flex-start" alignItems="center"> | |||||
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> | |||||
<span id="mobileTitle"> | <span id="mobileTitle"> | ||||
<FormattedMessage id="PNSPS" /> | <FormattedMessage id="PNSPS" /> | ||||
</span> | </span> | ||||
@@ -10,7 +10,7 @@ import { | |||||
import * as React from "react"; | import * as React from "react"; | ||||
import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png' | import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png' | ||||
import ForwardIcon from '@mui/icons-material/Forward'; | |||||
// import ForwardIcon from '@mui/icons-material/Forward'; | |||||
import MainCard from 'components/MainCard'; | import MainCard from 'components/MainCard'; | ||||
@@ -51,7 +51,7 @@ const AfterForgotPasswordPage = () => { | |||||
</Stack> | </Stack> | ||||
</div> | </div> | ||||
</Grid> | </Grid> | ||||
<Grid item xs={12} width={{xs:"90%", sm:"90%", md:"60%", lg:"60%"}}> | |||||
{/* <Grid item xs={12} width={{xs:"90%", sm:"90%", md:"60%", lg:"60%"}}> | |||||
<Button | <Button | ||||
aria-label={intl.formatMessage({id: 'back'})} | aria-label={intl.formatMessage({id: 'back'})} | ||||
title={intl.formatMessage({id: 'back'})} | title={intl.formatMessage({id: 'back'})} | ||||
@@ -59,7 +59,7 @@ const AfterForgotPasswordPage = () => { | |||||
> | > | ||||
<ForwardIcon style={{ height: 30, width: 50, transform: "rotate(180deg)" }} /> | <ForwardIcon style={{ height: 30, width: 50, transform: "rotate(180deg)" }} /> | ||||
</Button> | </Button> | ||||
</Grid> | |||||
</Grid> */} | |||||
{/* <Grid item xs={12}> | {/* <Grid item xs={12}> | ||||
<Typography variant="pnspsFormParagraphBold">申請公共啟事</Typography> | <Typography variant="pnspsFormParagraphBold">申請公共啟事</Typography> | ||||
</Grid> */} | </Grid> */} | ||||
@@ -77,7 +77,7 @@ const AfterForgotPasswordPage = () => { | |||||
border={false} | border={false} | ||||
boxShadow | boxShadow | ||||
> | > | ||||
<Grid container spacing={4} sx={{ minHeight: {xs:"80vh", sm:"70vh", md: "70vh", lg:"70vh", xl:"50vh"} }} direction="column" justifyContent="flex-start" alignItems="center"> | |||||
<Grid container spacing={4} sx={{ minHeight: {xs:"80vh", sm:"70vh", md: "70vh", lg:"70vh", xl:"50vh"} }} direction="column" justifyContent="center" alignItems="center"> | |||||
<Grid item xs={12} md={12} lg={12} sx={{ mb: 1, mt:5, display: { xs: 'none', sm: 'none', md: 'block' } }}> | <Grid item xs={12} md={12} lg={12} sx={{ mb: 1, mt:5, display: { xs: 'none', sm: 'none', md: 'block' } }}> | ||||
<Grid container direction="column" alignItems="center"> | <Grid container direction="column" alignItems="center"> | ||||
<Grid item xs={12} md={12} lg={12} > | <Grid item xs={12} md={12} lg={12} > | ||||
@@ -138,12 +138,12 @@ const AfterForgotPasswordPage = () => { | |||||
<Grid item xs={12} md={12} lg={12} mt={1} sx={{mb:3}}> | <Grid item xs={12} md={12} lg={12} mt={1} sx={{mb:3}}> | ||||
<ThemeProvider theme={PNSPS_LONG_BUTTON_THEME}> | <ThemeProvider theme={PNSPS_LONG_BUTTON_THEME}> | ||||
<Button | <Button | ||||
aria-label={intl.formatMessage({id: 'continue'})} | |||||
aria-label={intl.formatMessage({id: 'confirm'})} | |||||
variant="contained" | variant="contained" | ||||
// type="submit" | // type="submit" | ||||
onClick={()=>handleContinue()} | onClick={()=>handleContinue()} | ||||
> | > | ||||
<FormattedMessage id="continue"/> | |||||
<FormattedMessage id="confirm"/> | |||||
</Button> | </Button> | ||||
</ThemeProvider> | </ThemeProvider> | ||||
</Grid> | </Grid> | ||||