From 566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Mon, 16 Sep 2024 11:41:21 +0200 Subject: New - Allocate --- web/html/xui/form/allocate.html | 16 ++++++++++++++++ web/html/xui/form/inbound.html | 6 ++++++ web/html/xui/form/sniffing.html | 2 +- web/html/xui/inbounds.html | 3 +++ 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 web/html/xui/form/allocate.html (limited to 'web/html') diff --git a/web/html/xui/form/allocate.html b/web/html/xui/form/allocate.html new file mode 100644 index 00000000..8c19d3ec --- /dev/null +++ b/web/html/xui/form/allocate.html @@ -0,0 +1,16 @@ +{{define "form/allocate"}} +Allocate + + + + [[ s ]] + + + + + + + + + +{{end}} diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index c0ae1998..2930b7be 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -118,4 +118,10 @@ + + + + {{end}} diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html index f4230dd1..23dfea65 100644 --- a/web/html/xui/form/sniffing.html +++ b/web/html/xui/form/sniffing.html @@ -1,5 +1,5 @@ {{define "form/sniffing"}} - +Sniffing diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index f27be794..e93a0a1d 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -935,6 +935,7 @@ 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); }, @@ -980,6 +981,7 @@ }; if (inbound.canEnableStream()) data.streamSettings = inbound.stream.toString(); data.sniffing = inbound.sniffing.toString(); + data.allocate = inbound.allocate.toString(); await this.submit('/panel/inbound/add', data, inModal); }, @@ -999,6 +1001,7 @@ }; if (inbound.canEnableStream()) data.streamSettings = inbound.stream.toString(); data.sniffing = inbound.sniffing.toString(); + data.allocate = inbound.allocate.toString(); await this.submit(`/panel/inbound/update/${dbInbound.id}`, data, inModal); }, -- cgit v1.2.3