From c8dc4a96b4f62d20475566f341a44aa8874b9a0d Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 16 Apr 2023 19:21:35 +0200 Subject: [PATCH] [Reality] make it pretty --- web/assets/css/custom.css | 5 + web/html/xui/client_bulk_modal.html | 190 ++++++++++------ web/html/xui/component/setting.html | 2 +- web/html/xui/form/client.html | 215 +++++++++++------- web/html/xui/form/inbound.html | 129 +++++++---- web/html/xui/form/protocol/dokodemo.html | 54 +++-- web/html/xui/form/protocol/http.html | 24 +- web/html/xui/form/protocol/shadowsocks.html | 47 ++-- web/html/xui/form/protocol/socks.html | 60 +++-- web/html/xui/form/protocol/trojan.html | 123 +++++++--- web/html/xui/form/protocol/vless.html | 142 ++++++++---- web/html/xui/form/protocol/vmess.html | 135 +++++++---- web/html/xui/form/stream/stream_grpc.html | 13 +- web/html/xui/form/stream/stream_http.html | 28 ++- web/html/xui/form/stream/stream_kcp.html | 115 +++++++--- web/html/xui/form/stream/stream_quic.html | 57 +++-- web/html/xui/form/stream/stream_settings.html | 28 ++- web/html/xui/form/stream/stream_tcp.html | 173 ++++++++------ web/html/xui/form/stream/stream_ws.html | 72 +++--- web/html/xui/form/tls_settings.html | 60 ++--- web/html/xui/inbound_modal.html | 45 ++-- web/translation/translate.en_US.toml | 4 +- web/translation/translate.fa_IR.toml | 2 +- web/translation/translate.zh_Hans.toml | 2 +- 24 files changed, 1128 insertions(+), 597 deletions(-) diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css index 3533806e..9b81f2e5 100644 --- a/web/assets/css/custom.css +++ b/web/assets/css/custom.css @@ -246,6 +246,11 @@ background-color: #2e3b52; } +.ant-card-dark .ant-select-disabled .ant-select-selection { + border: 1px solid rgba(255, 255, 255, 0.2); + background-color: #242c3a; +} + .ant-card-dark .ant-collapse-item { color: hsla(0,0%,100%,.65); background-color: #161b22; diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 2328e35d..c48fdf94 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -4,73 +4,129 @@ :class="siderDrawer.isDarkTheme ? darkClass : ''" :ok-text="clientsBulkModal.okText" cancel-text='{{ i18n "close" }}'> - - - Random - Random+Prefix - Random+Prefix+Num - Random+Prefix+Num+Postfix - Prefix+Num+Postfix [ BE CAREFUL! ] - -
- - {{ i18n "pages.client.first" }} - - - - {{ i18n "pages.client.last" }} - - - - {{ i18n "pages.client.prefix" }} - - - - {{ i18n "pages.client.postfix" }} - - - - {{ i18n "pages.client.clientCount" }} - - - - - - - - - - - {{ i18n "pages.inbounds.totalFlow" }}(GB) - - - - - - - - - - - - - - - - {{ i18n "pages.inbounds.expireDate" }} - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{{ i18n "pages.client.method" }} + + + Random + Random+Prefix + Random+Prefix+Num + Random+Prefix+Num+Postfix + Prefix+Num+Postfix + + +
{{ i18n "pages.client.first" }} + + + +
{{ i18n "pages.client.last" }} + + + +
{{ i18n "pages.client.prefix" }} + + + +
{{ i18n "pages.client.postfix" }} + + + +
{{ i18n "pages.client.clientCount" }} + + + +
Subscription + + + +
Telegram Username + + + +
+ {{ i18n "pages.inbounds.totalFlow" }}(GB) + + + + + + + + +
{{ i18n "pages.client.delayedStart" }} + + + +
{{ i18n "pages.client.expireDays" }} + + + +
+ {{ i18n "pages.inbounds.expireDate" }} + + + + + + + + +