Added Jinja filter for handle formatting of zone type labels to enforce modern social standards.

Removed text label of dashboard domain list action menu to reduce size.

Continuing work on re-design and clean-up of dashboard view.
This commit is contained in:
Matt Scott
2023-02-19 09:48:43 -05:00
parent d70ded18c2
commit 4f83879e95
4 changed files with 19 additions and 5 deletions

View File

@ -199,7 +199,7 @@
<!-- /.card-header -->
<div class="card-body table-responsive p-0 pt-2">
<table id='tbl_domain_list_{{ boxId }}'
class="table table-striped table-hover">
class="table table-striped table-hover records table-sm">
<thead>
<tr>
<th>Name</th>
@ -236,6 +236,9 @@
{% block head_styles %}
<style type="text/css">
table.records thead th, table.records tbody td { text-align: center; vertical-align: middle; }
table.records tbody td:first-of-type { text-align: left; }
table.records thead th:last-of-type { width: 50px; }
div.table-responsive > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
div.table-responsive > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
div.table-responsive > div.dataTables_wrapper table.dataTable { margin: 0!important; }