From f470ebbbe0d625b368ccc4d2dd4124b0b3ff5bd5 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 20 Oct 2023 09:29:09 +0200 Subject: [PATCH] ui: updates --- resources/css/app.css | 8 ++-- resources/views/livewire/dashboard.blade.php | 43 ++++++++++--------- .../livewire/project/new/select.blade.php | 30 ++++++------- resources/views/livewire/server/all.blade.php | 2 +- resources/views/project/resources.blade.php | 7 ++- resources/views/project/show.blade.php | 2 +- resources/views/projects.blade.php | 26 +++++------ templates/compose/babybuddy.yaml | 2 +- templates/service-templates.json | 2 +- 9 files changed, 64 insertions(+), 58 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index c1e8f3259..ee4ec7b77 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -53,12 +53,14 @@ .icon:hover { @apply text-white; } .box { - @apply flex items-center p-2 transition-colors cursor-pointer min-h-16 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline min-w-[24rem]; + @apply flex p-2 transition-colors cursor-pointer min-h-16 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline min-w-[24rem]; } .box-without-bg { - @apply flex items-center p-2 transition-colors min-h-16 hover:text-white hover:no-underline min-w-[24rem]; + @apply flex p-2 transition-colors min-h-16 hover:text-white hover:no-underline min-w-[24rem]; +} +.description { + @apply pt-2 text-xs font-bold text-neutral-500 group-hover:text-white; } - .lds-heart { animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1); } diff --git a/resources/views/livewire/dashboard.blade.php b/resources/views/livewire/dashboard.blade.php index 7ceb40d7a..2e79582e1 100644 --- a/resources/views/livewire/dashboard.blade.php +++ b/resources/views/livewire/dashboard.blade.php @@ -15,7 +15,8 @@ @endif @if ($projects->count() === 0 && $servers->count() === 0) - No resources found. Add your first server / private key here. + No resources found. Add your first server / private key here. @endif @if ($projects->count() > 0)

Projects

@@ -32,32 +33,34 @@
{{ $project->name }}
-
+
{{ $project->description }}
@else
{{ $project->name }}
-
@endforeach
@@ -79,7 +82,7 @@
{{ $server->name }}
-
+
{{ $server->description }}
@if (!$server->settings->is_reachable) @@ -97,7 +100,7 @@ @endforeach
- {{--

Tokens

+{{--

Tokens

{{auth()->user()->tokens}} Create Token --}}