From b87705f50bce65fd38454f0415343938ca4014be Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Mon, 15 May 2023 23:02:21 +0430 Subject: [PATCH] Update htmls --- web/html/common/prompt_modal.html | 10 +++---- web/html/common/qrcode_modal.html | 2 +- web/html/common/text_modal.html | 2 +- web/html/login.html | 26 +++++++++---------- web/html/xui/client_bulk_modal.html | 6 ++--- web/html/xui/common_sider.html | 4 +-- web/html/xui/form/client.html | 4 +-- web/html/xui/form/inbound.html | 4 +-- web/html/xui/form/protocol/dokodemo.html | 2 +- web/html/xui/form/protocol/shadowsocks.html | 10 +++---- web/html/xui/form/protocol/socks.html | 1 - web/html/xui/form/protocol/trojan.html | 6 ++--- web/html/xui/form/protocol/vless.html | 4 +-- web/html/xui/form/protocol/vmess.html | 2 +- web/html/xui/form/stream/stream_kcp.html | 2 +- web/html/xui/form/stream/stream_quic.html | 4 +-- web/html/xui/form/stream/stream_settings.html | 2 +- web/html/xui/form/tls_settings.html | 10 +++---- web/html/xui/inbounds.html | 20 +++++++------- web/html/xui/index.html | 4 +-- web/html/xui/{setting.html => settings.html} | 15 +++++------ 21 files changed, 68 insertions(+), 72 deletions(-) rename web/html/xui/{setting.html => settings.html} (98%) diff --git a/web/html/common/prompt_modal.html b/web/html/common/prompt_modal.html index 6b64bc95..23bdca64 100644 --- a/web/html/common/prompt_modal.html +++ b/web/html/common/prompt_modal.html @@ -36,11 +36,11 @@ }, confirm() {}, open({ - title='', - type='text', - value='', - okText='{{ i18n "sure"}}', - confirm=() => {}, + title = '', + type = 'text', + value = '', + okText = '{{ i18n "sure"}}', + confirm = () => {}, }) { this.title = title; this.type = type; diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 06ca07a8..76ab7b41 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -23,7 +23,7 @@ qrcode: null, clipboard: null, visible: false, - show: function (title='', content='', dbInbound=new DBInbound(), copyText='', clientName = null) { + show: function (title = '', content = '', dbInbound = new DBInbound(), copyText = '', clientName = null) { this.title = title; this.content = content; this.dbInbound = dbInbound; diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index 649f73dd..1514051b 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -21,7 +21,7 @@ qrcode: null, clipboard: null, visible: false, - show: function (title='', content='', fileName='') { + show: function (title = '', content = '', fileName = '') { this.title = title; this.content = content; this.fileName = fileName; diff --git a/web/html/login.html b/web/html/login.html index b98059e2..c1b88449 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -50,7 +50,7 @@ -

{{ i18n "pages.login.title" }}

+

{{ i18n "pages.login.title" }}

@@ -63,10 +63,9 @@ - - - + + @@ -78,14 +77,12 @@ - - - - -    - - - + + + +    + + @@ -101,6 +98,7 @@ {{template "js" .}} {{template "component/themeSwitcher" .}} +{{template "component/password" .}}