From 4fef6e156b0ca461b7b374d838a920b10f3341d7 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sat, 28 Dec 2024 09:19:25 +1100 Subject: [PATCH] Archived devices were shown #920 --- front/css/app.css | 27 ++++++++ front/deviceDetailsEdit.php | 2 +- front/devices.php | 85 +++++++++++++------------ front/js/device.js | 45 +++++++++---- front/js/modal.js | 7 +- front/js/settings_utils.js | 3 +- front/php/templates/language/en_us.json | 1 + front/php/templates/language/es_es.json | 0 log/.gitignore | 0 log/plugins/.gitignore | 0 server/const.py | 2 +- server/graphql_server/graphql_schema.py | 3 +- 12 files changed, 119 insertions(+), 56 deletions(-) mode change 100644 => 100755 front/php/templates/language/es_es.json mode change 100644 => 100755 log/.gitignore mode change 100644 => 100755 log/plugins/.gitignore diff --git a/front/css/app.css b/front/css/app.css index 7088a33e..c9c44960 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -1416,6 +1416,7 @@ input[readonly] { display: inline-block; padding: 0.1em; margin: 0.1em; + /* transition: font-size 0.3s;*/ } .devicePropAction:hover @@ -1426,6 +1427,32 @@ input[readonly] { } + +#panDetails .dataTables_wrapper .bottom div +{ + max-width: 34%; + display: block; + float:inline-end; + height: 2em; +} + +#panDetails .dataTables_wrapper .bottom .dataTables_info +{ + float:inline-start; +} + +#panDetails .dataTables_wrapper .bottom .dataTables_length +{ + padding: 0.3em; +} +/* #panDetails .dataTables_wrapper .bottom .paging_simple_numbers */ + + +#panDetails #NEWDEV_devCustomProps_label +{ + display: none; +} + /* ----------------------------------------------------------------- */ /* MODAL popups */ /* ----------------------------------------------------------------- */ diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index 5ac7a10e..f4b1ad88 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -211,7 +211,7 @@ function getDeviceData(readAllData){ // Generate the input field HTML const inputFormHtml = `
-