@extends('layouts.index')
@section('content')
<div class="page-content">
<div class="container-fluid">
<!-- start page title -->
<div class="row">
<div class="col-12">
<div class="page-title-box d-flex align-items-center justify-content-between">
<div class="page-title">
<h4 class="mb-0 font-size-18">Slider</h4>
<ol class="breadcrumb">
<li class="breadcrumb-item active">Welcome to {{ env('APP_NAME') }}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<div class="page-content-wrapper">
<div class="row">
<div class="col">
<div class="card">
<div class="card-body">
<div class="card-title">
<div class="row">
<div class="col-6">
<h3 class="mb-0">Slider</h3>
</div>
@if(\Helper::hakAkses('Perangkat Daerah','Create'))
<div class="col-6 text-end">
<a href="{{route('slider.create')}}" class="btn btn-sm btn-info"> </i>Tambah
Data</a>
</div>
@endif
</div>
</div>
<div class="table-responsive py-4">
<table class="table table-hover" id="datatable">
<thead class="table-primary">
<tr>
<th>Urutan Posisi</th>
<th>Image URL</th>
<th>Title</th>
<th>Ubah Status</th>
<th>Status On/Off</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
<tr>
<td>dalam</td>
<td>dalam</td>
<td>dalam</td>
<td>dalam</td>
<td>dalam</td>
<td>
<form method="POST" action="{{route('slider.destroy', 1)}}">
{{csrf_field()}}
<input type="hidden" name="_method" value="DELETE">
@if(\Helper::hakAkses('Perangkat Daerah','Update'))
<a href="{{route('slider.edit', 1)}}"
class="btn btn-sm btn-warning"><i class="fa fa-pen">
</i>Edit</a>
{{-- <a href="{{route('perangkat_daerah.urusan', $data->id)}}"
class="btn btn-sm btn-success"><i class="fa fa-file"> </i>
Urusan</a> --}}
@endif
@if(\Helper::hakAkses('Perangkat Daerah','Delete'))
<button type="submit" class="btn btn-sm btn-danger"
onclick="return hapus()"><i class="fa fa-trash"></i>
Hapus</button>
@endif
</form>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]