diff options
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/form/client.html | 5 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/shadowsocks.html | 7 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 7 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 7 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 8 |
5 files changed, 20 insertions, 14 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 9dfde046..c552bf48 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -16,9 +16,9 @@ <template slot="title"> <span>{{ i18n "pages.inbounds.emailDesc" }}</span> </template> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> </a-tooltip> </span> + <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password" v-if="inbound.protocol === Protocols.TROJAN || inbound.protocol === Protocols.SHADOWSOCKS"> @@ -44,7 +44,8 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.subId"></a-input> + <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.subId" style="width: 150px;"></a-input> </a-form-item> <a-form-item v-if="client.email"> <span slot="label"> diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html index cac2229f..aa3fde18 100644 --- a/web/html/xui/form/protocol/shadowsocks.html +++ b/web/html/xui/form/protocol/shadowsocks.html @@ -9,10 +9,10 @@ <template slot="title"> <span>{{ i18n "pages.inbounds.emailDesc" }}</span> </template> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.email" style="width: 150px;"></a-input> + <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password"> <a-icon @click="client.password = RandomUtil.randomShadowsocksPassword()" type="sync"> </a-icon> @@ -28,7 +28,8 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.subId"></a-input> + <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.subId" style="width: 150px;"></a-input> </a-form-item> <a-form-item v-if="client.email"> <span slot="label"> diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index 5594f47e..28960543 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -9,10 +9,10 @@ <template slot="title"> <span>{{ i18n "pages.inbounds.emailDesc" }}</span> </template> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.email" style="width: 150px;"></a-input> + <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password"> <a-input v-model.trim="client.password" style="width: 150px;"></a-input> @@ -27,7 +27,8 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.subId"></a-input> + <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.subId" style="width: 150px;"></a-input> </a-form-item> <a-form-item v-if="client.email"> <span slot="label"> diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 1c2ebccf..f2678065 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -9,10 +9,10 @@ <template slot="title"> <span>{{ i18n "pages.inbounds.emailDesc" }}</span> </template> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.email" style="width: 150px;"></a-input> + <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="ID"> <a-icon @click="client.id = RandomUtil.randomUUID()" type="sync"> </a-icon> @@ -28,7 +28,8 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.subId"></a-input> + <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.subId" style="width: 150px;"></a-input> </a-form-item> <a-form-item v-if="client.email"> <span slot="label"> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 6ebdacb1..43e9182f 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -9,10 +9,11 @@ <template slot="title"> <span>{{ i18n "pages.inbounds.emailDesc" }}</span> </template> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + </a-tooltip> </span> - <a-input v-model.trim="client.email" style="width: 150px;"></a-input> + <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <br> <a-form-item label='{{ i18n "additional" }} ID'> @@ -33,7 +34,8 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-input v-model.trim="client.subId"></a-input> + <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-input v-model.trim="client.subId" style="width: 150px;"></a-input> </a-form-item> <a-form-item v-if="client.email"> <span slot="label"> |
