diff options
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/form/allocate.html | 15 | ||||
| -rw-r--r-- | web/html/form/inbound.html | 9 | ||||
| -rw-r--r-- | web/html/inbounds.html | 3 |
3 files changed, 0 insertions, 27 deletions
diff --git a/web/html/form/allocate.html b/web/html/form/allocate.html deleted file mode 100644 index aba8d5c9..00000000 --- a/web/html/form/allocate.html +++ /dev/null @@ -1,15 +0,0 @@ -{{define "form/allocate"}} -<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"> - <a-select-option v-for="s in ['always','random']" :value="s">[[ s ]]</a-select-option> - </a-select> - </a-form-item> - <a-form-item label='Refresh'> - <a-input-number v-model.number="inbound.allocate.refresh" min="0"></a-input-number> - </a-form-item> - <a-form-item label='Concurrency'> - <a-input-number v-model.number="inbound.allocate.concurrency" min="0"></a-input-number> - </a-form-item> -</a-form> -{{end}} diff --git a/web/html/form/inbound.html b/web/html/form/inbound.html index 021a51c7..9554d6aa 100644 --- a/web/html/form/inbound.html +++ b/web/html/form/inbound.html @@ -121,13 +121,4 @@ </a-collapse-panel> </a-collapse> -<!-- allocate --> -<!-- Temporarily disabled until we accepts range for port allocation -<a-collapse> - <a-collapse-panel header='Allocate'> - {{template "form/allocate"}} - </a-collapse-panel> -</a-collapse> ---> - {{end}} diff --git a/web/html/inbounds.html b/web/html/inbounds.html index 142a167c..b0d9828f 100644 --- a/web/html/inbounds.html +++ b/web/html/inbounds.html @@ -1093,7 +1093,6 @@ settings: Inbound.Settings.getSettings(baseInbound.protocol).toString(), streamSettings: baseInbound.stream.toString(), sniffing: baseInbound.sniffing.toString(), - allocate: baseInbound.allocate.toString(), }; await this.submit('/panel/inbound/add', data, inModal); }, @@ -1143,7 +1142,6 @@ data.streamSettings = JSON.stringify({ sockopt: inbound.stream.sockopt.toJson() }, null, 2); } data.sniffing = inbound.sniffing.toString(); - data.allocate = inbound.allocate.toString(); await this.submit('/panel/inbound/add', data, inModal); }, @@ -1167,7 +1165,6 @@ data.streamSettings = JSON.stringify({ sockopt: inbound.stream.sockopt.toJson() }, null, 2); } data.sniffing = inbound.sniffing.toString(); - data.allocate = inbound.allocate.toString(); await this.submit(`/panel/inbound/update/${dbInbound.id}`, data, inModal); }, |
