From e300fbc7cb18acd7239844c9ac7aac698dbd7cb5 Mon Sep 17 00:00:00 2001
From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
Date: Tue, 12 Dec 2023 20:03:29 +0330
Subject: [PATCH] Update inbound_info_modal.html (#1342)
* Update login.html
* Update custom.css
* Update inbound_info_modal.html
* Update custom.css
* Update custom.css
---
web/assets/css/custom.css | 9 ++++++++-
web/html/login.html | 4 ++--
web/html/xui/form/client.html | 2 +-
web/html/xui/form/tls_settings.html | 8 ++++----
web/html/xui/inbound_info_modal.html | 26 +++++++++++++-------------
5 files changed, 28 insertions(+), 21 deletions(-)
diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css
index 667f9f03..ae2dbf16 100644
--- a/web/assets/css/custom.css
+++ b/web/assets/css/custom.css
@@ -1052,7 +1052,14 @@ li.ant-select-dropdown-menu-item:empty:after {
max-width: 200px;
}
-.ant-modal-body {
+.tag-of-wrap-l {
+ text-wrap: pretty;
+ overflow-wrap: anywhere;
+ max-width: 350px;
+}
+
+.ant-modal-body,
+.ant-collapse-content>.ant-collapse-content-box {
overflow-x: auto;
}
diff --git a/web/html/login.html b/web/html/login.html
index 8f5a6f4d..11fff20b 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -102,8 +102,8 @@
}
.ant-btn-primary-login {
color: #008771;
- background-color: #eef9f7;
- border-color: #89d9cc;
+ background-color: #e8f4f2;
+ border-color: #a2d3cb;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
box-shadow: none;
width: 100%;
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index 30bf6566..0ade5241 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -39,7 +39,7 @@
ID |
-
+
|
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index d277df79..1aa53193 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -327,7 +327,7 @@
-
+
|
@@ -337,7 +337,7 @@
-
+
|
@@ -369,7 +369,7 @@
-
+
|
@@ -380,7 +380,7 @@
+ style="width: 250px">
|
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 9d1527b0..1a9c4ac0 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -11,7 +11,7 @@
{{ i18n "protocol" }} | [[ dbInbound.protocol ]] |
- {{ i18n "pages.inbounds.address" }} | [[ dbInbound.address ]] |
+ {{ i18n "pages.inbounds.address" }} | [[ dbInbound.address ]] |
{{ i18n "pages.inbounds.port" }} | [[ dbInbound.port ]] |
|
@@ -24,28 +24,28 @@
{{ i18n "host" }} |
[[ inbound.host ]] |
- {{ i18n "none" }} |
+ {{ i18n "none" }} |
{{ i18n "path" }} |
- [[ inbound.path ]] |
+ [[ inbound.path ]] |
{{ i18n "none" }} |
- quic {{ i18n "encryption" }} | [[ inbound.quicSecurity ]] |
- quic {{ i18n "password" }} | [[ inbound.quicKey ]] |
- quic {{ i18n "camouflage" }} | [[ inbound.quicType ]] |
+ quic {{ i18n "encryption" }} | [[ inbound.quicSecurity ]] |
+ quic {{ i18n "password" }} | [[ inbound.quicKey ]] |
+ quic {{ i18n "camouflage" }} | [[ inbound.quicType ]] |
- kcp {{ i18n "encryption" }} | [[ inbound.kcpType ]] |
- kcp {{ i18n "password" }} | [[ inbound.kcpSeed ]] |
+ kcp {{ i18n "encryption" }} | [[ inbound.kcpType ]] |
+ kcp {{ i18n "password" }} | [[ inbound.kcpSeed ]] |
- grpc serviceName | [[ inbound.serviceName ]] |
+ grpc serviceName | [[ inbound.serviceName ]] |
grpc multiMode | [[ inbound.stream.grpc.multiMode ]] |
@@ -68,7 +68,7 @@
[[ inbound.settings.method ]] |
{{ i18n "password" }} |
- [[ inbound.settings.password ]] |
+ [[ inbound.settings.password ]] |
{{ i18n "pages.inbounds.network" }} |
[[ inbound.settings.network ]] |
@@ -83,7 +83,7 @@
ID |
- [[ infoModal.clientSettings.id ]] |
+ [[ infoModal.clientSettings.id ]] |
Flow |
@@ -91,7 +91,7 @@
Password |
- [[ infoModal.clientSettings.password ]] |
+ [[ infoModal.clientSettings.password ]] |
{{ i18n "status" }} |
@@ -324,4 +324,4 @@
});
-{{end}}
\ No newline at end of file
+{{end}}