Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f44960eb56 | ||
|
|
3f720a6985 | ||
|
|
592e8244ec | ||
|
|
6c17f33909 | ||
|
|
1d5dcf9815 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
*/build/
|
||||
|
||||
**/node_modules/
|
||||
**/build/
|
||||
.DS_Store
|
||||
.env
|
||||
File diff suppressed because one or more lines are too long
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -50,18 +50,6 @@ export const loadColumns = async (
|
||||
editable: hasUpdatePermission,
|
||||
},
|
||||
|
||||
{
|
||||
field: 'lastName',
|
||||
headerName: 'Last Name',
|
||||
flex: 1,
|
||||
minWidth: 120,
|
||||
filterable: false,
|
||||
headerClassName: 'datagrid--header',
|
||||
cellClassName: 'datagrid--cell',
|
||||
|
||||
editable: hasUpdatePermission,
|
||||
},
|
||||
|
||||
{
|
||||
field: 'phoneNumber',
|
||||
headerName: 'Phone Number',
|
||||
@ -86,19 +74,6 @@ export const loadColumns = async (
|
||||
editable: hasUpdatePermission,
|
||||
},
|
||||
|
||||
{
|
||||
field: 'disabled',
|
||||
headerName: 'Disabled',
|
||||
flex: 1,
|
||||
minWidth: 120,
|
||||
filterable: false,
|
||||
headerClassName: 'datagrid--header',
|
||||
cellClassName: 'datagrid--cell',
|
||||
|
||||
editable: hasUpdatePermission,
|
||||
|
||||
type: 'boolean',
|
||||
},
|
||||
|
||||
{
|
||||
field: 'avatar',
|
||||
|
||||
@ -117,6 +117,12 @@ const menuAside: MenuAsideItem[] = [
|
||||
icon: icon.mdiFileCode,
|
||||
permissions: 'READ_API_DOCS',
|
||||
},
|
||||
{
|
||||
href: '/example',
|
||||
label: 'Example',
|
||||
icon: icon.mdiChartTimelineVariant,
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
export default menuAside;
|
||||
|
||||
27
frontend/src/pages/Example.tsx
Normal file
27
frontend/src/pages/Example.tsx
Normal file
@ -0,0 +1,27 @@
|
||||
import Head from 'next/head';
|
||||
import CardBox from '../components/CardBox';
|
||||
import LayoutAuthenticated from '../layouts/Authenticated';
|
||||
import SectionMain from '../components/SectionMain';
|
||||
import SectionTitleLineWithButton from '../components/SectionTitleLineWithButton';
|
||||
import { getPageTitle } from '../config';
|
||||
import { mdiChartTimelineVariant } from '@mdi/js';
|
||||
|
||||
const Example = () => (
|
||||
<>
|
||||
<Head>
|
||||
<title>{getPageTitle('Example')}</title>
|
||||
</Head>
|
||||
<LayoutAuthenticated>
|
||||
<SectionMain>
|
||||
<SectionTitleLineWithButton icon={mdiChartTimelineVariant} title="Example">
|
||||
{''}
|
||||
</SectionTitleLineWithButton>
|
||||
<CardBox>
|
||||
{/* Page content goes here. */}
|
||||
</CardBox>
|
||||
</SectionMain>
|
||||
</LayoutAuthenticated>
|
||||
</>
|
||||
);
|
||||
|
||||
export default Example;
|
||||
@ -36,7 +36,7 @@ export const basic: StyleObject = {
|
||||
navBarItemLabelActiveColor: 'text-blue-600',
|
||||
overlay: 'from-gray-700 via-gray-900 to-gray-700',
|
||||
activeLinkColor: 'bg-gray-100/70',
|
||||
bgLayoutColor: 'bg-gray-50',
|
||||
bgLayoutColor: 'bg-gradient-to-r from-blue-100 to-sky-300',
|
||||
iconsColor: 'text-blue-500',
|
||||
cardsColor: 'bg-white',
|
||||
focusRingColor:
|
||||
@ -64,7 +64,7 @@ export const white: StyleObject = {
|
||||
navBarItemLabelActiveColor: 'text-black',
|
||||
overlay: 'from-white via-gray-100 to-white',
|
||||
activeLinkColor: 'bg-gray-100/70',
|
||||
bgLayoutColor: 'bg-gray-50',
|
||||
bgLayoutColor: 'bg-gradient-to-r from-sky-200 to-sky-500',
|
||||
iconsColor: 'text-blue-500',
|
||||
cardsColor: 'bg-white',
|
||||
focusRingColor:
|
||||
|
||||
@ -11,6 +11,10 @@ module.exports = {
|
||||
gray: 'gray',
|
||||
},
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['Comic Sans MS', 'Comic Sans', 'cursive'],
|
||||
},
|
||||
|
||||
zIndex: {
|
||||
'-1': '-1',
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user