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:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-26 17:20:35 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-26 17:20:35 +0300
commitac08e8674782c735e544a02251c5aa392fa7d767 (patch)
tree623cfdaee0cd61f7da157a5c4a31932c43de3ee9
parentc9c8abe97b71bf54d9f1920be2dfcd1d5854d5b3 (diff)
inbound - better view
-rw-r--r--web/html/xui/form/allocate.html1
-rw-r--r--web/html/xui/form/inbound.html16
-rw-r--r--web/html/xui/form/sniffing.html1
3 files changed, 10 insertions, 8 deletions
diff --git a/web/html/xui/form/allocate.html b/web/html/xui/form/allocate.html
index 35527c19..aba8d5c9 100644
--- a/web/html/xui/form/allocate.html
+++ b/web/html/xui/form/allocate.html
@@ -1,5 +1,4 @@
{{define "form/allocate"}}
-<a-divider style="margin:5px 0 0;">Allocate</a-divider>
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label='Strategy'>
<a-select v-model="inbound.allocate.strategy" :dropdown-class-name="themeSwitcher.currentTheme">
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index 2930b7be..3a3b352f 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -115,13 +115,17 @@
</template>
<!-- sniffing -->
-<template>
- {{template "form/sniffing"}}
-</template>
+<a-collapse>
+ <a-collapse-panel header='Sniffing'>
+ {{template "form/sniffing"}}
+ </a-collapse-panel>
+</a-collapse>
<!-- allocate -->
-<template>
- {{template "form/allocate"}}
-</template>
+<a-collapse>
+ <a-collapse-panel header='Allocate'>
+ {{template "form/allocate"}}
+ </a-collapse-panel>
+</a-collapse>
{{end}}
diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html
index df49a97a..d8a2e85a 100644
--- a/web/html/xui/form/sniffing.html
+++ b/web/html/xui/form/sniffing.html
@@ -1,5 +1,4 @@
{{define "form/sniffing"}}
-<a-divider style="margin:5px 0 0;">Sniffing</a-divider>
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item>
<span slot="label">