Created
May 12, 2023 08:23
-
-
Save phreakin/067d20575b712fceb56f9477506e9ce5 to your computer and use it in GitHub Desktop.
table.blade.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.admin') | |
@section('content') | |
<section class="section"> | |
<div class="container is-fluid"> | |
<div class="card no-box-shadow-mobile"> | |
<header class="card-header"> | |
<p class="card-header-title"> | |
{{ __(Route::getCurrentRoute()->getName()) }} | |
@if (isset($link)) | |
<a class="navbar-item" href="{{ $link }}"> | |
<span class="icon"> | |
{!! icon('plus') !!} | |
</span> | |
</a> | |
@endif | |
</p> | |
</header> | |
<div class="card-content" style="padding-bottom: 2rem;"> | |
{!! $dataTable->table() !!} | |
</div> | |
</div> | |
</div> | |
</section> | |
@endsection | |
@section('scripts') | |
{!! $dataTable->scripts() !!} | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment