From 697cd5e6d9d8cdacb1cf36fb485667e2409eba62 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Sat, 8 Mar 2025 22:41:27 +0700 Subject: [PATCH] Code refactoring (#2739) * refactor: switching to the use of typed props * refactor: `password-input` -> `a-password-input` * fix: qr modal copy error --- web/html/common/qrcode_modal.html | 6 +-- web/html/login.html | 10 ++-- web/html/xui/client_bulk_modal.html | 4 +- web/html/xui/common_sider.html | 4 +- web/html/xui/component/password.html | 52 +++++++++++++------ web/html/xui/component/persianDatepicker.html | 28 +++++++--- web/html/xui/component/setting.html | 21 +++++++- web/html/xui/component/sortableTable.html | 38 ++++++++++---- web/html/xui/component/themeSwitch.html | 25 +++++---- web/html/xui/form/client.html | 4 +- web/html/xui/form/inbound.html | 4 +- web/html/xui/settings.html | 4 +- web/html/xui/xray.html | 2 +- 13 files changed, 136 insertions(+), 66 deletions(-) diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 914290f6..5ea1ca95 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -10,7 +10,7 @@ {{ i18n "pages.settings.subSettings"}} - + @@ -18,7 +18,7 @@ {{ i18n "pages.settings.subSettings"}} Json - + @@ -27,7 +27,7 @@ [[ row.remark ]] - + diff --git a/web/html/login.html b/web/html/login.html index 82c9afd5..fc48b9ec 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -422,16 +422,16 @@ - - + - - + @@ -461,7 +461,7 @@ - + diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 74e49225..82e68c74 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -106,9 +106,9 @@ - - + - + Expired diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index 091393ff..e0521c69 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -57,9 +57,9 @@ - - + diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index e8fa7e11..3bfb32a9 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -271,7 +271,7 @@ @@ -283,7 +283,7 @@ diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html index d101bdcd..41bbd214 100644 --- a/web/html/xui/xray.html +++ b/web/html/xui/xray.html @@ -348,7 +348,7 @@ :indent-size="0" v-on:onSort="replaceRule">