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/xui/form/protocol/shadowsocks.html')
-rw-r--r--web/html/xui/form/protocol/shadowsocks.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html
new file mode 100644
index 00000000..18bcf727
--- /dev/null
+++ b/web/html/xui/form/protocol/shadowsocks.html
@@ -0,0 +1,19 @@
+{{define "form/shadowsocks"}}
+<a-form layout="inline">
+ <a-form-item label='{{ i18n "encryption" }}'>
+ <a-select v-model="inbound.settings.method" style="width: 165px;">
+ <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" }}'>
+ <a-input v-model.trim="inbound.settings.password"></a-input>
+ </a-form-item>
+ <a-form-item label='{{ i18n "pages.inbounds.network" }}'>
+ <a-select v-model="inbound.settings.network" style="width: 100px;">
+ <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>
+ </a-select>
+ </a-form-item>
+</a-form>
+{{end}} \ No newline at end of file