Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/MWB-904 #365

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,51 +28,63 @@ const Page = () => {
return (
<>
<Seo title={`App: ${sectionApi.SECTION_TITLE} List`}/>
<Stack spacing={4}>
<Grid container
spacing={4}>
<Grid xs={12}>
<SourceAndTargetTabs/>
</Grid>
<Typography variant="h5">
{sectionApi.SECTION_TITLE}
</Typography>
<Stack
direction="row"
justifyContent="space-between"
spacing={4}
>
<Paper>
<TableSearchBar onChange={e => itemsSearch.handleSearchItems([e])}
value={itemsSearch.state.search[0]}/>
</Paper>
<Stack
alignItems="center"
direction="row"
spacing={3}
>
<Button
id="add_button"
component={RouterLink}
href={paths.app[sectionApi.section].create}
startIcon={<AddIcon/>}
variant="contained"

<Grid xs={12}
xl={6}
item>
<Stack spacing={4}>
<Typography variant="h5">
{sectionApi.SECTION_TITLE}
</Typography>
<Stack
direction="row"
justifyContent="space-between"
spacing={4}
>
Add
</Button>
<Paper>
<TableSearchBar onChange={e => itemsSearch.handleSearchItems([e])}
value={itemsSearch.state.search[0]}/>
</Paper>
<Stack
alignItems="center"
direction="row"
spacing={3}
>
<Button
id="add_button"
component={RouterLink}
href={paths.app[sectionApi.section].create}
startIcon={<AddIcon/>}
variant="contained"
>
Add
</Button>
</Stack>
</Stack>
<ListTable
onPageChange={itemsSearch.handlePageChange}
onRowsPerPageChange={itemsSearch.handleRowsPerPageChange}
page={itemsSearch.state.page}
items={itemsSearch.pagedItems}
count={itemsSearch.count}
rowsPerPage={itemsSearch.state.rowsPerPage}
sort={itemsSearch.state.sort}
onSort={itemsSearch.handleSort}
sectionApi={sectionApi}
/>
</Stack>
</Stack>
<ListTable
onPageChange={itemsSearch.handlePageChange}
onRowsPerPageChange={itemsSearch.handleRowsPerPageChange}
page={itemsSearch.state.page}
items={itemsSearch.pagedItems}
count={itemsSearch.count}
rowsPerPage={itemsSearch.state.rowsPerPage}
sort={itemsSearch.state.sort}
onSort={itemsSearch.handleSort}
sectionApi={sectionApi}
/>
<OntologyNamespacesCustom/>
</Stack>
</Grid>
<Grid xs={12}
xl={6}>
<OntologyNamespacesCustom/>
</Grid>
</Grid>

</>
)
};
Expand Down
Loading