@extends('layouts.admin') @section('title', 'Manajemen Gallery') @section('page_title', 'Gallery Foto') @section('page_subtitle', 'Kelola galeri foto sekolah') @section('content') @if ($message = Session::get('success'))
{{ $message }}
@endif
Daftar Foto Gallery
Tambah Foto
@if($galleries->count() > 0)
@foreach($galleries as $gallery) @endforeach
No Judul Foto Deskripsi URL Foto Urutan Aksi
{{ ($galleries->currentPage() - 1) * $galleries->perPage() + $loop->iteration }} {{ $gallery->title }} {{ Str::limit($gallery->description, 50) }} {{ Str::limit($gallery->image_url, 40) }} {{ $gallery->order }}
@csrf @method('DELETE')
{{ $galleries->links('pagination.admin') }}
@else
Tidak Ada Foto

Belum ada foto yang terdaftar

@endif
@endsection