An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: ui with headers
Kaname9e3c14841a3f
diff --git a/apps/ui/src/routes/__layout.svelte b/apps/ui/src/routes/__layout.svelteindex 6a3b95300d..9ba0b1f8a9 100644--- a/apps/ui/src/routes/__layout.svelte+++ b/apps/ui/src/routes/__layout.svelte@@ -307,7 +307,9 @@</div></div><main>- <slot />+ <div class={$appSession.userId ? 'lg:pl-16' : null}>+ <slot />+ </div></main></div><div class="drawer-side">diff --git a/apps/ui/src/routes/applications/[id]/__layout.svelte b/apps/ui/src/routes/applications/[id]/__layout.svelteindex c62c6362c9..0eed8875fc 100644--- a/apps/ui/src/routes/applications/[id]/__layout.svelte+++ b/apps/ui/src/routes/applications/[id]/__layout.svelte@@ -190,9 +190,7 @@});</script>-<nav- class="header p-5 pl-0 lg:p-0 lg:pl-20"->+<nav class="header"><div class="hidden items-center space-x-2 p-5 px-6 font-bold lg:flex"><div class="flex flex-col"><div class="md:max-w-64 truncate text-base tracking-tight md:text-2xl lg:block">@@ -246,7 +244,9 @@<Tooltip triggeredBy="#git">Open on Git</Tooltip>{/if}</div>- <div class="flex flex-row flex-wrap space-x-4 space-y-3 justify-center lg:justify-start py-2 lg:py-0">+ <div+ class="flex flex-row flex-wrap space-x-4 space-y-3 justify-center lg:justify-start py-2 lg:py-0"+ >{#if $location}<aid="open"diff --git a/apps/ui/src/routes/applications/_index.svelte b/apps/ui/src/routes/applications/_index.svelteindex c97a3a0d1c..4d30ed835b 100644--- a/apps/ui/src/routes/applications/_index.svelte+++ b/apps/ui/src/routes/applications/_index.svelte@@ -44,7 +44,7 @@}</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><h1 class="mr-4 text-2xl font-bold">{$t('index.applications')}</h1>{#if $appSession.isAdmin}<button on:click={newApplication} class="btn btn-square btn-sm bg-applications">diff --git a/apps/ui/src/routes/databases/[id]/__layout.svelte b/apps/ui/src/routes/databases/[id]/__layout.svelteindex 87d2f219e2..6eb00cbd5f 100644--- a/apps/ui/src/routes/databases/[id]/__layout.svelte+++ b/apps/ui/src/routes/databases/[id]/__layout.svelte@@ -150,7 +150,7 @@</script>{#if id !== 'new'}- <nav class="header p-5 pl-0 lg:p-0 lg:pl-20 justify-center lg:justify-between">+ <nav class="header justify-center lg:justify-between"><div class="hidden items-center space-x-2 p-5 px-6 font-bold lg:flex"><div class="flex flex-col"><div class="md:max-w-64 truncate text-base tracking-tight md:text-2xl lg:block">diff --git a/apps/ui/src/routes/databases/_index.svelte b/apps/ui/src/routes/databases/_index.svelteindex 6902f8bb2a..44d9d8b30e 100644--- a/apps/ui/src/routes/databases/_index.svelte+++ b/apps/ui/src/routes/databases/_index.svelte@@ -42,7 +42,7 @@});</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><h1 class="mr-4 text-2xl font-bold">{$t('index.databases')}</h1>{#if $appSession.isAdmin}<button on:click={newDatabase} class="btn btn-square btn-sm bg-databases">diff --git a/apps/ui/src/routes/destinations/_index.svelte b/apps/ui/src/routes/destinations/_index.svelteindex 8f826eec90..8885787c87 100644--- a/apps/ui/src/routes/destinations/_index.svelte+++ b/apps/ui/src/routes/destinations/_index.svelte@@ -36,7 +36,7 @@});</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><h1 class="mr-4 text-2xl font-bold">{$t('index.destinations')}</h1>{#if $appSession.isAdmin}<a href="/destinations/new" class="btn btn-square btn-sm bg-destinations">diff --git a/apps/ui/src/routes/iam/index.svelte b/apps/ui/src/routes/iam/index.svelteindex 1bd84d5a0a..3d9eb8d6a5 100644--- a/apps/ui/src/routes/iam/index.svelte+++ b/apps/ui/src/routes/iam/index.svelte@@ -106,7 +106,7 @@}</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><h1 class="mr-4 text-2xl tracking-tight font-bold">Identity and Access Management</h1><button on:click={newTeam} class="btn btn-square btn-sm bg-iam"><svgdiff --git a/apps/ui/src/routes/index.svelte b/apps/ui/src/routes/index.svelteindex 51f5f86c43..b7bfa23b60 100644--- a/apps/ui/src/routes/index.svelte+++ b/apps/ui/src/routes/index.svelte@@ -275,7 +275,7 @@}</script>-<nav class="header">+<nav class="header p-7"><h1 class="mr-4 text-2xl font-bold">{$t('index.dashboard')}</h1>{#if $appSession.isAdmin && (applications.length !== 0 || destinations.length !== 0 || databases.length !== 0 || services.length !== 0 || gitSources.length !== 0 || destinations.length !== 0)}<NewResource />diff --git a/apps/ui/src/routes/servers/index.svelte b/apps/ui/src/routes/servers/index.svelteindex 326270ca03..5ac35bf2ec 100644--- a/apps/ui/src/routes/servers/index.svelte+++ b/apps/ui/src/routes/servers/index.svelte@@ -29,7 +29,7 @@}</script>-<div class="header p-5 pl-0 lg:p-0 lg:pl-20">+<div class="header"><h1 class="text-2xl font-bold">Servers</h1></div><div class="container lg:mx-auto lg:p-0 px-8 p-5 lg:pt-20">diff --git a/apps/ui/src/routes/services/[id]/__layout.svelte b/apps/ui/src/routes/services/[id]/__layout.svelteindex 0ababff030..b1b23867bd 100644--- a/apps/ui/src/routes/services/[id]/__layout.svelte+++ b/apps/ui/src/routes/services/[id]/__layout.svelte@@ -156,7 +156,7 @@});</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><div class="hidden items-center space-x-2 p-5 px-6 font-bold lg:flex"><div class="flex flex-col"><div class="md:max-w-64 truncate text-base tracking-tight md:text-2xl lg:block">diff --git a/apps/ui/src/routes/services/_index.svelte b/apps/ui/src/routes/services/_index.svelteindex 96de368174..a788fde9aa 100644--- a/apps/ui/src/routes/services/_index.svelte+++ b/apps/ui/src/routes/services/_index.svelte@@ -43,7 +43,7 @@});</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><h1 class="mr-4 text-2xl font-bold">{$t('index.services')}</h1><button on:click={newService} class="btn btn-square btn-sm bg-services"><svgdiff --git a/apps/ui/src/routes/sources/_index.svelte b/apps/ui/src/routes/sources/_index.svelteindex fdd8fba547..5a5897d601 100644--- a/apps/ui/src/routes/sources/_index.svelte+++ b/apps/ui/src/routes/sources/_index.svelte@@ -36,7 +36,7 @@});</script>-<nav class="header p-5 pl-0 lg:p-0 lg:pl-20">+<nav class="header"><h1 class="mr-4 text-2xl font-bold">{$t('index.git_sources')}</h1>{#if $appSession.isAdmin}<a href="/sources/new" class="btn btn-square btn-sm bg-sources">diff --git a/apps/ui/src/tailwind.css b/apps/ui/src/tailwind.cssindex 73100ab165..3954d8568c 100644--- a/apps/ui/src/tailwind.css+++ b/apps/ui/src/tailwind.css@@ -202,8 +202,5 @@ input {}.header {- @apply flex flex-row px-4 justify-between items-center lg:fixed p-5 pl-20 z-10;- background-color: rgba(31, 30, 30, 0.6);- backdrop-filter: blur(20px);- width: 100%;+ @apply flex flex-row px-4 justify-between items-center bg-neutral-focus z-10 w-full;}\ No newline at end of file