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:
parent
49d68fa6d1
commit
8246497d16
@ -69,7 +69,7 @@
|
|||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div class="card card-outline card-{{ theme }}">
|
<div class="card card-outline card-{{ theme }}">
|
||||||
{% if header %}
|
{% if header %}
|
||||||
<div class="card-header">
|
<div class="card-header border-0">
|
||||||
{% if title %}
|
{% if title %}
|
||||||
<h3 class="card-title">{{ title }}</h3>
|
<h3 class="card-title">{{ title }}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -86,11 +86,15 @@
|
|||||||
{% macro table(theme="primary") %}
|
{% macro table(theme="primary") %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div class="card card-{{ theme }}">
|
<div class="card card-outline card-{{ theme }}">
|
||||||
|
<div class="card-header border-0">
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
{{ caller() }}
|
{{ caller() }}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
Loading…
Reference in New Issue
Block a user