mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
fix some upgrade issue
This commit is contained in:
@@ -1,33 +1,37 @@
|
||||
<x-filament-widgets::widget class="fi-ta-ctn fi-ta-ctn-with-header">
|
||||
<!-- Header Section -->
|
||||
<div class="fi-ta-header">
|
||||
<div>
|
||||
<h2 class="fi-ta-header-heading">
|
||||
{{$header}}
|
||||
</h2>
|
||||
<div class="fi-ta-main">
|
||||
<!-- Header Section -->
|
||||
<div class="fi-ta-header-ctn">
|
||||
<div class="fi-ta-header">
|
||||
<div>
|
||||
<h2 class="fi-ta-header-heading">
|
||||
{{$header}}
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Table Section -->
|
||||
<div class="fi-ta-content-ctn fi-fixed-positioning-context">
|
||||
<table class="fi-ta-table">
|
||||
<tbody>
|
||||
@foreach(array_chunk($data, 2) as $chunk)
|
||||
<tr>
|
||||
@foreach($chunk as $item)
|
||||
<th class="fi-ta-header-cell fi-ta-header-cell-id">
|
||||
{{$item['text']}}
|
||||
</th>
|
||||
<td class="fi-ta-cell fi-table-cell-id"
|
||||
@if($loop->count == 1)
|
||||
colspan="3"
|
||||
@endif
|
||||
>
|
||||
<div class="{{$item['class'] ?? ''}}">{{$item['value']}}</div>
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Table Section -->
|
||||
<div class="fi-ta-content-ctn">
|
||||
<table class="fi-ta-table">
|
||||
<tbody>
|
||||
@foreach(array_chunk($data, 2) as $chunk)
|
||||
<tr>
|
||||
@foreach($chunk as $item)
|
||||
<th class="fi-ta-header-cell fi-ta-header-cell-id">
|
||||
{{$item['text']}}
|
||||
</th>
|
||||
<td class="fi-ta-cell fi-table-cell-id"
|
||||
@if($loop->count == 1)
|
||||
colspan="3"
|
||||
@endif
|
||||
>
|
||||
<div class="{{$item['class'] ?? ''}}">{{$item['value']}}</div>
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</x-filament-widgets::widget>
|
||||
|
||||
Reference in New Issue
Block a user