mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
28 lines
895 B
HTML
28 lines
895 B
HTML
{% extends 'virtualization/cluster/base.html' %}
|
|
{% load helpers %}
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% block content %}
|
|
<form action="{% url 'virtualization:cluster_remove_devices' pk=object.pk %}" method="post">
|
|
{% csrf_token %}
|
|
{% include 'inc/table_controls_htmx.html' with table_modal="DeviceTable_config" %}
|
|
|
|
<div class="card">
|
|
<div class="card-body" id="object_list">
|
|
{% include 'htmx/table.html' %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="noprint bulk-buttons">
|
|
<div class="bulk-button-group">
|
|
{% if perms.virtualization.change_cluster %}
|
|
<button type="submit" name="_remove" class="btn btn-danger btn-sm">
|
|
<span class="mdi mdi-trash-can-outline" aria-hidden="true"></span> Remove Devices
|
|
</button>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% table_config_form table %}
|
|
{% endblock %}
|