diff --git a/packages/builder/src/components/database/DatabaseRoot.svelte b/packages/builder/src/components/database/DatabaseRoot.svelte deleted file mode 100644 index 3489acb032..0000000000 --- a/packages/builder/src/components/database/DatabaseRoot.svelte +++ /dev/null @@ -1,99 +0,0 @@ - - - - {#if recordOpen} - - {/if} - {#if modelOpen} - - {/if} - {#if viewOpen} - - {/if} - {#if databaseOpen} - - {/if} - {#if deleteRecordOpen} - - {/if} - {#if userOpen} - - {/if} - - -
-
-
-
{breadcrumbs}
- {#if $backendUiStore.selectedDatabase.id} - { - selectedRecord = null - backendUiStore.actions.modals.show('RECORD') - }}> - Create new record - - {/if} -
- {#if $backendUiStore.selectedDatabase.id} - - {:else}Please select a database{/if} -
-
- - diff --git a/packages/builder/src/pages/[application]/backend/_layout.svelte b/packages/builder/src/pages/[application]/backend/_layout.svelte index 2e44ab88f1..61bbf80201 100644 --- a/packages/builder/src/pages/[application]/backend/_layout.svelte +++ b/packages/builder/src/pages/[application]/backend/_layout.svelte @@ -1,10 +1,9 @@ @@ -13,17 +12,10 @@
-
diff --git a/packages/builder/src/pages/[application]/backend/accesslevels/index.svelte b/packages/builder/src/pages/[application]/backend/accesslevels/index.svelte new file mode 100644 index 0000000000..68d708ab09 --- /dev/null +++ b/packages/builder/src/pages/[application]/backend/accesslevels/index.svelte @@ -0,0 +1,116 @@ + + +
+ + + Create New Access Level + + + + {#if $store.accessLevels} + + + + + + + + + {#each $store.accessLevels.levels as level} + + + + + + {/each} + +
NamePermissions +
{level.name}{getPermissionsString(level.permissions)} + onLevelEdit(level)}> + {@html getIcon('edit')} + + onLevelDelete(level)}> + {@html getIcon('trash')} + +
+ {:else}(no actions added){/if} + + + + + +
+ + diff --git a/packages/builder/src/pages/[application]/backend/database/index.svelte b/packages/builder/src/pages/[application]/backend/database/index.svelte index 2724e8045a..3578c503ed 100644 --- a/packages/builder/src/pages/[application]/backend/database/index.svelte +++ b/packages/builder/src/pages/[application]/backend/database/index.svelte @@ -1,13 +1,11 @@