60 lines
2.5 KiB
PHP
Raw Normal View History

2024-06-20 16:42:33 +05:45
@extends('backend.template')
@section('content')
2024-06-23 17:02:56 +05:45
<div class="page-content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="page-title-box d-sm-flex align-items-center justify-content-between">
<h4 class="mb-sm-0">{{ $title }}</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="javascript: void(0);">Dashboards</a></li>
<li class="breadcrumb-item active">{{ $title }}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- end page title -->
<div class="card">
<div class="card-header align-items-center d-flex">
<h5 class="card-title flex-grow-1 mb-0">{{ $title }}</h5>
<div class="flex-shrink-0">
<a href="{{ route('permission.generatePermissionFromRoutes') }}"
class="btn btn-success waves-effect waves-light"><i
class="ri-add-fill me-1 align-bottom"></i>Generate Permissions</a>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
@include('crud.generated.permissions.action')
</div>
</div>
</div>
</div>
</div>
2024-06-20 16:42:33 +05:45
</div>
</div>
@endsection
@push('css')
2024-06-23 17:02:56 +05:45
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.5/css/dataTables.bootstrap5.min.css" />
<link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.9/css/responsive.bootstrap.min.css" />
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/2.2.2/css/buttons.dataTables.min.css">
2024-06-20 16:42:33 +05:45
@endpush
2024-06-23 17:02:56 +05:45
@push('js')
<script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.11.5/js/dataTables.bootstrap5.min.js"></script>
<script src="https://cdn.datatables.net/responsive/2.2.9/js/dataTables.responsive.min.js"></script>
<script src="{{ asset('assets/js/pages/datatables.init.js') }}"></script>
2024-06-20 16:42:33 +05:45
@endpush