#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,11 +6,7 @@
{% block content %}
<form method="post">
{% csrf_token %}
<div class="float-end noprint">
{% if request.user.is_authenticated %}
<button type="button" class="btn btn-outline-dark btn-sm" data-bs-toggle="modal" data-bs-target="#DeviceFrontPortTable_config" title="Configure table"><i class="mdi mdi-cog"></i> Configure</button>
{% endif %}
</div>
{% include 'inc/table_controls.html' with table_modal="DeviceFrontPortTable_config" %}
{% render_table frontport_table 'inc/table.html' %}
<div class="noprint">
{% if perms.dcim.change_frontport %}