From 8d607aac96554306b8d3564803c827505fc26cd6 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 26 Jan 2025 10:20:46 +1100 Subject: [PATCH] css fixes, docs --- front/css/app.css | 6 +++++- front/devices.php | 4 ++-- front/php/components/devices_filters.php | 2 +- front/plugins/asuswrt_import/README.md | 1 + front/plugins/ui_settings/config.json | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/front/css/app.css b/front/css/app.css index e8209c24..60bcbf2f 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -1253,12 +1253,16 @@ input[readonly] { } .filter-group { - flex: 1 100px; box-sizing: border-box; /* Ensure padding and borders are included in the width */ padding: 1em; padding-top: 0; } +.filter-dropdown +{ + width:7em +} + .modal-header .close { display: flex; diff --git a/front/devices.php b/front/devices.php index a3ee02be..0e275060 100755 --- a/front/devices.php +++ b/front/devices.php @@ -446,7 +446,7 @@ function initFilters() { // Server side component function renderFilters(customData) { - console.log(JSON.stringify(customData)); + // console.log(JSON.stringify(customData)); // Load filter data from the JSON file $.ajax({ @@ -455,7 +455,7 @@ function renderFilters(customData) { type: 'POST', dataType: 'html', success: function(response) { - console.log(response); + // console.log(response); $('#columnFilters').html(response); // Replace container content with fetched HTML $('#columnFilters').removeClass('hidden'); // Show the filters container diff --git a/front/php/components/devices_filters.php b/front/php/components/devices_filters.php index a620c87a..c66492ec 100755 --- a/front/php/components/devices_filters.php +++ b/front/php/components/devices_filters.php @@ -17,7 +17,7 @@ function renderFilterDropdown($headerKey, $columnName, $values) { // Generate the dropdown HTML return ' -
+