From c17253589a97eed43247d5925c1859a76660ff4d Mon Sep 17 00:00:00 2001 From: Kaname <56084970+kaname-png@users.noreply.github.com> Date: Wed, 7 Sep 2022 01:45:05 +0000 Subject: [PATCH] fix(routes): more ui tweaks --- apps/ui/src/routes/applications/index.svelte | 11 ++++-- apps/ui/src/routes/databases/index.svelte | 14 ++++--- apps/ui/src/routes/destinations/index.svelte | 41 +++++++++++--------- apps/ui/src/routes/services/index.svelte | 12 +++--- apps/ui/src/routes/sources/index.svelte | 11 ++++-- 5 files changed, 52 insertions(+), 37 deletions(-) diff --git a/apps/ui/src/routes/applications/index.svelte b/apps/ui/src/routes/applications/index.svelte index 60644e16d..51d2fd74e 100644 --- a/apps/ui/src/routes/applications/index.svelte +++ b/apps/ui/src/routes/applications/index.svelte @@ -44,8 +44,10 @@ } -
-
{$t('index.applications')}
+
-
+ +
+
{#if !applications || ownApplications.length === 0}
{$t('application.no_applications_found')}
diff --git a/apps/ui/src/routes/databases/index.svelte b/apps/ui/src/routes/databases/index.svelte index 04dbeb768..f73281c12 100644 --- a/apps/ui/src/routes/databases/index.svelte +++ b/apps/ui/src/routes/databases/index.svelte @@ -42,8 +42,11 @@ }); -
-
{$t('index.databases')}
+
- -
+ {/if} + +
+
{#if !databases || ownDatabases.length === 0}
{$t('database.no_databases_found')}
diff --git a/apps/ui/src/routes/destinations/index.svelte b/apps/ui/src/routes/destinations/index.svelte index 27656cdb7..25b738c55 100644 --- a/apps/ui/src/routes/destinations/index.svelte +++ b/apps/ui/src/routes/destinations/index.svelte @@ -36,27 +36,30 @@ }); -
-
{$t('index.destinations')}
+
-
+ +
+
{#if !destinations || ownDestinations.length === 0}
{$t('destination.no_destination_found')}
diff --git a/apps/ui/src/routes/services/index.svelte b/apps/ui/src/routes/services/index.svelte index fe3bed644..5772102db 100644 --- a/apps/ui/src/routes/services/index.svelte +++ b/apps/ui/src/routes/services/index.svelte @@ -43,8 +43,10 @@ }); -
-
{$t('index.services')}
+
- -
+ +
+
{#if !services || ownServices.length === 0}
{$t('service.no_service')}
diff --git a/apps/ui/src/routes/sources/index.svelte b/apps/ui/src/routes/sources/index.svelte index a5a5f98ff..1bea7598a 100644 --- a/apps/ui/src/routes/sources/index.svelte +++ b/apps/ui/src/routes/sources/index.svelte @@ -36,8 +36,10 @@ }); -
-
{$t('index.git_sources')}
+
-
+ +
+
{#if !sources || ownSources.length === 0}
{$t('source.no_git_sources_found')}