Add card header to tables

master
DjVinnii 4 years ago
parent 49d68fa6d1
commit 8246497d16

@ -69,7 +69,7 @@
<div class="col-lg-12">
<div class="card card-outline card-{{ theme }}">
{% if header %}
<div class="card-header">
<div class="card-header border-0">
{% if title %}
<h3 class="card-title">{{ title }}</h3>
{% endif %}
@ -86,10 +86,14 @@
{% macro table(theme="primary") %}
<div class="row">
<div class="col-lg-12">
<div class="card card-{{ theme }}">
<table class="table table-bordered">
<div class="card card-outline card-{{ theme }}">
<div class="card-header border-0">
</div>
<div class="card-body">
<table class="table table-bordered">
{{ caller() }}
</table>
</table>
</div>
</div>
</div>
</div>

Loading…
Cancel
Save