visual console mobile wip

This commit is contained in:
fbsanchez 2020-12-18 13:40:00 +01:00
parent b7e64f1477
commit bc3616e6c5
3 changed files with 9 additions and 10 deletions

View File

@ -350,16 +350,15 @@ switch ($action) {
$agent->show();
break;
case 'visualmaps':
// Show a list ov VC.
$vc_list = new Visualmaps();
$vc_list->show();
break;
case 'visualmap':
$id = $system->getRequest('id', null);
if ($id !== null) {
$vc = new Visualmap();
$vc->show();
} else {
// Show a list ov VC.
$vc_list = new Visualmaps();
$vc_list->show();
}
$vc = new Visualmap();
$vc->show();
break;
}
break;

View File

@ -62,7 +62,7 @@ class Home
if ((bool) $system->getConfig('legacy_vc', false) === false) {
// Show Visual consoles only if new system is enabled.
$items['visualmap'] = [
$items['visualmaps'] = [
'name' => __('Visual consoles'),
'filename' => 'visualmaps.php',
'menu_item' => true,

0
pandora_server/util/recon_scripts/ipmi-recon.pl Normal file → Executable file
View File