@extends('admin.settings.layout') @php use App\Models\Setting; $debug_mode = true; $loginBgColor1 = Setting::where('key', 'login_bg_color1')->first()?->value ?? '#4F46E5'; $loginBgColor2 = Setting::where('key', 'login_bg_color2')->first()?->value ?? '#7C3AED'; $loginShowLogo = Setting::where('key', 'login_show_logo')->first()?->value; $appName = Setting::where('key', 'app_name')->first()?->value ?? 'SIAKAD'; @endphp @section('settings_content')
Pengaturan Halaman Login
@if($debug_mode)
Debug: login_bg_color1={{ $loginBgColor1 }} | login_bg_color2={{ $loginBgColor2 }} | login_show_logo={{ $loginShowLogo }}
@endif
@csrf
Pengaturan ini mengubah tampilan halaman login.
@foreach($settings as $setting) @if($setting->type == 'color')
@if($setting->description) {{ $setting->description }} @endif
@else
value == '1' ? 'checked' : '' }}>
@if($setting->description) {{ $setting->description }} @endif
@endif @endforeach

Preview Tampilan Login
@if($loginShowLogo == '1')
@endif
{{ $appName }}

Sistem Informasi Akademik


@endsection @push('scripts') @if($debug_mode) @endif @endpush