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:
Diffstat (limited to 'web/html/form/stream/stream_ws.html')
-rw-r--r--web/html/form/stream/stream_ws.html44
1 files changed, 10 insertions, 34 deletions
diff --git a/web/html/form/stream/stream_ws.html b/web/html/form/stream/stream_ws.html
index cd0c30e5..bedd1681 100644
--- a/web/html/form/stream/stream_ws.html
+++ b/web/html/form/stream/stream_ws.html
@@ -1,9 +1,5 @@
{{define "form/streamWS"}}
-<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.ws.acceptProxyProtocol"></a-switch>
</a-form-item>
@@ -14,42 +10,22 @@
<a-input v-model.trim="inbound.stream.ws.path"></a-input>
</a-form-item>
<a-form-item label="Heartbeat Period">
- <a-input-number
- v-model.number="inbound.stream.ws.heartbeatPeriod"
- :min="0"
- ></a-input-number>
+ <a-input-number v-model.number="inbound.stream.ws.heartbeatPeriod" :min="0"></a-input-number>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'>
- <a-button
- icon="plus"
- size="small"
- @click="inbound.stream.ws.addHeader('', '')"
- ></a-button>
+ <a-button icon="plus" size="small" @click="inbound.stream.ws.addHeader('', '')"></a-button>
</a-form-item>
<a-form-item :wrapper-col="{span:24}">
<a-input-group compact v-for="(header, index) in inbound.stream.ws.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 :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.ws.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.ws.removeHeader(index)"></a-button>
</a-input>
</a-input-group>
</a-form-item>
</a-form>
-{{end}}
+{{end}} \ No newline at end of file