Compare commits
4 Commits
b5624ebb04
...
575d9f7c22
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
575d9f7c22 | ||
|
|
7cbaa6cecc | ||
|
|
da09409759 | ||
|
|
c95f792b9c |
11
SECURITY.md
Normal file
11
SECURITY.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| MVP.1.x | :white_check_mark: |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
Report any issues with the "Issues" section here in the GitHub repository, and be sure to mark it with a "Security" label in addition to any other labels that may help categorieze (bug, enhancement etc.)
|
||||
File diff suppressed because one or more lines are too long
@ -14,7 +14,7 @@ export const localStorageStyleKey = 'style';
|
||||
|
||||
export const containerMaxW = 'xl:max-w-full xl:mx-auto 2xl:mx-20';
|
||||
|
||||
export const appTitle = 'created by Flatlogic generator!';
|
||||
export const appTitle = '';
|
||||
|
||||
export const getPageTitle = (currentPageTitle: string) =>
|
||||
`${currentPageTitle} — ${appTitle}`;
|
||||
|
||||
@ -32,7 +32,7 @@ const menuAside: MenuAsideItem[] = [
|
||||
},
|
||||
{
|
||||
href: '/scanned_documents/scanned_documents-list',
|
||||
label: 'Scanned documents',
|
||||
label: 'Claims',
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
icon:
|
||||
|
||||
@ -288,7 +288,7 @@ const Dashboard = () => {
|
||||
<div className='flex justify-between align-center'>
|
||||
<div>
|
||||
<div className='text-lg leading-tight text-gray-500 dark:text-gray-400'>
|
||||
Scanned documents
|
||||
Claims
|
||||
</div>
|
||||
<div className='text-3xl leading-tight font-semibold'>
|
||||
{scanned_documents}
|
||||
|
||||
@ -26,7 +26,7 @@ export default function Starter() {
|
||||
const [contentPosition, setContentPosition] = useState('right');
|
||||
const textColor = useAppSelector((state) => state.style.linkColor);
|
||||
|
||||
const title = 'PaperClaimsai';
|
||||
const title = 'PaperClaims.ai';
|
||||
|
||||
// Fetch Pexels image/video
|
||||
useEffect(() => {
|
||||
@ -129,27 +129,20 @@ export default function Starter() {
|
||||
: null}
|
||||
<div className='flex items-center justify-center flex-col space-y-4 w-full lg:w-full'>
|
||||
<CardBox className='w-full md:w-3/5 lg:w-2/3'>
|
||||
<CardBoxComponentTitle title='Welcome to your PaperClaimsai app!' />
|
||||
<CardBoxComponentTitle title='PaperClaims.ai | Turn paper into payments' />
|
||||
|
||||
<div className='space-y-3'>
|
||||
<p className='text-center text-gray-500'>
|
||||
This is a React.js/Node.js app generated by the{' '}
|
||||
<a
|
||||
className={`${textColor}`}
|
||||
href='https://flatlogic.com/generator'
|
||||
>
|
||||
Flatlogic Web App Generator
|
||||
</a>
|
||||
This is a temporary landing page for the main app portal.
|
||||
</p>
|
||||
<p className='text-center text-gray-500'>
|
||||
For guides and documentation please check your local README.md
|
||||
and the{' '}
|
||||
Use the Login button below to access the portal, or visit the {' '}
|
||||
<a
|
||||
className={`${textColor}`}
|
||||
href='https://flatlogic.com/documentation'
|
||||
href='https://www.paperclaims.ai'
|
||||
>
|
||||
Flatlogic documentation
|
||||
</a>
|
||||
PaperClaims.ai public website
|
||||
</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@ -161,6 +154,7 @@ export default function Starter() {
|
||||
className='w-full'
|
||||
/>
|
||||
</BaseButtons>
|
||||
{/*
|
||||
<div className='grid grid-cols-1 gap-2 lg:grid-cols-4 mt-2'>
|
||||
<div className='text-center'>
|
||||
<a className={`${textColor}`} href='https://react.dev/'>
|
||||
@ -187,13 +181,14 @@ export default function Starter() {
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
*/}
|
||||
</CardBox>
|
||||
</div>
|
||||
</div>
|
||||
</SectionFullScreen>
|
||||
<div className='bg-black text-white flex flex-col text-center justify-center md:flex-row'>
|
||||
<p className='py-6 text-sm'>
|
||||
© 2024 <span>{title}</span>. All rights reserved
|
||||
© 2025 <span>{title}</span>. All rights reserved
|
||||
</p>
|
||||
<Link className='py-6 ml-4 text-sm' href='/privacy-policy/'>
|
||||
Privacy Policy
|
||||
|
||||
@ -52,7 +52,7 @@ export default function Login() {
|
||||
remember: true,
|
||||
});
|
||||
|
||||
const title = 'PaperClaimsai';
|
||||
const title = 'PaperClaims.ai | Login';
|
||||
|
||||
// Fetch Pexels image/video
|
||||
useEffect(() => {
|
||||
@ -204,32 +204,7 @@ export default function Login() {
|
||||
<div className='flex flex-row text-gray-500 justify-between'>
|
||||
<div>
|
||||
<p className='mb-2'>
|
||||
Use{' '}
|
||||
<code
|
||||
className={`cursor-pointer ${textColor} `}
|
||||
data-password='c8f96137'
|
||||
onClick={(e) => setLogin(e.target)}
|
||||
>
|
||||
admin@flatlogic.com
|
||||
</code>
|
||||
{' / '}
|
||||
<code className={`${textColor}`}>c8f96137</code>
|
||||
{' / '}
|
||||
to login as Admin
|
||||
</p>
|
||||
<p>
|
||||
Use{' '}
|
||||
<code
|
||||
className={`cursor-pointer ${textColor} `}
|
||||
data-password='57fd86e330a1'
|
||||
onClick={(e) => setLogin(e.target)}
|
||||
>
|
||||
client@hello.com
|
||||
</code>
|
||||
{' / '}
|
||||
<code className={`${textColor}`}>57fd86e330a1</code>
|
||||
{' / '}
|
||||
to login as User
|
||||
Login below to access your account.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -83,12 +83,12 @@ const EditScanned_documentsPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{getPageTitle('Edit scanned_documents')}</title>
|
||||
<title>{getPageTitle('Edit Claim')}</title>
|
||||
</Head>
|
||||
<SectionMain>
|
||||
<SectionTitleLineWithButton
|
||||
icon={mdiChartTimelineVariant}
|
||||
title={'Edit scanned_documents'}
|
||||
title='Edit Claim'
|
||||
main
|
||||
>
|
||||
{''}
|
||||
|
||||
@ -86,12 +86,12 @@ const Scanned_documentsTablesPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{getPageTitle('Scanned_documents')}</title>
|
||||
<title>{getPageTitle('Claims')}</title>
|
||||
</Head>
|
||||
<SectionMain>
|
||||
<SectionTitleLineWithButton
|
||||
icon={mdiChartTimelineVariant}
|
||||
title='Scanned_documents'
|
||||
title='Claims'
|
||||
main
|
||||
>
|
||||
{''}
|
||||
|
||||
@ -53,12 +53,12 @@ const Scanned_documentsNew = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{getPageTitle('New Item')}</title>
|
||||
<title>{getPageTitle('New Claim')}</title>
|
||||
</Head>
|
||||
<SectionMain>
|
||||
<SectionTitleLineWithButton
|
||||
icon={mdiChartTimelineVariant}
|
||||
title='New Item'
|
||||
title='New Claim'
|
||||
main
|
||||
>
|
||||
{''}
|
||||
|
||||
@ -86,12 +86,12 @@ const Scanned_documentsTablesPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{getPageTitle('Scanned_documents')}</title>
|
||||
<title>{getPageTitle('Claims')}</title>
|
||||
</Head>
|
||||
<SectionMain>
|
||||
<SectionTitleLineWithButton
|
||||
icon={mdiChartTimelineVariant}
|
||||
title='Scanned_documents'
|
||||
title='Claims'
|
||||
main
|
||||
>
|
||||
{''}
|
||||
@ -102,7 +102,7 @@ const Scanned_documentsTablesPage = () => {
|
||||
className={'mr-3'}
|
||||
href={'/scanned_documents/scanned_documents-new'}
|
||||
color='info'
|
||||
label='New Item'
|
||||
label='New Claim'
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
@ -29,10 +29,6 @@ const Scanned_documentsView = () => {
|
||||
|
||||
const { id } = router.query;
|
||||
|
||||
function removeLastCharacter(str) {
|
||||
console.log(str, `str`);
|
||||
return str.slice(0, -1);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(fetch({ id }));
|
||||
@ -41,7 +37,7 @@ const Scanned_documentsView = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{getPageTitle('View scanned_documents')}</title>
|
||||
<title>{getPageTitle('Claim Details')}</title>
|
||||
</Head>
|
||||
<SectionMain>
|
||||
<SectionTitleLineWithButton
|
||||
@ -50,7 +46,7 @@ const Scanned_documentsView = () => {
|
||||
main
|
||||
>
|
||||
<BaseButton
|
||||
color='info'
|
||||
title='Claim Details'
|
||||
label='Edit'
|
||||
href={`/scanned_documents/scanned_documents-edit/?id=${id}`}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user