diff --git a/src/lib/layout/index.ts b/src/lib/layout/index.ts index 43584d1bc..d6ba706e4 100644 --- a/src/lib/layout/index.ts +++ b/src/lib/layout/index.ts @@ -6,3 +6,4 @@ export { default as Navigation } from './navigation.svelte'; export { default as Notification } from './notification.svelte'; export { default as Notifications } from './notifications.svelte'; export { default as Shell } from './shell.svelte'; +export { default as Wizard } from './wizard.svelte'; diff --git a/src/lib/layout/wizard.svelte b/src/lib/layout/wizard.svelte new file mode 100644 index 000000000..c9bfe453a --- /dev/null +++ b/src/lib/layout/wizard.svelte @@ -0,0 +1,64 @@ + + + + +{#if show} +
+
+
+
+ +
+
{title}
+ + + +
+ + +
+ +
+
+{/if} diff --git a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/index.svelte b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/index.svelte index 1d38f86ba..fe421a4ec 100644 --- a/src/routes/console/[project]/databases/database/[database]/collection/[collection]/index.svelte +++ b/src/routes/console/[project]/databases/database/[database]/collection/[collection]/index.svelte @@ -59,9 +59,10 @@ href={`${base}/console/${projectId}/databases/database/${databaseId}/collection/${$collection.$id}/document/${document.$id}`}> - + + {#each columns as column}