Add svelte as a view engine to swaf #33

Merged
ashpie merged 97 commits from svelte into develop 2021-11-09 19:31:22 +01:00
Showing only changes of commit 8254c6cb47 - Show all commits

View File

@ -4,6 +4,8 @@
import Pagination from "../components/Pagination.svelte"; import Pagination from "../components/Pagination.svelte";
import Form from "../utils/Form.svelte"; import Form from "../utils/Form.svelte";
import Field from "../utils/Field.svelte"; import Field from "../utils/Field.svelte";
import Breadcrumb from "../components/Breadcrumb.svelte";
import {route} from "../../../common/Routing";
const accounts = $locals.accounts || []; const accounts = $locals.accounts || [];
</script> </script>
@ -15,6 +17,10 @@
</style> </style>
<BaseLayout title="{$locals.app.name} - Review accounts" h1={false}> <BaseLayout title="{$locals.app.name} - Review accounts" h1={false}>
<Breadcrumb currentPageTitle="Accounts pending review" pages={[
{link: route('backend'), title:'Backend'},
]}/>
<h1>Accounts pending review</h1> <h1>Accounts pending review</h1>
<Pagination pagination={$locals.pagination} routeName="accounts-approval" contextSize="3" /> <Pagination pagination={$locals.pagination} routeName="accounts-approval" contextSize="3" />