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
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2026-04-20 18:25:18 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2026-04-20 18:25:18 +0300
commit6d0e7ec495cfc0ecb47b2afa532792032e0cfa92 (patch)
tree54ea4529942d48571d24e88e09614ec6d7281786 /web/html/form/stream/stream_httpupgrade.html
parent04b4fb438487ada373fb3e6437b4cdb28b5174de (diff)
reset button for auth password
Diffstat (limited to 'web/html/form/stream/stream_httpupgrade.html')
-rw-r--r--web/html/form/stream/stream_httpupgrade.html49
1 files changed, 37 insertions, 12 deletions
diff --git a/web/html/form/stream/stream_httpupgrade.html b/web/html/form/stream/stream_httpupgrade.html
index 3b2398b6..067adf8d 100644
--- a/web/html/form/stream/stream_httpupgrade.html
+++ b/web/html/form/stream/stream_httpupgrade.html
@@ -1,7 +1,13 @@
{{define "form/streamHTTPUpgrade"}}
-<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
+<a-form
+ :colon="false"
+ :label-col="{ md: {span:8} }"
+ :wrapper-col="{ md: {span:14} }"
+>
<a-form-item label="Proxy Protocol">
- <a-switch v-model="inbound.stream.httpupgrade.acceptProxyProtocol"></a-switch>
+ <a-switch
+ v-model="inbound.stream.httpupgrade.acceptProxyProtocol"
+ ></a-switch>
</a-form-item>
<a-form-item label='{{ i18n "host" }}'>
<a-input v-model.trim="inbound.stream.httpupgrade.host"></a-input>
@@ -10,20 +16,39 @@
<a-input v-model.trim="inbound.stream.httpupgrade.path"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'>
- <a-button icon="plus" size="small" @click="inbound.stream.httpupgrade.addHeader('', '')"></a-button>
+ <a-button
+ icon="plus"
+ size="small"
+ @click="inbound.stream.httpupgrade.addHeader('', '')"
+ ></a-button>
</a-form-item>
<a-form-item :wrapper-col="{span:24}">
- <a-input-group compact v-for="(header, index) in inbound.stream.httpupgrade.headers">
- <a-input :style="{ width: '50%' }" v-model.trim="header.name"
- placeholder='{{ i18n "pages.inbounds.stream.general.name"}}'>
- <template slot="addonBefore" :style="{ margin: '0' }">[[ index+1 ]]</template>
+ <a-input-group
+ compact
+ v-for="(header, index) in inbound.stream.httpupgrade.headers"
+ >
+ <a-input
+ :style="{ width: '50%' }"
+ v-model.trim="header.name"
+ placeholder='{{ i18n "pages.inbounds.stream.general.name"}}'
+ >
+ <template slot="addonBefore" :style="{ margin: '0' }"
+ >[[ index+1 ]]</template
+ >
</a-input>
- <a-input :style="{ width: '50%' }" v-model.trim="header.value"
- placeholder='{{ i18n "pages.inbounds.stream.general.value" }}'>
- <a-button icon="minus" slot="addonAfter" size="small"
- @click="inbound.stream.httpupgrade.removeHeader(index)"></a-button>
+ <a-input
+ :style="{ width: '50%' }"
+ v-model.trim="header.value"
+ placeholder='{{ i18n "pages.inbounds.stream.general.value" }}'
+ >
+ <a-button
+ icon="minus"
+ slot="addonAfter"
+ size="small"
+ @click="inbound.stream.httpupgrade.removeHeader(index)"
+ ></a-button>
</a-input>
</a-input-group>
</a-form-item>
</a-form>
-{{end}} \ No newline at end of file
+{{end}}