From b127bf5edfc4e00c38d457cdd5e0100ce8b066ca Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Wed, 28 Aug 2024 17:10:36 +0200 Subject: [PATCH 1/4] Update icon color classes to use "text-secondary" instead of "text-dark" --- src/bootstrap/PasswordInput.js | 2 +- src/common/WiFiSettings/WiFiQRCode.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/PasswordInput.js b/src/bootstrap/PasswordInput.js index 510db1d..fb9c57a 100644 --- a/src/bootstrap/PasswordInput.js +++ b/src/bootstrap/PasswordInput.js @@ -49,7 +49,7 @@ function PasswordInput({ withEye, newPass, ...props }) { )} diff --git a/src/common/WiFiSettings/WiFiQRCode.js b/src/common/WiFiSettings/WiFiQRCode.js index 08bffdd..8816009 100644 --- a/src/common/WiFiSettings/WiFiQRCode.js +++ b/src/common/WiFiSettings/WiFiQRCode.js @@ -42,7 +42,7 @@ export default function WiFiQRCode({ SSID, password }) { icon="fa-solid fa-qrcode" title={_("Show QR code")} aria-label={_("Show QR code")} - className="text-dark" + className="text-secondary" /> {modal ? ( From ea590e443cf4fa6572256ad370908884abc924cb Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Fri, 30 Aug 2024 15:19:19 +0200 Subject: [PATCH 2/4] Refactor WiFiGuestForm component to get rid of obsolete "input-group-append" div element --- src/common/WiFiSettings/WiFiGuestForm.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/common/WiFiSettings/WiFiGuestForm.js b/src/common/WiFiSettings/WiFiGuestForm.js index 33dc153..49d34de 100644 --- a/src/common/WiFiSettings/WiFiGuestForm.js +++ b/src/common/WiFiSettings/WiFiGuestForm.js @@ -68,14 +68,11 @@ export default function WifiGuestForm({ }))} {...props} > -
- -
+ - Date: Fri, 30 Aug 2024 15:20:25 +0200 Subject: [PATCH 3/4] Update Wi-Fi QRCodeModal component to use new button styles & add close button --- src/common/WiFiSettings/WiFiQRCode.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/common/WiFiSettings/WiFiQRCode.js b/src/common/WiFiSettings/WiFiQRCode.js index 8816009..e5e39b3 100644 --- a/src/common/WiFiSettings/WiFiQRCode.js +++ b/src/common/WiFiSettings/WiFiQRCode.js @@ -70,17 +70,26 @@ function QRCodeModal({ shown, setShown, SSID, password }) { + -+ ++ ++ + +
Snapshot guest network. 1`] = ` class="form-check form-switch mb-3 d-flex align-items-center" >