diff --git a/src/lib/components/emptyGridItem.svelte b/src/lib/components/emptyGridItem.svelte index 7678addac..ab0126619 100644 --- a/src/lib/components/emptyGridItem.svelte +++ b/src/lib/components/emptyGridItem.svelte @@ -1,5 +1,16 @@ + + + {#if $app.themeInUse === 'dark'} + + {:else} + + {/if} diff --git a/src/lib/images/empty-dark.svg b/src/lib/images/empty-dark.svg new file mode 100644 index 000000000..9babf164b --- /dev/null +++ b/src/lib/images/empty-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/lib/images/empty-light.svg b/src/lib/images/empty-light.svg new file mode 100644 index 000000000..9babf164b --- /dev/null +++ b/src/lib/images/empty-light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/routes/console/account/organizations/+page.svelte b/src/routes/console/account/organizations/+page.svelte index 61ce8f694..3f38b0dfb 100644 --- a/src/routes/console/account/organizations/+page.svelte +++ b/src/routes/console/account/organizations/+page.svelte @@ -69,14 +69,7 @@ {/each} {#if $organizationList?.total < limit + offset && ($organizationList?.total % 2 !== 0 || $organizationList?.total % 4 === 0)} (addOrganization = true)}> - - - - - - - Create a new organization - + Create a new organization {/if} diff --git a/src/routes/console/organization-[organization]/+page.svelte b/src/routes/console/organization-[organization]/+page.svelte index 8e8921b34..f369322a6 100644 --- a/src/routes/console/organization-[organization]/+page.svelte +++ b/src/routes/console/organization-[organization]/+page.svelte @@ -107,14 +107,7 @@ {/each} {#if projects.length < limit + offset && (projects.length % 2 !== 0 || projects.length % 4 === 0)} (showCreate = true)}> - - - - - - - Create a new project - + Create a new project {/if} diff --git a/src/routes/console/project-[project]/databases/+page.svelte b/src/routes/console/project-[project]/databases/+page.svelte index a45485191..661b0b9ad 100644 --- a/src/routes/console/project-[project]/databases/+page.svelte +++ b/src/routes/console/project-[project]/databases/+page.svelte @@ -50,14 +50,7 @@ {/each} {#if ($databaseList.total % 2 !== 0 || $databaseList.total % 4 === 0) && $databaseList.total - offset <= limit} (showCreate = true)}> - - - - - - - Create a new database - + Create a new database {/if} diff --git a/src/routes/console/project-[project]/databases/database/[database]/+page.svelte b/src/routes/console/project-[project]/databases/database/[database]/+page.svelte index 6c294fda6..995c8d9c2 100644 --- a/src/routes/console/project-[project]/databases/database/[database]/+page.svelte +++ b/src/routes/console/project-[project]/databases/database/[database]/+page.svelte @@ -64,14 +64,7 @@ {/each} {#if ($collections.total % 2 !== 0 || $collections.total % 4 === 0) && $collections.total - offset <= limit} (showCreate = true)}> - - - - - - - Create a new collection - + Create a new collection {/if} diff --git a/src/routes/console/project-[project]/storage/+page.svelte b/src/routes/console/project-[project]/storage/+page.svelte index dff6be811..7087a4ae4 100644 --- a/src/routes/console/project-[project]/storage/+page.svelte +++ b/src/routes/console/project-[project]/storage/+page.svelte @@ -83,14 +83,7 @@ {/each} {#if $bucketList.total % 2 !== 0} (showCreate = true)}> - - - - - - - Add a new bucket - + Add a new bucket {/if}
Create a new organization
Create a new project
Create a new database
Create a new collection
Add a new bucket