diff --git a/PostFundManagement.PartnerUI/index.html b/PostFundManagement.PartnerUI/index.html index f266ad6..0f20073 100644 --- a/PostFundManagement.PartnerUI/index.html +++ b/PostFundManagement.PartnerUI/index.html @@ -1,5 +1,5 @@ - +
@@ -10,8 +10,8 @@ - - + + diff --git a/PostFundManagement.PartnerUI/src/components/auth/AccountActivationModal.tsx b/PostFundManagement.PartnerUI/src/components/auth/AccountActivationModal.tsx index 7c86149..011d00c 100644 --- a/PostFundManagement.PartnerUI/src/components/auth/AccountActivationModal.tsx +++ b/PostFundManagement.PartnerUI/src/components/auth/AccountActivationModal.tsx @@ -2,18 +2,14 @@ import React, { useState, useEffect } from 'react'; import { createPortal } from 'react-dom'; import { useNavigate } from 'react-router-dom'; import { - ShieldAlert, RefreshCw, LogOut, - UserCheck, - CheckCircle2, - AlertTriangle, - ArrowLeft, - Mail, Building2, - Fingerprint, + Clock, + ArrowLeft, + Sparkles, } from 'lucide-react'; -import { BrandLogo } from '../ui/BrandLogo'; +import { PfmPartnerLogo } from '../common/PfmPartnerLogo'; import { AuthUserProfile, UserClaims } from '../../auth/AuthProvider'; import { cancelSessionExpiration, dismissSubordinateModals } from '../../services/sessionExpiration'; @@ -29,7 +25,6 @@ interface AccountActivationModalProps { export const AccountActivationModal: React.FC- You have signed in successfully, but your partner account is waiting to be activated by the funding administrator. -
-- Once your administrator confirms your account is active, click{' '} - Check Account Status below to open your dashboard. -
-Account Not Activated Yet
-{errorMessage}
- {syncAttemptCount > 0 && ( -- Checked #{syncAttemptCount} at {new Date().toLocaleTimeString()} -
- )} -+ Your credentials have been authenticated. Your funding administrator is finalizing your portfolio access. +
+ + {/* Notice badge if check returned not yet ready */} + {errorMessage && ( +- This application is exclusively reserved for users assigned the Partner role. Your account role ({assignedRolesDisplay}) is not permitted on the Partner Portal. -
-
-
- Internal staff, executives, programme managers, and administrators must sign in through the PFM Management Console. Only external grant recipients and project partners with the Partner role are permitted to use this portal. -
-+ This portal is reserved for registered Grantee and Partner accounts. Your current profile ({assignedRolesDisplay}) does not have access. +
+ +Please sign in again to continue
-- Your active working session has ended for security. To protect your information, please return to the home page and sign in again. -
- {reason && ( -+ {reason || 'Your security credentials have expired for your protection. Please sign in again to continue.'} +
+ + {/* Smooth Countdown Bar */} +