1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Add card header to tables

This commit is contained in:
DjVinnii 2021-04-01 16:51:33 +02:00
parent 49d68fa6d1
commit 8246497d16

View File

@ -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>