Added style classes to represent left and right justified floating button groups

This commit is contained in:
atownson
2024-09-23 13:04:44 -05:00
parent 30e67047d3
commit 3b8a3dc66a
5 changed files with 15 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ Context:
{% endif %}
<div class="btn-float-group">
<div class="btn-float-group-right">
<a href="{{ return_url }}" class="btn btn-outline-secondary btn-float">{% trans "Cancel" %}</a>
<button type="submit" name="_apply" class="btn btn-primary">{% trans "Apply" %}</button>
</div>

View File

@@ -67,7 +67,7 @@ Context:
{% endblock form %}
</div>
<div class="btn-float-group">
<div class="btn-float-group-right">
{% block buttons %}
<a href="{{ return_url }}" class="btn btn-outline-secondary btn-float">{% trans "Cancel" %}</a>
{% if object.pk %}

View File

@@ -121,7 +121,7 @@ Context:
{# /Objects table #}
{# Form buttons #}
<div class="btn-list d-print-none mt-2">
<div class="btn-list d-print-none">
{% block bulk_buttons %}
<div class="bulk-action-buttons">
{% if 'bulk_edit' in actions %}

View File

@@ -38,7 +38,7 @@
{% endif %}
</div>
</div>
<div class="btn-float-group me-1">
<div class="btn-float-group-right me-1">
<button type="button" class="btn btn-outline-danger btn-float" data-reset-select>
<i class="mdi mdi-backspace"></i> {% trans "Reset" %}
</button>