MHSanaei il y a 1 an
Parent
commit
07019d6594
2 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. 1 1
      web/assets/css/custom.css
  2. 7 3
      web/html/xui/form/tls_settings.html

+ 1 - 1
web/assets/css/custom.css

@@ -751,7 +751,7 @@ style attribute {
 .dark .ant-tag-purple {
     background-color: #2c1e32;
     border-color: #49394e;
-    color: #f2eaf1;
+    color: #cfb9cc;
 }
 
 .dark .ant-modal-content,

+ 7 - 3
web/html/xui/form/tls_settings.html

@@ -106,9 +106,13 @@
         <a-input v-model.trim="inbound.stream.xtls.server" style="width: 250px"></a-input>
     </a-form-item>
     <a-form-item label="Alpn">
-        <a-checkbox-group v-model="inbound.stream.xtls.alpn" style="width:200px">
-            <a-checkbox v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-checkbox>
-        </a-checkbox-group>
+        <a-select
+            mode="multiple"
+            style="width: 250px"
+            :dropdown-class-name="themeSwitcher.currentTheme"
+            v-model="inbound.stream.xtls.alpn">
+            <a-select-option v-for="alpn in ALPN_OPTION" :value="alpn">[[ alpn ]]</a-select-option>
+        </a-select>
     </a-form-item>
     <a-form-item label="Allow insecure">
         <a-switch v-model="inbound.stream.xtls.settings.allowInsecure"></a-switch>