Update (all): fix php formatting using laravel pint, fix blade using shufo

This commit is contained in:
2023-07-25 22:18:01 +08:00
parent 6adc27076d
commit 82353c1ecd
37 changed files with 536 additions and 480 deletions

View File

@@ -1,13 +1,12 @@
@extends('layouts.admin.app')
@section('custom_styles')
@endsection
@section('content')
<div class="page-body">
<div class="container-xl">
<div class="alert alert-success">
<div class="alert-title">
{{ __('Welcome') }} {{ auth()->user()->name ?? null }}
@@ -19,4 +18,4 @@
</div>
</div>
@endsection
@endsection

View File

@@ -28,21 +28,21 @@
</tr>
</thead>
<tbody>
@foreach($users as $user)
<tr>
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
<td>{{ $user->created_at }}</td>
<td>{{ $user->updated_at->diffForhumans() }}</td>
</tr>
@endforeach
@foreach ($users as $user)
<tr>
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
<td>{{ $user->created_at }}</td>
<td>{{ $user->updated_at->diffForhumans() }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@if( $users->hasPages() )
<div class="card-footer pb-0">
{{ $users->links() }}
</div>
@if ($users->hasPages())
<div class="card-footer pb-0">
{{ $users->links() }}
</div>
@endif
</div>
</div>