feat: add admin settings panel and dashboard configurations

This commit is contained in:
theRAD
2026-03-06 04:58:29 +02:00
parent d705160b55
commit d404054887
8 changed files with 336 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
@extends('admin.layout')
@section('content')
<div class="mb-8">
<h2 class="text-2xl font-bold text-white tracking-tight">System Configuration Overview</h2>
<p class="text-slate-400 mt-2">Manage dashboard settings and globally defined parameters.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<a href="/admin/settings/procurement" class="glass rounded-xl p-6 group transition-all duration-300 hover:border-red-500/50 hover:bg-white/5 block">
<div class="w-12 h-12 rounded-lg bg-red-500/20 text-red-500 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"/></svg>
</div>
<h3 class="text-lg font-bold text-white mb-2">Procurement Settings</h3>
<p class="text-sm text-slate-400">Configure thresholds, margins, and default variables for the procurement module.</p>
</a>
<a href="/admin/settings/sales" class="glass rounded-xl p-6 group transition-all duration-300 hover:border-orange-500/50 hover:bg-white/5 block">
<div class="w-12 h-12 rounded-lg bg-orange-500/20 text-orange-500 flex items-center justify-center mb-4 group-hover:scale-110 transition-transform">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>
</div>
<h3 class="text-lg font-bold text-slate-300 mb-2">Sales Settings (WIP)</h3>
<p class="text-sm text-slate-500">Configure revenue targets and metric parameters for the upcoming sales dashboard.</p>
</a>
</div>
@endsection