1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6372: Simplify & streamline table config & table filter elements

This commit is contained in:
checktheroads
2021-07-14 16:25:59 -07:00
parent 7449ea28a5
commit ae5c2d49c6
12 changed files with 66 additions and 82 deletions

View File

@@ -6,14 +6,7 @@
{% block content %}
<form method="post">
{% csrf_token %}
<div class="float-end col-md-4 noprint table-controls mw-33">
<div class="input-group input-group-sm">
<input type="text" class="form-control interface-filter" placeholder="Filter" title="Filter text (regular expressions supported)" />
{% if request.user.is_authenticated %}
<button type="button" class="btn btn-outline-dark btn-sm" data-bs-toggle="modal" data-bs-target="#VirtualMachineVMInterfaceTable_config" title="Configure Table"><i class="mdi mdi-table-eye"></i></button>
{% endif %}
</div>
</div>
{% include 'inc/table_controls.html' with table_modal="VirtualMachineVMInterfaceTable_config" %}
{% render_table interface_table 'inc/table.html' %}
<div class="noprint">
{% if perms.virtualization.change_vminterface %}