From 63bdadcdd2de156706dfda0d39ce7f08cfa79fde Mon Sep 17 00:00:00 2001 From: Novy San87 Date: Mon, 3 Aug 2026 18:59:10 +0700 Subject: [PATCH] Poles halaman Pengaturan premium - Header card gradient biru + watermark, judul extrabold - Input/label seragam (.input, label xs bold slate) - 5 seksi dengan icon chip: Identitas (school), Kop Surat (file-lines), Background Login (image), Kepala Sekolah (user-tie), Template WA (whatsapp brand) - Tombol Simpan Pengaturan btn-primary full-width - Perbaiki label Nama Kepala Sekolah yang sempat hilang + keseimbangan div - Test 31/105 hijau --- resources/views/settings/index.blade.php | 163 +++++++++++++++-------- 1 file changed, 109 insertions(+), 54 deletions(-) diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index c00ef78..21906ec 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -5,140 +5,195 @@ @section('content')
-

Pengaturan Sekolah

-

Informasi sekolah untuk kop surat

+

Pengaturan Sekolah

+

Informasi sekolah untuk kop surat

-
-
+
+ {{-- Header card --}} +
+
+ +
+
+
+ +
+
+

Informasi Sekolah

+

Data dasar yang dipakai di seluruh aplikasi

+
+
+
+ + @csrf + {{-- ===== Seksi: Identitas Aplikasi & Sekolah ===== --}}
- +
+
+ +
+ Identitas +
+
+
+ + class="input">

Nama yang tampil di sidebar, login page, dan tab browser.

- + + class="input">
- - + +
- + + class="input">
- + @if($settings->get('school_logo')?->value)
@endif + class="input file:mr-3 file:py-1.5 file:px-3 file:border-0 file:text-xs file:font-bold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100"> +
+
-
- - {{-- ===== Kop Surat ===== --}} -
-

Kop Surat (format resmi)

-

Baris kop yang tampil di dokumen laporan — mengikuti format kop resmi sekolah.

+ {{-- ===== Seksi: Kop Surat ===== --}} +
+
+
+ +
+ Kop Surat (format resmi) +
+

Baris kop yang tampil di dokumen laporan — mengikuti format kop resmi sekolah.

- + + class="input">
- + + class="input">
- + + class="input">
- + + class="input">
- + + class="input">
- + + class="input">
- + @if($settings->get('kop_logo')?->value)
@endif + class="input file:mr-3 file:py-1.5 file:px-3 file:border-0 file:text-xs file:font-bold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100">
-
- + {{-- ===== Seksi: Background Login ===== --}}
- +
+
+ +
+ Background Halaman Login +
+ +
+ @if($settings->get('login_background')?->value)
@endif + class="input file:mr-3 file:py-1.5 file:px-3 file:border-0 file:text-xs file:font-bold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100">

Dimensi ideal: 1200 × 800 px atau 3:2 (landscape). Maksimal 2 MB. Format JPG/PNG/WebP.

+
-
- -
-
- - + {{-- ===== Seksi: Kepala Sekolah ===== --}} +
+
+
+ +
+ Kepala Sekolah
-
- - + +
+
+ + +
+
+ + +
-
- + {{-- ===== Seksi: Template WhatsApp ===== --}}
- +
+
+ +
+ Notifikasi WhatsApp Orang Tua +
+ +
+ + class="input font-mono text-xs">{{ old('wa_notification_template', $settings->get('wa_notification_template')?->value ?? '') }}

Placeholder: {nama_siswa} {nisn} {kelas} {jenis} {tanggal} {waktu} {poin} {total_poin} {lokasi} {deskripsi} {sekolah}.
Akhiri pesan dengan Tim Ketertiban sebagai penanda pengirim. Kosongkan untuk memakai template bawaan.

+
-