I did some pointless changes! Hooray!
This commit is contained in:
parent
ad8354ea3d
commit
4a8786ac06
2 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
{% import "fragments/_icon_fragment.html" as icons %}
|
||||
|
||||
{% macro breadcrumb_header(breadcrumbs=[], title=None, save_button=False, delete_button=False, create_button=False) %}
|
||||
{% macro breadcrumb_header(breadcrumbs=[], title=None) %}
|
||||
<!-- Breadcrumb Fragment -->
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item">
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{% import "fragments/_icon_fragment.html" as icons %}
|
||||
|
||||
{% macro render_button(id, icon, style='primary', logic = None) %}
|
||||
{% macro render_button(id, icon, style='primary', logic = None, label = None, enabled = True) %}
|
||||
<!-- Button Fragment -->
|
||||
<button type="button" class="btn btn-{{ style }}" id="{{ id }}Button">{{ icons.render_icon(icon, 16) }}</button>
|
||||
<button type="button" class="btn btn-{{ style }}" id="{{ id }}Button"{% if not enabled %} disabled{% endif %}>{{ icons.render_icon(icon, 16) }}{{ label if label
|
||||
else '' }}</button>
|
||||
{% if logic %}
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", (e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue