mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
### New features - New face + dark mode - [Change font to vazirmatn](057f3190de) - [use customized andtv](f956009fd2) - [popConfirm for del and reset client](66c98e8392) - [Separate page for xray config](9e1cd6315f) - Separate face for mobile view - [Show online users](bf892e9965) [#559](https://github.com/alireza0/x-ui/issues/559) - [Auto renew](96408967ae) ### Bug fixes - [[tgbot] Retry loop on start](211c05ec29) - [fix docker-compose version](1dcec91ce4) - [fix redirect after restart](81d25a032c)
50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
{{define "form/streamSettings"}}
|
|
<!-- select stream network -->
|
|
<a-form layout="inline">
|
|
<a-form-item label="{{ i18n "transmission" }}">
|
|
<a-select v-model="inbound.stream.network" @change="streamNetworkChange"
|
|
style="width: 150px;" :dropdown-class-name="themeSwitcher.currentTheme">
|
|
<a-select-option value="tcp">TCP</a-select-option>
|
|
<a-select-option value="kcp">KCP</a-select-option>
|
|
<a-select-option value="ws">WebSocket</a-select-option>
|
|
<a-select-option value="http">HTTP2</a-select-option>
|
|
<a-select-option value="quic">QUIC</a-select-option>
|
|
<a-select-option value="grpc">gRPC</a-select-option>
|
|
</a-select>
|
|
</a-form-item>
|
|
</a-form>
|
|
|
|
<!-- tcp -->
|
|
<template v-if="inbound.stream.network === 'tcp'">
|
|
{{template "form/streamTCP"}}
|
|
</template>
|
|
|
|
<!-- kcp -->
|
|
<template v-if="inbound.stream.network === 'kcp'">
|
|
{{template "form/streamKCP"}}
|
|
</template>
|
|
|
|
<!-- ws -->
|
|
<template v-if="inbound.stream.network === 'ws'">
|
|
{{template "form/streamWS"}}
|
|
</template>
|
|
|
|
<!-- http -->
|
|
<template v-if="inbound.stream.network === 'http'">
|
|
{{template "form/streamHTTP"}}
|
|
</template>
|
|
|
|
<!-- quic -->
|
|
<template v-if="inbound.stream.network === 'quic'">
|
|
{{template "form/streamQUIC"}}
|
|
</template>
|
|
|
|
<!-- grpc -->
|
|
<template v-if="inbound.stream.network === 'grpc'">
|
|
{{template "form/streamGRPC"}}
|
|
</template>
|
|
<!-- sockopt -->
|
|
<template>
|
|
{{template "form/streamSockopt"}}
|
|
</template>
|
|
{{end}} |