3x-ui/web/html/xui/form/protocol/shadowsocks.html

19 lines
1012 B
HTML
Raw Normal View History

2023-02-09 22:18:06 +03:00
{{define "form/shadowsocks"}}
<a-form layout="inline">
<a-form-item label='{{ i18n "encryption" }}'>
2023-03-30 18:03:19 +03:00
<a-select v-model="inbound.settings.method" style="width: 250px;" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''">
2023-02-09 22:18:06 +03:00
<a-select-option v-for="method in SSMethods" :value="method">[[ method ]]</a-select-option>
</a-select>
</a-form-item>
<a-form-item label='{{ i18n "password" }}'>
2023-03-30 18:03:19 +03:00
<a-input v-model.trim="inbound.settings.password" style="width: 250px;"></a-input>
2023-02-09 22:18:06 +03:00
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.network" }}'>
2023-03-17 19:07:49 +03:00
<a-select v-model="inbound.settings.network" style="width: 100px;" :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''">
2023-03-30 18:03:19 +03:00
<a-select-option value="tcp,udp">TCP+UDP</a-select-option>
<a-select-option value="tcp">TCP</a-select-option>
<a-select-option value="udp">UDP</a-select-option>
2023-02-09 22:18:06 +03:00
</a-select>
</a-form-item>
</a-form>
{{end}}