perbaikan role management
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
<div class="flex items-center justify-between mb-2 px-1">
|
<div class="flex items-center justify-between mb-2 px-1">
|
||||||
<label for="password" class="text-[10px] font-black text-slate-400 uppercase tracking-widest">Kata Sandi</label>
|
<label for="password" class="text-[10px] font-black text-slate-400 uppercase tracking-widest">Kata Sandi</label>
|
||||||
@if (Route::has('password.request'))
|
@if (Route::has('password.request'))
|
||||||
<a class="text-[10px] font-bold text-indigo-600 hover:text-indigo-800 italic transition-colors" href="{{ route('password.request') }}">Lupa?</a>
|
<!-- <a class="text-[10px] font-bold text-indigo-600 hover:text-indigo-800 italic transition-colors" href="{{ route('password.request') }}">Lupa?</a> -->
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
<x-app-layout>
|
<x-app-layout>
|
||||||
<div class="max-w-[1600px] mx-auto p-4 sm:px-6 lg:px-8 py-8 space-y-8">
|
<div class="max-w-[1600px] mx-auto p-4 sm:px-6 lg:px-8 py-8 space-y-8">
|
||||||
|
|
||||||
{{-- Header --}}
|
<div class="flex gap-3">
|
||||||
<div class="flex flex-col md:flex-row md:items-end justify-between gap-6 bg-white p-8 rounded-[3rem] border border-slate-100 shadow-sm">
|
{{-- Tombol Laporan: Cek modul 'reports' dengan akses 'read' --}}
|
||||||
<div>
|
@can('check-access', ['reports', 'read'])
|
||||||
<h2 class="text-4xl font-black text-slate-800 tracking-tighter uppercase leading-none">
|
<a href="{{ route('admin.reports.index') }}"
|
||||||
Intelligence <span class="text-indigo-600">Dashboard</span>
|
class="px-6 py-3 bg-slate-100 text-slate-600 text-[10px] font-black uppercase rounded-2xl hover:bg-slate-200 transition-all tracking-widest">
|
||||||
</h2>
|
Laporan Lengkap
|
||||||
<p class="text-slate-400 font-bold uppercase text-[10px] tracking-[0.3em] mt-2 italic">
|
</a>
|
||||||
<i class="fas fa-calendar-alt mr-2"></i> Operasional Earrin Cats: {{ date('d F Y') }}
|
@endcan
|
||||||
</p>
|
|
||||||
</div>
|
{{-- Tombol Tambah Kucing: Cek modul 'cats' dengan akses 'create' --}}
|
||||||
<div class="flex gap-3">
|
@can('check-access', ['cats', 'create'])
|
||||||
<a href="{{ route('admin.reports.index') }}" class="px-6 py-3 bg-slate-100 text-slate-600 text-[10px] font-black uppercase rounded-2xl hover:bg-slate-200 transition-all tracking-widest">Laporan Lengkap</a>
|
<a href="{{ route('cats.create') }}"
|
||||||
<a href="{{ route('cats.create') }}" class="px-6 py-3 bg-indigo-600 text-white text-[10px] font-black uppercase rounded-2xl shadow-xl shadow-indigo-100 hover:bg-indigo-700 transition-all tracking-widest flex items-center">
|
class="px-6 py-3 bg-indigo-600 text-white text-[10px] font-black uppercase rounded-2xl shadow-xl shadow-indigo-100 hover:bg-indigo-700 transition-all tracking-widest flex items-center">
|
||||||
<i class="fas fa-plus mr-2"></i> Tambah Kucing
|
<i class="fas fa-plus mr-2"></i> Tambah Kucing
|
||||||
</a>
|
</a>
|
||||||
</div>
|
@endcan
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{-- Birth Watch Alert --}}
|
{{-- Birth Watch Alert --}}
|
||||||
@if($upcomingBirths->count() > 0)
|
@if($upcomingBirths->count() > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user