mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Clean up & comment base templates * Clean up login template & form * Use SVG file for NetBox logo * Simplify breadcrumbs * Merge changelog.html into home.html * Rename title_container block to header * Move breadcrumbs block to object.html * Attach names to endblock template tags * Reorganize root-level templates into base/ and inc/ * Remove obsolete reference to Bootstrap 3.4.1
28 lines
838 B
HTML
28 lines
838 B
HTML
{% extends 'virtualization/cluster/base.html' %}
|
|
{% load helpers %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col col-md-12">
|
|
<div class="card">
|
|
<h5 class="card-header">
|
|
Host Devices
|
|
</h5>
|
|
<form action="{% url 'virtualization:cluster_remove_devices' pk=object.pk %}" method="post">
|
|
{% csrf_token %}
|
|
<div class="card-body">
|
|
{% include 'inc/responsive_table.html' with table=devices_table %}
|
|
</div>
|
|
{% if perms.virtualization.change_cluster %}
|
|
<div class="card-footer noprint">
|
|
<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>
|
|
</div>
|
|
{% endif %}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|