diff options
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/tls_settings.html | 12 | ||||
| -rw-r--r-- | web/html/xui/inbounds.html | 4 |
2 files changed, 7 insertions, 9 deletions
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html index aa9c6c6d..acb0a815 100644 --- a/web/html/xui/form/tls_settings.html +++ b/web/html/xui/form/tls_settings.html @@ -40,11 +40,13 @@ <a-form-item label='{{ i18n "domainName" }}'> <a-input v-model.trim="inbound.stream.tls.server"></a-input> </a-form-item> - <a-form-item label="Alpn" v-if="inbound.tls"> - <a-select v-model="inbound.stream.tls.alpn[0]" style="width:200px"> - <a-select-option value=''>auto</a-select-option> - <a-select-option v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-select-option> - </a-select> + <a-form-item label="Alpn"> + <a-checkbox-group v-model="inbound.stream.tls.alpn" style="width:200px"> + <a-checkbox v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-checkbox> + </a-checkbox-group> + </a-form-item> + <a-form-item label="Allow insecure"> + <a-switch v-model="inbound.stream.tls.settings[0].allowInsecure"></a-switch> </a-form-item> <a-form-item label='{{ i18n "certificate" }}'> <a-radio-group v-model="inbound.stream.tls.certs[0].useFile" button-style="solid"> diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index d5f69733..f7b9e2ed 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -11,10 +11,6 @@ .ant-col-sm-24 { margin-top: 10px; } - - .ant-table-row-expand-icon { - color: rgba(0,0,0,.65); - } </style> <body> <a-layout id="app" v-cloak> |
