mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add general info text
This commit is contained in:
parent
7112dcb75c
commit
06fd7a408b
@ -1,14 +1,38 @@
|
||||
import { Trans } from '@lingui/macro';
|
||||
import { Divider, Stack, Title } from '@mantine/core';
|
||||
import { Trans, t } from '@lingui/macro';
|
||||
import { Alert, Button, Divider, Stack, Title } from '@mantine/core';
|
||||
import { IconBrandGithub } from '@tabler/icons-react';
|
||||
|
||||
export default function HomePanel() {
|
||||
return (
|
||||
<Stack gap="xs">
|
||||
<Alert color="blue" title={t`This is new!`}>
|
||||
<Trans>
|
||||
This is a new feature in PUI previously not available. It provides a
|
||||
centralized location for all administration functionality and is meant
|
||||
to replace Djangos admin view.
|
||||
</Trans>
|
||||
<br />
|
||||
<Trans>Please raise issues for any missing admin functionality.</Trans>
|
||||
<br />
|
||||
<Button
|
||||
color="green"
|
||||
top={'https://github.com/inventree/InvenTree/issues/new'}
|
||||
>
|
||||
<IconBrandGithub /> <Trans>Open an issue</Trans>
|
||||
</Button>
|
||||
</Alert>
|
||||
<Title order={5}>
|
||||
<Trans>Home Status Panel</Trans>
|
||||
<Trans>Quick actions</Trans>
|
||||
</Title>
|
||||
|
||||
<Divider />
|
||||
TBD
|
||||
<Title order={5}>
|
||||
<Trans>System status</Trans>
|
||||
</Title>
|
||||
TBD
|
||||
<Title order={5}>
|
||||
<Trans>Security recommodations</Trans>
|
||||
</Title>
|
||||
TBD
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
@ -104,7 +104,8 @@ export default function AdminCenter() {
|
||||
name: 'home',
|
||||
label: t`Home`,
|
||||
icon: <IconHome />,
|
||||
content: <HomePanel />
|
||||
content: <HomePanel />,
|
||||
showHeadline: false
|
||||
},
|
||||
{
|
||||
name: 'user',
|
||||
|
Loading…
Reference in New Issue
Block a user