26 lines
964 B
PHP
26 lines
964 B
PHP
<hr/>
|
|
<h4 class="text-center">Activities cards</h4>
|
|
<table class="activities-cards-table table-bordered table-condensed table-hover table-striped table-condensed d-none mb-15" style="background-color:#f0f8ff;" width="100%">
|
|
<thead class="bg-indigo">
|
|
<tr>
|
|
<th>Card ID</th>
|
|
<th>Description</th>
|
|
<th>Action</th>
|
|
<th>Card Icon</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach($activities_cards ?? [] as $item){ ?>
|
|
<tr>
|
|
<td><?=$item['card_id']??''?></td>
|
|
<td><?=$item['detail_data']['description']??''?></td>
|
|
<td><?=$item['detail_data']['action']??''?></td>
|
|
<td><?=$item['detail_data']['card_icon']??''?></td>
|
|
</tr>
|
|
<?php }
|
|
if(empty($activities_cards ?? [])){
|
|
echo '<tr class="text-center"><td colspan="100%">Empty result</td></tr>';
|
|
}
|
|
?>
|
|
</tbody>
|
|
</table>
|