From 1f735e9ed5bcd62eafcda88d97ceeef253735858 Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Fri, 5 Apr 2024 19:20:43 +1100 Subject: [PATCH] Icons work #550 + Italian language --- front/css/pialert.css | 21 +- front/deviceDetails.php | 73 +- front/js/pialert_common.js | 42 +- front/network.php | 3 +- front/php/server/devices.php | 2 +- front/php/templates/language/de_de.json | 3 + front/php/templates/language/en_us.json | 3 + front/php/templates/language/es_es.json | 3 + front/php/templates/language/fr_fr.json | 3 + front/php/templates/language/it_it.json | 657 ++++++++++++++++++ front/php/templates/language/lang.php | 3 +- .../templates/language/merge_translations.py | 2 +- front/php/templates/language/nb_no.json | 3 + front/php/templates/language/ru_ru.json | 3 + front/php/templates/notification.php | 23 + pialert/database.py | 1 + pialert/initialise.py | 1 + 17 files changed, 829 insertions(+), 17 deletions(-) create mode 100755 front/php/templates/language/it_it.json diff --git a/front/css/pialert.css b/front/css/pialert.css index 3492bc6a..d3d0cb47 100755 --- a/front/css/pialert.css +++ b/front/css/pialert.css @@ -798,7 +798,7 @@ input[readonly] { /* ----------------------------------------------------------------- */ #txtIconFA { - min-width: 18px; + min-width: 40px; } @@ -939,10 +939,25 @@ input[readonly] { text-overflow: ellipsis; } -.networkTable .nav-tabs li i{ - padding:3px; +.networkTable .nav-tabs li i, .networkTable .nav-tabs li svg { + padding: 3px; + height: 2em !important; + /* width: 2em !important; */ + position: absolute; + /* z-index: 10; */ + top: 0.3em; + /* margin-left: 0.2em; */ } +.networkTable .icon { + /* padding-left:2em; */ + width:2em; + height:2em; + float: left; + /* background-color:red; */ +} + + /* ----------------------------------------------------------------- */ /* PLUGINS page */ diff --git a/front/deviceDetails.php b/front/deviceDetails.php index 292c1533..6aa8c667 100755 --- a/front/deviceDetails.php +++ b/front/deviceDetails.php @@ -190,7 +190,7 @@ -
+