mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: start work on create event
This commit is contained in:
1 parent
1cb98c6f8d
commit
c3c95d7097
1 file changed
+10
@@ -3,6 +3,7 @@
|
||||
import { Modal } from '$lib/components';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import { addNotification } from '$lib/stores/notifications';
|
||||
import { Pill } from '$lib/elements';
|
||||
|
||||
export let showCreate = false;
|
||||
|
||||
@@ -19,12 +20,21 @@
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const services = ['buckets', 'database', 'functions', 'teams', 'users'];
|
||||
|
||||
// const databases = ['collections', 'documents'];
|
||||
</script>
|
||||
|
||||
<Form on:submit={create}>
|
||||
<Modal bind:show={showCreate} size="big">
|
||||
<svelte:fragment slot="header">Create Event</svelte:fragment>
|
||||
|
||||
<div class="u-flex u-gap-8">
|
||||
{#each services as service}
|
||||
<Pill button on:click>{service}</Pill>
|
||||
{/each}
|
||||
</div>
|
||||
<svelte:fragment slot="footer">
|
||||
<Button secondary on:click={() => (showCreate = false)}>Cancel</Button>
|
||||
<Button submit>Create</Button>
|
||||
|
||||
Reference in new issue
Block a user