@extends('backoffice.layouts.app') @push('styles') @endpush @section('content')
{{-- HEADER --}}
{{-- glow --}}
Maintenance Settings
Manage global website configuration switches
System / Maintenance
{{-- ALERT --}} @if (session('success')) @endif @if (session('error')) @endif
@csrf
@forelse ($configs as $config)
{{ str_replace('_', ' ', $config->key) }}
{{ $config->description ?? 'No description available.' }}
key] ?? 0) === 1 ? 'checked' : '' }} >
Current Status @if((int) ($settings[$config->key] ?? 0) === 1) Enabled @else Disabled @endif
@empty
No configuration found.
@endforelse
{{-- SAVE --}}
@endsection @push('scripts') @endpush