Initial Commit

This commit is contained in:
gabatxo1312
2026-01-23 13:56:30 +01:00
commit e8529bdbee
25 changed files with 13519 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
{% macro dropdown_button(label, items = []) %}
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
{{ label }}
</button>
<ul class="dropdown-menu">
{% for item in items %}
<li><a class="dropdown-item" href="{{ item.1 }}">{{ item.0 }}</a></li>
{% endfor %}
</ul>
</div>
{% endmacro %}
+14
View File
@@ -0,0 +1,14 @@
{% macro field(name, value) %}
<div class="row mt-4">
<div class="col-md-3">
<p class="mb-0 fw-regular">
{{ name }}:
</p>
</div>
<div class="col-md-9">
<p class="mb-0">
{{ value }}
</p>
</div>
</div>
{% endmacro %}
+13
View File
@@ -0,0 +1,13 @@
{% macro heading(title) %}
<div class="d-flex justify-content-between align-items-center">
<h1 class="mb-4">
{{ title }}
</h1>
{% if caller is defined %}
<div>
{{ caller() }}
</div>
{% endif %}
</div>
{% endmacro %}