BPFire menu re-arrange

Re-arrange the menu to have BPF centric
main menu, this also easy the developing
of loxilb load balancer GUI since loxilb
will have multiple functions like enable
loxilb, create loxilb lb, create loxilb ip
...etc, so each loxilb function has their
own CGI UI.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-05-29 18:18:31 +00:00
parent 280869f883
commit f60a419e84
4 changed files with 13 additions and 13 deletions

View File

@@ -22,7 +22,7 @@
'enabled' => 1,
'subMenu' => $subproxy
};
$menu->{'07.ipfire'} = {'caption' => 'IPFire',
$menu->{'07.ipfire'} = {'caption' => 'BPFire',
'enabled' => 1,
'subMenu' => $subipfire
};

View File

@@ -63,12 +63,6 @@
'title' => "$Lang::tr{'static routes'}",
'enabled' => 1,
};
$subnetwork->{'63.loxilb'} = {
'caption' => $Lang::tr{'loxilb'},
'uri' => '/cgi-bin/loxilb.cgi',
'title' => "$Lang::tr{'loxilb'}",
'enabled' => 1,
};
$subnetwork->{'70.aliases'} = {
'caption' => $Lang::tr{'aliases'},
'uri' => '/cgi-bin/aliases.cgi',

View File

@@ -44,8 +44,3 @@
'title' => "$Lang::tr{'ipts'}",
'enabled' => 1,
};
$subfirewall->{'100.ids'} = {'caption' => $Lang::tr{'ebpf xdp ddos'},
'uri' => '/cgi-bin/ddos.cgi',
'title' => "$Lang::tr{'ebpf xdp ddos system'}",
'enabled' => 1,
};

View File

@@ -1,4 +1,15 @@
$subipfire->{'10.pakfire'} = {'caption' => 'Pakfire',
$subipfire->{'10.ddos'} = {'caption' => $Lang::tr{'ebpf xdp ddos'},
'uri' => '/cgi-bin/ddos.cgi',
'title' => "$Lang::tr{'ebpf xdp ddos system'}",
'enabled' => 1,
};
$subipfire->{'20.loxilb'} = {
'caption' => $Lang::tr{'loxilb'},
'uri' => '/cgi-bin/loxilb.cgi',
'title' => "$Lang::tr{'loxilb'}",
'enabled' => 1,
};
$subipfire->{'80.pakfire'} = {'caption' => 'Pakfire',
'uri' => '/cgi-bin/pakfire.cgi',
'title' => "Pakfire",
'enabled' => 1,