mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
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>
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
$subfirewall->{'10.firewall'} = {
|
|
'caption' => $Lang::tr{'firewall rules'},
|
|
'uri' => '/cgi-bin/firewall.cgi',
|
|
'title' => "$Lang::tr{'firewall rules'}",
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'20.fwhost'} = {
|
|
'caption' => $Lang::tr{'fwhost menu'},
|
|
'uri' => '/cgi-bin/fwhosts.cgi',
|
|
'title' => "$Lang::tr{'fwhost menu'}",
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'30.optionsfw'} = {
|
|
'caption' => $Lang::tr{'options fw'},
|
|
'uri' => '/cgi-bin/optionsfw.cgi',
|
|
'title' => "$Lang::tr{'options fw'}",
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'40.ids'} = {'caption' => $Lang::tr{'intrusion detection'},
|
|
'uri' => '/cgi-bin/ids.cgi',
|
|
'title' => "$Lang::tr{'intrusion detection system'}",
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'50.ipblocklist'} = {'caption' => $Lang::tr{'ipblocklist'},
|
|
'uri' => '/cgi-bin/ipblocklist.cgi',
|
|
'title' => "$Lang::tr{'ipblocklist'}",
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'60.locationblock'} = {
|
|
'caption' => $Lang::tr{'locationblock'},
|
|
'uri' => '/cgi-bin/location-block.cgi',
|
|
'title' => $Lang::tr{'locationblock'},
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'70.wireless'} = {
|
|
'caption' => $Lang::tr{'blue access'},
|
|
'uri' => '/cgi-bin/wireless.cgi',
|
|
'title' => "$Lang::tr{'blue access'}",
|
|
'enabled' => 1,
|
|
};
|
|
$subfirewall->{'90.iptables'} = {
|
|
'caption' => $Lang::tr{'ipts'},
|
|
'uri' => '/cgi-bin/iptables.cgi',
|
|
'title' => "$Lang::tr{'ipts'}",
|
|
'enabled' => 1,
|
|
};
|