@extends('admin::layouts.admin') @section('title', 'Web Pages') @section('content')

Web Pages

@if(auth()->user()->checkResourcePermission($thisResourceType, 'admin.web-pages.php','create')) Create New Page @endif
@if(request()->hasAny(['search', 'sort'])) Clear @endif
@if($webPages->isEmpty())

No web pages found.

@else @foreach($webPages as $page) @endforeach
URL Description Created At Actions
{{ $page->url }}
{{ $page->description ?: 'No description' }}
{{ $page->created_at->format('Y-m-d H:i:s') }} @if(auth()->user()->checkResourcePermission('web_pages', 'admin.web-pages.php','edit')) Edit @endif @if(auth()->user()->checkResourcePermission('web_pages', 'admin.web-pages.php','delete')) @endif
{{ $webPages->links() }}
@endif
@endsection