Upload files to "frontend/components"
This commit is contained in:
parent
57ee7f3419
commit
392bdfca2f
5 changed files with 77 additions and 0 deletions
9
frontend/components/Card.jinja
Normal file
9
frontend/components/Card.jinja
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{#def title="", class_extra="" #}
|
||||
<div class="card bg-base-100 shadow {{ class_extra }}">
|
||||
<div class="card-body">
|
||||
{% if title %}
|
||||
<h2 class="card-title text-base mb-2">{{ title }}</h2>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue