From ffa531f9cac29802af8778404679d6112b7a6b97 Mon Sep 17 00:00:00 2001
From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
Date: Sat, 9 Mar 2024 16:36:16 +0330
Subject: Minor Fixes (#1992)
autocomplete
max - min for input-number
---
web/html/login.html | 24 ++++++++++--------------
web/html/xui/common_sider.html | 26 ++------------------------
web/html/xui/component/setting.html | 4 ++--
web/html/xui/component/themeSwitch.html | 12 +++++++++---
web/html/xui/form/inbound.html | 2 +-
web/html/xui/form/stream/stream_kcp.html | 12 ++++++------
web/html/xui/inbounds.html | 2 +-
web/html/xui/settings.html | 14 +++++++-------
8 files changed, 38 insertions(+), 58 deletions(-)
(limited to 'web/html')
diff --git a/web/html/login.html b/web/html/login.html
index 7655c66f..dfb01cea 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -374,6 +374,12 @@
transform: translateZ(-100px);
}
}
+ .ant-menu-item .anticon {
+ margin-right: 4px;
+ }
+ .ant-menu-inline .ant-menu-item {
+ padding: 0 16px !important;
+ }
@@ -410,19 +416,19 @@
-
-
-
@@ -455,17 +461,7 @@
-
-
-
-
-
-
- Ultra
-
-
+
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
index 78b833b9..bc8f4608 100644
--- a/web/html/xui/common_sider.html
+++ b/web/html/xui/common_sider.html
@@ -24,18 +24,7 @@
{{define "commonSider"}}
-
-
-
-
-
-
- Ultra
-
-
-
+
key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
@@ -49,18 +38,7 @@
-
-
-
-
-
-
- Ultra
-
-
-
+
key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/setting.html
index 82c0ae75..8adc000c 100644
--- a/web/html/xui/component/setting.html
+++ b/web/html/xui/component/setting.html
@@ -16,7 +16,7 @@
- $emit('input', value)" :min="min" style="width: 100%;">
+ $emit('input', value)" :min="min" :max="max" style="width: 100%;">
$emit('input', value)">
@@ -29,7 +29,7 @@
{{define "component/setting"}}
diff --git a/web/html/xui/component/themeSwitch.html b/web/html/xui/component/themeSwitch.html
index 2301da94..191632c1 100644
--- a/web/html/xui/component/themeSwitch.html
+++ b/web/html/xui/component/themeSwitch.html
@@ -1,8 +1,14 @@
{{define "component/themeSwitchTemplate"}}
-
-
+
+
+
{{end}}
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index 03df4926..92edb394 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -28,7 +28,7 @@
-
+
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html
index 5cdee701..97ca4071 100644
--- a/web/html/xui/form/stream/stream_kcp.html
+++ b/web/html/xui/form/stream/stream_kcp.html
@@ -23,25 +23,25 @@
-
+
-
+
-
+
-
+
-
+
-
+
{{end}}
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 28d6b6e8..1177118c 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -537,7 +537,7 @@
{ title: '{{ i18n "online" }}', width: 30, scopedSlots: { customRender: 'online' } },
{ title: '{{ i18n "pages.inbounds.client" }}', width: 80, scopedSlots: { customRender: 'client' } },
{ title: '{{ i18n "pages.inbounds.traffic" }}', width: 80, align: 'center', scopedSlots: { customRender: 'traffic' } },
- { title: '{{ i18n "pages.inbounds.expireDate" }}', width: 80, align: 'center', scopedSlots: { customRender: 'expiryTime' } },
+ { title: '{{ i18n "pages.inbounds.expireDate" }}', width: 100, align: 'center', scopedSlots: { customRender: 'expiryTime' } },
];
const innerMobileColumns = [
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index d3e0ec48..507a93c7 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -138,7 +138,7 @@
-
+
@@ -197,16 +197,16 @@
{{ i18n "pages.settings.security.admin"}}
-
+
-
+
-
+
{{ i18n "confirm" }}
@@ -282,12 +282,12 @@
-
+
-
+
@@ -531,4 +531,4 @@
});
-