Updated datatables, using @pa instead of @js/@css, using conditionalPaging in datatables
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
2024-07-28 21:33:30 +10:00
parent 1c4cb6f38c
commit 5f10175b35
18 changed files with 230 additions and 670 deletions

View File

@@ -1,16 +1,16 @@
<div class="card card-dark">
<div class="card-header">
<div class="card-header p-2">
<h4 class="card-title">Accounts</h4>
</div>
<div class="card-body">
<div class="card-body p-2">
@if($x=$o->accounts_all->count())
<table class="table table-striped table-hover" id="accounts">
<table class="table table-sm table-striped table-hover" id="accounts">
<thead>
<tr>
<th>Profile</th>
<th style="width: 10%;">Profile</th>
<th>Name</th>
<th class="text-right">Services</th>
<th class="text-right" style="width: 10%;">Services</th>
</tr>
</thead>
<tbody>
@@ -40,15 +40,13 @@
</div>
</div>
@section('page-styles')
@css(datatables,bootstrap4)
@append
@section('page-scripts')
@js(datatables,bootstrap4)
@pa(datatables,rowgroup|conditionalpaging)
@section('page-scripts')
<script type="text/javascript">
$(document).ready(function() {
$('#accounts').DataTable({
conditionalPaging: true,
language: {
emptyTable: "No Active Clients"
},