Browse Source

[xray] add user field

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei 1 year ago
parent
commit
eec4d71097
1 changed files with 11 additions and 0 deletions
  1. 11 0
      web/html/xui/xray_rule_modal.html

+ 11 - 0
web/html/xui/xray_rule_modal.html

@@ -75,6 +75,17 @@
             </template>
             <a-input v-model.trim="ruleModal.rule.domain"></a-input>
         </a-form-item>
+        <a-form-item>
+            <template slot="label">
+                <a-tooltip>
+                    <template slot="title">
+                        <span>{{ i18n "pages.xray.rules.useComma" }}</span>
+                    </template>
+                    User <a-icon type="question-circle"></a-icon>
+                </a-tooltip>
+            </template>
+            <a-input v-model.trim="ruleModal.rule.user"></a-input>
+        </a-form-item>
         <a-form-item>
             <template slot="label">
                 <a-tooltip>