|
@@ -51,6 +51,7 @@ import { |
|
|
isPasswordExpiry, |
|
|
isPasswordExpiry, |
|
|
haveOrgPaymentRecord, |
|
|
haveOrgPaymentRecord, |
|
|
isORGLoggedIn, |
|
|
isORGLoggedIn, |
|
|
|
|
|
checkSysEnv |
|
|
// getUserId |
|
|
// getUserId |
|
|
} from "utils/Utils"; |
|
|
} from "utils/Utils"; |
|
|
import { handleLogoutFunction } from 'auth/index'; |
|
|
import { handleLogoutFunction } from 'auth/index'; |
|
@@ -536,7 +537,7 @@ function Header(props) { |
|
|
</Typography> */} |
|
|
</Typography> */} |
|
|
<Box sx={{ mr: 2, mt: 1, display: { md: 'none' } }}> |
|
|
<Box sx={{ mr: 2, mt: 1, display: { md: 'none' } }}> |
|
|
<MobileLogo /> |
|
|
<MobileLogo /> |
|
|
<span id="mobileTitle" >PNSPS</span> |
|
|
|
|
|
|
|
|
<span style={{ color: checkSysEnv()!=''?'red':'#0C489E'}} id="mobileTitle" >PNSPS</span> |
|
|
</Box> |
|
|
</Box> |
|
|
<Divider /> |
|
|
<Divider /> |
|
|
<ul id="sidebartop"> |
|
|
<ul id="sidebartop"> |
|
@@ -555,7 +556,7 @@ function Header(props) { |
|
|
<Stack id="sidebar" direction="column" justifyContent="center" alignItems="center" onClick={handleDrawerToggle} sx={{ textAlign: 'center' }}> |
|
|
<Stack id="sidebar" direction="column" justifyContent="center" alignItems="center" onClick={handleDrawerToggle} sx={{ textAlign: 'center' }}> |
|
|
<Box sx={{ mr: 2, mt: 1, display: { md: 'none' } }}> |
|
|
<Box sx={{ mr: 2, mt: 1, display: { md: 'none' } }}> |
|
|
<MobileLogo /> |
|
|
<MobileLogo /> |
|
|
<span id="mobileTitle" >PNSPS</span> |
|
|
|
|
|
|
|
|
<span style={{ color: checkSysEnv()!=''?'red':'#0C489E'}} id="mobileTitle" >PNSPS</span> |
|
|
</Box> |
|
|
</Box> |
|
|
<Divider /> |
|
|
<Divider /> |
|
|
<ul id="logoutContent"> |
|
|
<ul id="logoutContent"> |
|
@@ -596,7 +597,7 @@ function Header(props) { |
|
|
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> |
|
|
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> |
|
|
<MobileLogo /> |
|
|
<MobileLogo /> |
|
|
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> |
|
|
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> |
|
|
<span id="mobileTitle">PNSPS</span> |
|
|
|
|
|
|
|
|
<span style={{ color: checkSysEnv()!=''?'red':'#0C489E'}} id="mobileTitle">PNSPS</span> |
|
|
</Stack> |
|
|
</Stack> |
|
|
<Stack justifyContent="flex-end" alignItems="center"> |
|
|
<Stack justifyContent="flex-end" alignItems="center"> |
|
|
<span style={{color:"#B11B1B",fontWeight:'bold',fontSize:'15px'}}>RESTRICTED</span> |
|
|
<span style={{color:"#B11B1B",fontWeight:'bold',fontSize:'15px'}}>RESTRICTED</span> |
|
@@ -617,7 +618,7 @@ function Header(props) { |
|
|
<Stack justifyContent="flex-start" alignItems="center"> |
|
|
<Stack justifyContent="flex-start" alignItems="center"> |
|
|
{/*<span id="systemTitle">公共啟事提交</span>*/} |
|
|
{/*<span id="systemTitle">公共啟事提交</span>*/} |
|
|
{/*<span id="systemTitle">及繳費系統</span>*/} |
|
|
{/*<span id="systemTitle">及繳費系統</span>*/} |
|
|
<span id="systemTitle"> |
|
|
|
|
|
|
|
|
<span style={{ color: checkSysEnv()!=''?'red':'#0C489E'}} id="systemTitle"> |
|
|
<FormattedMessage id="PNSPS" /> |
|
|
<FormattedMessage id="PNSPS" /> |
|
|
</span> |
|
|
</span> |
|
|
</Stack> |
|
|
</Stack> |
|
@@ -636,7 +637,7 @@ function Header(props) { |
|
|
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> |
|
|
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> |
|
|
<MobileLogo /> |
|
|
<MobileLogo /> |
|
|
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> |
|
|
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> |
|
|
<span id="mobileTitle"> |
|
|
|
|
|
|
|
|
<span style={{ color: checkSysEnv()!=''?'red':'#0C489E'}} id="mobileTitle"> |
|
|
<FormattedMessage id="PNSPS" /> |
|
|
<FormattedMessage id="PNSPS" /> |
|
|
</span> |
|
|
</span> |
|
|
</Stack> |
|
|
</Stack> |
|
@@ -735,7 +736,7 @@ function Header(props) { |
|
|
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> |
|
|
<Stack direction="row" justifyContent="space-between" alignItems="center" width="100%"> |
|
|
<MobileLogo /> |
|
|
<MobileLogo /> |
|
|
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> |
|
|
<Stack justifyContent="flex-start" alignItems="flex-start" width="100%" ml={2}> |
|
|
<span id="mobileTitle"> |
|
|
|
|
|
|
|
|
<span style={{ color: checkSysEnv()!=''?'red':'#0C489E'}} id="mobileTitle"> |
|
|
<FormattedMessage id="PNSPS" /> |
|
|
<FormattedMessage id="PNSPS" /> |
|
|
</span> |
|
|
</span> |
|
|
</Stack> |
|
|
</Stack> |
|
|