From c49f282700dc90bb3c52245c4fa10f712d22a64e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Wed, 9 Oct 2024 01:10:34 +0100 Subject: [PATCH] fixed dashboard tab styling.. --- .../views/common/dashboards/show.blade.php | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/resources/views/common/dashboards/show.blade.php b/resources/views/common/dashboards/show.blade.php index 760d6f707..81f5c1023 100644 --- a/resources/views/common/dashboards/show.blade.php +++ b/resources/views/common/dashboards/show.blade.php @@ -107,16 +107,22 @@
-
- +
+ @foreach ($user_dashboards as $user_dashboard) - + data-id="show-dashboard-switch-{{ $user_dashboard->id }}" + data-tabs="{{ $user_dashboard->id }}" + data-tabs-slide + x-bind:class="active != 'show-dashboard-switch-{{ $user_dashboard->id }}' ? 'text-black' : 'active-tabs text-purple border-purple transition-all after:absolute after:w-full after:h-0.5 after:left-0 after:right-0 after:bottom-0 after:bg-purple after:rounded-tl-md after:rounded-tr-md'" + > + + {{ $user_dashboard->name }} + + @endforeach @@ -124,12 +130,12 @@
-
+
@can('create-common-widgets') + {{ trans('general.title.new', ['type' => trans_choice('general.dashboards', 1)]) }} @endcan