@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Sliders")}}

{{__("All Sliders")}}

@endsection @section("content") @include("includes.dialog")
@if(isPermissionsAllowed("control-sliders")) @endif
{{-- --}} @if(isPermissionsAllowed("control-sliders")) @endif @foreach($sliders as $slider) {{-- --}} @if(isPermissionsAllowed("control-sliders")) @endif @endforeach
{{__("ID")}}{{__("Serial Number")}} {{__("Image")}} {{__("URL")}}{{__("Control")}}
{{$slider->id}}{{$serial_number++}} @if($slider->getFirstMediaFile()) @endif {{$slider->url}} id)}}" class="control-link edit">
id)}}" method="post" id="delete{{$slider->id}}" style="display: none" data-swal-title="{{__("Delete Slider")}}" data-swal-text="{{__("Are You Sure To Delete This Slider?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the slider has been deleted succssfully")}}">@csrf @method("delete")
@endsection @section("scripts") @endsection