Browse Source

inbound - better view

mhsanaei 5 months ago
parent
commit
ac08e86747
3 changed files with 10 additions and 8 deletions
  1. 0 1
      web/html/xui/form/allocate.html
  2. 10 6
      web/html/xui/form/inbound.html
  3. 0 1
      web/html/xui/form/sniffing.html

+ 0 - 1
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">

+ 10 - 6
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}}

+ 0 - 1
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">