From 62018686f58807f3be29a7bedfc5445b7af8d187 Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Sun, 19 Feb 2023 15:12:34 -0500 Subject: [PATCH] Updated global styles for record lists as well as general card styling. --- .../templates/admin_server_configuration.html | 2 +- .../templates/admin_server_statistics.html | 2 +- powerdnsadmin/templates/base.html | 6 +++--- powerdnsadmin/templates/dashboard.html | 12 ++++++------ powerdnsadmin/templates/domain_add.html | 4 ++-- powerdnsadmin/templates/domain_remove.html | 4 ++-- powerdnsadmin/templates/domain_setting.html | 14 +++++++------- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/powerdnsadmin/templates/admin_server_configuration.html b/powerdnsadmin/templates/admin_server_configuration.html index a56bd12..e45bf71 100644 --- a/powerdnsadmin/templates/admin_server_configuration.html +++ b/powerdnsadmin/templates/admin_server_configuration.html @@ -27,7 +27,7 @@
-
+

Server Configuration

diff --git a/powerdnsadmin/templates/admin_server_statistics.html b/powerdnsadmin/templates/admin_server_statistics.html index 16ff7d0..78fe746 100644 --- a/powerdnsadmin/templates/admin_server_statistics.html +++ b/powerdnsadmin/templates/admin_server_statistics.html @@ -27,7 +27,7 @@
-
+

Server Statistics

diff --git a/powerdnsadmin/templates/base.html b/powerdnsadmin/templates/base.html index d23d6b3..abd1a15 100644 --- a/powerdnsadmin/templates/base.html +++ b/powerdnsadmin/templates/base.html @@ -26,9 +26,9 @@ /* Global Styles */ table.records thead th, table.records tbody td { text-align: center; vertical-align: middle; } 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; } + div.records > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; } + div.records > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; } + div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; } {% block head_styles %}{% endblock %} {% endblock %} diff --git a/powerdnsadmin/templates/dashboard.html b/powerdnsadmin/templates/dashboard.html index 993d196..3ed9ee5 100755 --- a/powerdnsadmin/templates/dashboard.html +++ b/powerdnsadmin/templates/dashboard.html @@ -29,7 +29,7 @@