feat: Create login page for admin.

wip: Admin user Configuration
This commit is contained in:
2025-08-08 14:57:33 +05:30
parent 3ee40cad55
commit b2e84608c3
13 changed files with 945 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
"use client";
import React, { useEffect, useRef, useState } from "react";
import { Button, Group, Modal, Paper, Radio, ScrollArea, Select, Stack, Text, TextInput, Title } from "@mantine/core";
import { Button, Group, Modal, Paper, PasswordInput, Radio, ScrollArea, Select, Stack, Text, TextInput, Title } from "@mantine/core";
import { notifications } from "@mantine/notifications";
import { useRouter } from "next/navigation";
import { generateOTP } from '@/app/OTPGenerator';
@@ -361,9 +361,9 @@ export default function QuickPay() {
setConfirmBeneficiaryAcc(value);
}
}}
// onCopy={(e) => e.preventDefault()}
// onPaste={(e) => e.preventDefault()}
// onCut={(e) => e.preventDefault()}
onCopy={(e) => e.preventDefault()}
onPaste={(e) => e.preventDefault()}
onCut={(e) => e.preventDefault()}
withAsterisk
readOnly={isVisibilityLocked}
/>
@@ -418,7 +418,7 @@ export default function QuickPay() {
</Group>
<Group grow>
{showOtpField && (
<TextInput
<PasswordInput
label="OTP"
placeholder="Enter OTP"
type="otp"