Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-06-18 15:24:09 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-06-18 15:37:44 +0300
commit5d007435ab88e019b313f89b7baed3be6c96a295 (patch)
treef3cd42b7a90158d5c9415754a20bd16f684cd581 /web/html
parent9c05aa514b2738310352ebb9dcb6fb98cad50d76 (diff)
some changes
undo secret key gen for wireguard
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/outbound.html18
-rw-r--r--web/html/xui/form/stream/stream_splithttp.html4
2 files changed, 18 insertions, 4 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index a61f5c44..90b9e60b 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -72,9 +72,23 @@
</template>
<a-input v-model.trim="outbound.settings.address"></a-input>
</a-form-item>
- <a-form-item label='{{ i18n "pages.xray.wireguard.secretKey" }}'>
+ <a-form-item>
+ <template slot="label">
+ <a-tooltip>
+ <template slot="title">
+ <span>{{ i18n "reset" }}</span>
+ </template>
+ {{ i18n "pages.xray.wireguard.secretKey" }}
+ <a-icon type="sync"
+ @click="[outbound.settings.pubKey, outbound.settings.secretKey] = Object.values(Wireguard.generateKeypair())">
+ </a-icon>
+ </a-tooltip>
+ </template>
<a-input v-model.trim="outbound.settings.secretKey"></a-input>
- </a-form-item>
+ </a-form-item>
+ <a-form-item label='{{ i18n "pages.xray.wireguard.publicKey" }}'>
+ <a-input disabled v-model="outbound.settings.pubKey"></a-input>
+ </a-form-item>
<a-form-item label='{{ i18n "pages.xray.wireguard.domainStrategy" }}'>
<a-select v-model="outbound.settings.domainStrategy" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option v-for="wds in ['', ...WireguardDomainStrategy]" :value="wds">[[ wds ]]</a-select-option>
diff --git a/web/html/xui/form/stream/stream_splithttp.html b/web/html/xui/form/stream/stream_splithttp.html
index e7a38d5e..0dcab965 100644
--- a/web/html/xui/form/stream/stream_splithttp.html
+++ b/web/html/xui/form/stream/stream_splithttp.html
@@ -19,10 +19,10 @@
</a-input>
</a-input-group>
</a-form-item>
- <a-form-item label="max Upload Size">
+ <a-form-item label="Max Upload Size (MB)">
<a-input-number v-model="inbound.stream.splithttp.maxUploadSize" :min="0"></a-input-number>
</a-form-item>
- <a-form-item label="max Concurrent Uploads">
+ <a-form-item label="Max Concurrent Upload">
<a-input-number v-model="inbound.stream.splithttp.maxConcurrentUploads" :min="0"></a-input-number>
</a-form-item>
</a-form>