mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-05 06:46:25 -06:00
* Enable HTMX boosting * Refactor HTMX properties for tables * Fix dashboard object list widget * Disable scrolling to page content * Fix initialization of TomSelect dropdowns after HTMX loading * Replace formaction properties with hx-post * Fix quick search field on object list view * Reinitialize copy-to-clipboard buttons upon HTMX load * Disable scrolling effect for intra-page navigation * Introduce user preference for toggling HTMX navigation * Enable HTMX navigation only when selected by user * Pass htmx_navigation context * Fix display of confirmation form when deleting an object * Disable HTMX boosting for rack elevation SVG downloads * Fix dyanmic form rendering * Introduce htmx_boost template tag; enable HTMX for user menu * Use out-of-band sap to update footer stamp * Fix display of toasts after form submission * Fix user preference selection * Misc cleanup * Rename render_partial() to htmx_partial() * Add docstring to htmx_boost template tag * Disable HTMX for user preferences form to force a full page refresh on changes
23 lines
793 B
HTML
23 lines
793 B
HTML
{% extends 'generic/object_list.html' %}
|
|
{% load buttons %}
|
|
{% load helpers %}
|
|
{% load i18n %}
|
|
|
|
{% block bulk_buttons %}
|
|
<div class="btn-group" role="group">
|
|
{% if 'bulk_edit' in actions %}
|
|
{% bulk_edit_button model query_params=request.GET %}
|
|
{% endif %}
|
|
{% if 'bulk_rename' in actions %}
|
|
{% with bulk_rename_view=model|validated_viewname:"bulk_rename" %}
|
|
<button type="submit" name="_rename" {% formaction %}="{% url bulk_rename_view %}" class="btn btn-outline-warning">
|
|
<i class="mdi mdi-pencil-outline" aria-hidden="true"></i> {% trans "Rename Selected" %}
|
|
</button>
|
|
{% endwith %}
|
|
{% endif %}
|
|
</div>
|
|
{% if 'bulk_delete' in actions %}
|
|
{% bulk_delete_button model query_params=request.GET %}
|
|
{% endif %}
|
|
{% endblock %}
|