update
parent
68841ce7fd
commit
6b2da35935
|
|
@ -72,18 +72,18 @@
|
||||||
</table>
|
</table>
|
||||||
@else
|
@else
|
||||||
<?php $data = json_decode($dataset->data); ?>
|
<?php $data = json_decode($dataset->data); ?>
|
||||||
<table id="table"
|
<table class="w-full text-left text-sm" id="table"
|
||||||
data-toggle="table"
|
data-toggle="table"
|
||||||
data-search="false"
|
data-search="false"
|
||||||
data-pagination="true"
|
data-pagination="true"
|
||||||
data-side-pagination="server"
|
data-side-pagination="server"
|
||||||
data-url="{{ url('dataset/Griddetail2025?id='.@$keyId) }}"
|
data-url="{{ url('dataset/Griddetail2025?id='.@$keyId) }}"
|
||||||
>
|
>
|
||||||
<thead>
|
<thead class="bg-slate-50 text-slate-500 uppercase text-[10px] font-bold tracking-wider">
|
||||||
<tr class="bg-primary-light text-primary">
|
<tr class="hover:bg-blue-50/30 transition-colors">
|
||||||
@if (!empty($data))
|
@if (!empty($data))
|
||||||
@foreach ($data[0] as $k => $key)
|
@foreach ($data[0] as $k => $key)
|
||||||
<th data-field="{{$k}}" class="gridjs-td gridjs-th text-xs">{{ ucwords(str_replace('_', ' ', $k)) }}</th>
|
<th data-field="{{$k}}" class="px-6 py-4">{{ ucwords(str_replace('_', ' ', $k)) }}</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue