@extends('dashboard.admin.layouts.master') @section('title', 'Template Settings') @section('content')
{{-- Toolbar --}}

Template Settings

{{-- Content --}}
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif {{-- Shared delete-image / reset forms (kept OUTSIDE the main form below — forms cannot be nested in HTML, and nesting them previously caused their action/method to leak into the main form's submission). --}}
@csrf @method('DELETE')
@csrf
@csrf
{{-- ─── Tab: Layout ─────────────────────────────────────────── --}}
rtl_mode)>
scrolltop_enabled)>
{{-- ─── Tab: Sidebar ────────────────────────────────────────── --}}
sidebar_fixed)>
Sidebar Menu Colours
Hex or rgba — e.g. rgba(255,255,255,0.7)
Hex or rgba — e.g. rgba(255,255,255,0.1)
{{-- ─── Tab: Header ─────────────────────────────────────────── --}}
header_fixed_desktop)>
header_fixed_mobile)>
{{-- ─── Tab: Toolbar ────────────────────────────────────────── --}}
toolbar_enabled)>
toolbar_fixed_desktop)>
toolbar_fixed_mobile)>
{{-- ─── Tab: Footer ─────────────────────────────────────────── --}} {{-- ─── Tab: Aside ─────────────────────────────────────────── --}}
Aside Panel
The aside is a secondary right-hand panel. Enable it and add #kt_app_aside HTML to your layout to use it.
aside_enabled)>
aside_fixed)>
{{-- ─── Tab: Colors ─────────────────────────────────────────── --}}
{{-- Color pickers column --}}
@php $colorFields = [ 'color_primary' => ['Primary', '#3E97FF'], 'color_success' => ['Success', '#50CD89'], 'color_info' => ['Info', '#7239EA'], 'color_warning' => ['Warning', '#FFC700'], 'color_danger' => ['Danger', '#F1416C'], 'color_dark' => ['Dark', '#181C32'], 'color_secondary' => ['Secondary', '#7E8299'], 'color_light' => ['Light', '#F9F9F9'], 'color_header_bg' => ['Header Background', '#ffffff'], 'color_body_bg' => ['Body Background', '#f5f8fa'], 'color_content_bg' => ['Content Background', '#f5f8fa'], 'color_header_text'=> ['Header Text', '#181C32'], 'color_body_text' => ['Body Text', '#071437'], 'color_border' => ['Border', '#F1F1F4'], 'color_heading' => ['Headings (h1–h6)', '#071437'], ]; @endphp @foreach($colorFields as $field => [$label, $default])
@endforeach
{{-- Live preview column --}}
{{-- Sidebar strip --}}
@foreach([1,2,3,4] as $_)
@endforeach
Active item
{{-- header strip --}}
{{-- content cards --}}
{{-- Buttons row --}}
{{-- Badges / alerts --}}
@foreach(['primary','success','danger','warning','info'] as $c) {{ ucfirst($c) }} @endforeach
Preview updates in real-time as you pick colors
{{-- ─── Tab: Images ─────────────────────────────────────────── --}}
{{-- Logo uploads --}}
Logos
@foreach(['logo_light' => 'Sidebar Logo (Light / Dark layouts)', 'logo_dark' => 'Sidebar Logo (Dark text — Light layouts)', 'logo_icon' => 'Sidebar Icon (Minimized)'] as $field => $label)
@if($settings->$field)
{{ $label }}
@else
Using default logo
@endif
@if($settings->$field) @endif
PNG/SVG/WEBP. Recommended: transparent background.
@endforeach
{{-- Favicon + Header image --}}
Branding
@if($settings->favicon)
Favicon
@else
Using default favicon
@endif
@if($settings->favicon) @endif
ICO, PNG or SVG. Max 512 KB.
@if($settings->header_image)
Header Image
@else
No header background image
@endif
@if($settings->header_image) @endif
Displayed as header background. Max 4 MB. JPEG/PNG/WEBP.
{{-- Page images --}}
Page Images
@foreach(['login_image' => 'Login Page Image', 'register_image' => 'Register Page Image', 'default_image' => 'Default Fallback Image'] as $field => $label)
@if($settings->$field)
{{ $label }}
@endif
@if($settings->$field) @endif
Max 4 MB. JPEG/PNG/WEBP.
@endforeach
{{-- ─── Tab: Font & CSS ─────────────────────────────────────── --}}
The quick brown fox jumps over the lazy dog. — 0123456789
الثعلب البني السريع يقفز فوق الكلب الكسول. — ٠١٢٣٤٥٦٧٨٩
Used on pages when the site language is Arabic — Latin fonts like Inter or Poppins don't render Arabic glyphs.
Injected inside a <style> tag in <head>.
{{-- /tab-content --}}
{{-- /card-body --}}
{{-- /card --}}
@endsection @section('js') @endsection