diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-10 00:25:47 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-10 00:25:47 +0300 |
| commit | de26dbbc96de3c09fb3dda3086f125f591a1cbd6 (patch) | |
| tree | e61feca2eb5e76f1bb11132f3332379791fe0ae6 /web/html/xui/form | |
| parent | e1da43053d23c995bcd6e7267cb20042398cd64f (diff) | |
fixed
Diffstat (limited to 'web/html/xui/form')
| -rw-r--r-- | web/html/xui/form/client.html | 12 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 1 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 3 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 3 |
4 files changed, 11 insertions, 8 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 3f91c8e8..1de05ac9 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -27,6 +27,12 @@ <a-form-item label='{{ i18n "additional" }} ID' v-if="inbound.protocol === Protocols.VMESS"> <a-input type="number" v-model.number="client.alterId" style="width: 70px;"></a-input> </a-form-item> + <a-form-item label="Subscription" v-if="client.email"> + <a-input v-model.trim="client.subId"></a-input> + </a-form-item> + <a-form-item label="Telegram Username" v-if="client.email"> + <a-input v-model.trim="client.tgId"></a-input> + </a-form-item> <a-form-item> <span slot="label"> <span>{{ i18n "pages.inbounds.IPLimit" }}</span> @@ -62,12 +68,6 @@ </a-textarea> </a-form> </a-form-item> - <a-form-item label="Subscription" v-if="client.email"> - <a-input v-model.trim="client.subId"></a-input> - </a-form-item> - <a-form-item label="Telegram Username" v-if="client.email"> - <a-input v-model.trim="client.tgId"></a-input> - </a-form-item> <a-form-item v-if="inbound.XTLS" label="Flow"> <a-select v-model="client.flow" style="width: 150px" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> <a-select-option value="">{{ i18n "none" }}</a-select-option> diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index 158b64af..79e797c6 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -60,6 +60,7 @@ </a-tooltip> </span> <a-date-picker :show-time="{ format: 'HH:mm' }" format="YYYY-MM-DD HH:mm" + :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''" v-model="client._expiryTime" style="width: 170px;"></a-date-picker> </a-form-item> </a-collapse-panel> diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 03069c29..2da4a255 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -66,7 +66,8 @@ </a-tooltip> </span> <a-date-picker :show-time="{ format: 'HH:mm' }" format="YYYY-MM-DD HH:mm" - v-model="client._expiryTime" style="width: 170px;"></a-date-picker> + :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''" + v-model="client._expiryTime" style="width: 170px;"></a-date-picker> </a-form-item> </a-collapse-panel> </a-collapse> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index d425e080..ad2b3960 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -57,7 +57,8 @@ </a-tooltip> </span> <a-date-picker :show-time="{ format: 'HH:mm' }" format="YYYY-MM-DD HH:mm" - v-model="client._expiryTime" style="width: 170px;"></a-date-picker> + :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''" + v-model="client._expiryTime" style="width: 170px;"></a-date-picker> </a-form-item> </a-collapse-panel> </a-collapse> |
