From 5779fd34c5f54283ebec38232f731acc26c8ce3b Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sat, 8 Feb 2025 07:52:13 +1100 Subject: [PATCH] treeviz flatdata experiment + better invalid TZ handling --- front/css/app.css | 14 +- front/deviceDetails.php | 54 +- front/devices.php | 6 +- front/lib/treeviz/bundle.js | 4178 +++++++++++++++++++++++ front/lib/treeviz/bundle.js.map | 1 + front/lib/treeviz/index.js | 375 -- front/lib/treeviz/require.js | 5 - front/network.php | 752 ++-- front/php/templates/language/ca_ca.json | 12 +- front/php/templates/language/de_de.json | 12 +- front/php/templates/language/en_us.json | 12 +- front/php/templates/language/es_es.json | 12 +- front/php/templates/language/fr_fr.json | 12 +- front/php/templates/language/it_it.json | 12 +- front/php/templates/language/nb_no.json | 12 +- front/php/templates/language/pl_pl.json | 6 +- front/php/templates/language/pt_br.json | 10 +- front/php/templates/language/ru_ru.json | 12 +- front/php/templates/language/tr_tr.json | 4 +- front/php/templates/language/uk_ua.json | 12 +- front/php/templates/language/zh_cn.json | 12 +- front/php/templates/timezone.php | 9 +- front/plugins/plugin_helper.py | 4 +- server/const.py | 2 +- server/initialise.py | 17 +- 25 files changed, 4730 insertions(+), 827 deletions(-) create mode 100755 front/lib/treeviz/bundle.js create mode 100755 front/lib/treeviz/bundle.js.map delete mode 100755 front/lib/treeviz/index.js delete mode 100755 front/lib/treeviz/require.js diff --git a/front/css/app.css b/front/css/app.css index 60bcbf2f..92482f51 100755 --- a/front/css/app.css +++ b/front/css/app.css @@ -1529,6 +1529,14 @@ input[readonly] { flex-direction:column; justify-content:center; } +.networkHelpIcon +{ + padding: 5px; + margin-left: 5px; + top: 55px; + position: absolute; + z-index:5; +} #networkTree .netNodeText { position: absolute; @@ -1589,7 +1597,7 @@ input[readonly] { .spanNetworkTree { display: inline-block; - width: 120px; + width: 135px; white-space: nowrap; overflow: hidden !important; text-overflow: ellipsis; @@ -1635,6 +1643,10 @@ input[readonly] { { display: none; } + .dev-detail-tab-name + { + display: none; + } } /* ----------------------------------------------------------------- */ diff --git a/front/deviceDetails.php b/front/deviceDetails.php index 88d10f29..cd19221c 100755 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -61,12 +61,54 @@