From fa6098ae58bd828a8d444e5f436e7f3162571259 Mon Sep 17 00:00:00 2001
From: aljawaid <10233708+aljawaid@users.noreply.github.com>
Date: Fri, 15 Sep 2023 23:26:33 +0100
Subject: [PATCH] NEW: Fade Not Set and Unavailable Default Values
---
Assets/css/kanboard-support.css | 5 +++
Template/config/app-config.php | 12 ++++----
Template/config/support.php | 54 ++++++++++++++++++---------------
3 files changed, 40 insertions(+), 31 deletions(-)
diff --git a/Assets/css/kanboard-support.css b/Assets/css/kanboard-support.css
index 7f45661..1e9d602 100644
--- a/Assets/css/kanboard-support.css
+++ b/Assets/css/kanboard-support.css
@@ -693,3 +693,8 @@ fieldset.brute-force-protection {
fieldset.brute-force-protection p:first-of-type {
line-height: 1.25;
}
+
+li.not-set, li.not-available {
+ color: var(--pp-grey-alt);
+ font-style: italic;
+}
diff --git a/Template/config/app-config.php b/Template/config/app-config.php
index 61ba83a..549d1ba 100644
--- a/Template/config/app-config.php
+++ b/Template/config/app-config.php
@@ -384,8 +384,8 @@
= t('Proxy Hostname') ?>
-
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
@@ -408,8 +408,8 @@
= t('Proxy Username') ?>
-
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
@@ -420,8 +420,8 @@
= t('Proxy Password') ?>
-
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
diff --git a/Template/config/support.php b/Template/config/support.php
index 93201b9..2c0df00 100644
--- a/Template/config/support.php
+++ b/Template/config/support.php
@@ -203,7 +203,9 @@
= DB_TIMEOUT ?>s
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
+
✔
@@ -240,7 +242,9 @@
= DB_SSL_KEY ?>
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
+
@@ -248,7 +252,9 @@
= DB_SSL_CERT ?>
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
+
@@ -256,7 +262,9 @@
= DB_SSL_CA ?>
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
+
@@ -264,7 +272,9 @@
= DB_VERIFY_SERVER_CERT ?>
- = t('Not Set') ?>
+
+ = t('Not Set') ?>
+
@@ -324,13 +334,11 @@
user->isAdmin()): ?>
BCC
-
- = t('Not Set') ?>
+ = t('Not Set') ?>
- = MAIL_BCC ?>
+ = MAIL_BCC ?>
-
@@ -365,15 +373,13 @@
= t('SMTP Encryption') ?>
-
-
- SSL
-
- TLS
-
- = t('Not Set') ?>
-
-
+
+ SSL
+
+ TLS
+
+ = t('Not Set') ?>
+
@@ -392,13 +398,11 @@
SMTP HELO = t('Command Name') ?>
-
-
- = MAIL_SMTP_HELO_NAME ?>
-
- = t('Not Set') ?>
-
-
+
+ = MAIL_SMTP_HELO_NAME ?>
+
+ = t('Not Set') ?>
+