mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-23 12:08:43 -06:00
#16009 Added btn-float-group style class and added to form templates for floating button groups
This commit is contained in:
@@ -102,7 +102,7 @@ Context:
|
||||
|
||||
{% endif %}
|
||||
|
||||
<div class="text-end">
|
||||
<div class="text-end btn-float-group">
|
||||
<a href="{{ return_url }}" class="btn btn-outline-secondary">{% trans "Cancel" %}</a>
|
||||
<button type="submit" name="_apply" class="btn btn-primary">{% trans "Apply" %}</button>
|
||||
</div>
|
||||
|
||||
@@ -67,7 +67,7 @@ Context:
|
||||
{% endblock form %}
|
||||
</div>
|
||||
|
||||
<div class="text-end my-3">
|
||||
<div class="text-end my-3 btn-float-group">
|
||||
{% block buttons %}
|
||||
<a href="{{ return_url }}" class="btn btn-outline-secondary">{% trans "Cancel" %}</a>
|
||||
{% if object.pk %}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-footer text-end d-print-none border-0">
|
||||
<div class="card-footer text-end btn-float-group d-print-none border-0">
|
||||
<button type="button" class="btn btn-outline-danger m-1" data-reset-select>
|
||||
<i class="mdi mdi-backspace"></i> {% trans "Reset" %}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user