From d759e09569008cbe6782be8d544a38f888737866 Mon Sep 17 00:00:00 2001 From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com> Date: Mon, 1 Apr 2024 10:38:22 +0330 Subject: QRious2 (#2156) --- web/html/common/qrcode_modal.html | 9 ++++++--- web/html/xui/component/themeSwitch.html | 9 ++++++++- web/html/xui/inbounds.html | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) (limited to 'web/html') diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 5cbe7858..524335cf 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -78,10 +78,13 @@ setQrCode(elmentId, content) { new QRious({ element: document.querySelector('#' + elmentId), - size: 300, + size: 400, value: content, - background: 'transparent', - foreground: 'black' + background: 'white', + backgroundAlpha: 0, + foreground: 'black', + padding: 2, + level: 'L' }); }, genSubLink(subID) { diff --git a/web/html/xui/component/themeSwitch.html b/web/html/xui/component/themeSwitch.html index 191632c1..28fe3e11 100644 --- a/web/html/xui/component/themeSwitch.html +++ b/web/html/xui/component/themeSwitch.html @@ -1,6 +1,6 @@ {{define "component/themeSwitchTemplate"}}