diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-06-07 12:15:58 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-06-07 12:15:58 +0300 |
| commit | 594d682e202b30164aa7f9c510ec5955ed871541 (patch) | |
| tree | f1f7d7bfd4f48fa48e8a29b0da3ed57788bec2e6 /web/html | |
| parent | 70f250dfe1e24249a4cc8102e3fef65959dfb15a (diff) | |
random sub Id
optimize utils
trojan short id fix
index page better view
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/client.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/shadowsocks.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/trojan.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vless.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/protocol/vmess.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/tls_settings.html | 2 | ||||
| -rw-r--r-- | web/html/xui/index.html | 4 |
7 files changed, 13 insertions, 13 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 45068f91..cfac5cff 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -18,7 +18,7 @@ </template> </a-tooltip> </span> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.email = RandomUtil.randomText(8)" 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,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.subId = RandomUtil.randomText(16)" 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 && app.tgBotEnable" > diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html index 45385300..e4eaf155 100644 --- a/web/html/xui/form/protocol/shadowsocks.html +++ b/web/html/xui/form/protocol/shadowsocks.html @@ -11,7 +11,7 @@ </template> </a-tooltip> </span> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.email = RandomUtil.randomText(8)" type="sync"> </a-icon> <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password"> @@ -28,7 +28,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.subId = RandomUtil.randomText(16)" 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 && app.tgBotEnable"> diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index caec459a..cf56f438 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -11,7 +11,7 @@ </template> </a-tooltip> </span> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.email = RandomUtil.randomText(8)" type="sync"> </a-icon> <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password"> @@ -28,7 +28,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.subId = RandomUtil.randomText(16)" 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 && app.tgBotEnable"> diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 3155ee28..59ba7672 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -11,7 +11,7 @@ </template> </a-tooltip> </span> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.email = RandomUtil.randomText(8)" type="sync"> </a-icon> <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="ID"> @@ -28,7 +28,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.subId = RandomUtil.randomText(16)" 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 && app.tgBotEnable"> diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 469440c6..de6e5250 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -11,7 +11,7 @@ </template> </a-tooltip> </span> - <a-icon @click="client.email = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.email = RandomUtil.randomText(8)" type="sync"> </a-icon> <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <br> @@ -33,7 +33,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-icon @click="client.subId = RandomUtil.randomText()" type="sync"> </a-icon> + <a-icon @click="client.subId = RandomUtil.randomText(16)" 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 && app.tgBotEnable"> diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index 58edf992..d0692e13 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -187,7 +187,7 @@ <a-input v-model.trim="inbound.stream.reality.serverNames" style="width: 300px"></a-input> </a-form-item> <a-form-item label="ShortIds"> - <a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortId()" type="sync"> </a-icon> + <a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortId(8)" type="sync"> </a-icon> <a-input v-model.trim="inbound.stream.reality.shortIds" style="width: 150px;"></a-input> </a-form-item> <br> diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 284fdf03..9795e87d 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -78,9 +78,9 @@ <a-row> <a-col :sm="24" :md="12"> <a-card hoverable :class="themeSwitcher.darkCardClass"> - 3x-ui: <a href="https://github.com/MHSanaei/3x-ui/releases" target="_blank"><a-tag color="green">v{{ .cur_ver }}</a-tag></a> + 3X: <a href="https://github.com/MHSanaei/3x-ui/releases" target="_blank"><a-tag color="green">v{{ .cur_ver }}</a-tag></a> Xray: <a-tag color="green" style="cursor: pointer;" @click="openSelectV2rayVersion">v[[ status.xray.version ]]</a-tag> - Telegram: <a href="https://t.me/panel3xui" target="_blank"><a-tag color="green">@panel3xui</a-tag></a> + <a href="https://t.me/panel3xui" target="_blank"><a-tag color="green">@panel3xui</a-tag></a> </a-card> </a-col> <a-col :sm="24" :md="12"> |
