From e705ae8e48805ff51593f294c8bed3f491a1cf59 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 24 Feb 2024 03:19:28 +0330 Subject: minor changes --- web/assets/codemirror/codemirror.js | 2 +- web/html/login.html | 174 ++++++++++++++++++------------------ web/html/xui/settings.html | 3 +- web/html/xui/xray.html | 4 +- 4 files changed, 93 insertions(+), 90 deletions(-) (limited to 'web') diff --git a/web/assets/codemirror/codemirror.js b/web/assets/codemirror/codemirror.js index 034ea2f8..a3cd26c1 100644 --- a/web/assets/codemirror/codemirror.js +++ b/web/assets/codemirror/codemirror.js @@ -538,7 +538,7 @@ var on = function(emitter, type, f) { if (emitter.addEventListener) { - emitter.addEventListener(type, f, { passive: true }); + emitter.addEventListener(type, f, { passive: false }); } else if (emitter.attachEvent) { emitter.attachEvent("on" + type, f); } else { diff --git a/web/html/login.html b/web/html/login.html index 4605a4fd..e9e4e219 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -374,92 +374,96 @@ - - -
-
- - - - - - - - - - - -
- - - - -

- - {{ i18n "pages.login.title" }} - 3X-UI - -

-
-
- - - - - - - - - - - - - - - - - - - -
- -
-
-
- - - - - - -    - - - - - - - - -   - - - - - - -
-
-
+ + +
+
+ + + + + + + + + + + +
+ + + + +

+ + {{ i18n "pages.login.title" }} + 3X-UI + +

-
-
-
+
+ + + + + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + +    + + + + + + + + +   + + + + + + +
+
+
+ + +
+
{{template "js" .}} {{template "component/themeSwitcher" .}} diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index adc199a9..fdb523c3 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -263,7 +263,6 @@ -