@extends('backoffice.layouts.app') @push('styles') @endpush @section('content')
{{-- HEADER --}}
Style Customize
Kelola key-value style website dan palette warna
@csrf
{{-- SEARCH --}}
@if($search) Reset @endif
{{-- APPLY TEMPLATE --}}
Apply Style Template
@csrf
Template akan mengisi banyak key style sekaligus.
Pilih template untuk lihat preview warna.
{{-- EDIT CARD --}}
Edit Style
@csrf @method('PUT')
Preview otomatis jika value adalah warna valid.
{{-- TABLE --}}
@forelse($styles as $style) @empty @endforelse
ID Key Color Value Updated Action
{{ $style->id }} {{ $style->key }} {{ $style->value }} {{ optional($style->updated_at)->format('Y-m-d H:i:s') }}
@csrf @method('DELETE')
Tidak ada data style
{{-- PAGINATION --}}
  • @php $start = max(1, $styles->currentPage() - 2); $end = min($styles->lastPage(), $styles->currentPage() + 2); @endphp @for ($i = $start; $i <= $end; $i++)
  • {{ $i }}
  • @endfor
@endsection @push('scripts') @endpush