Small changes to support the Z/OS extension.
This commit is contained in:
parent
e0a80add4b
commit
d46c114fd8
|
@ -14,3 +14,9 @@ ALTER TABLE tlayout_data ADD COLUMN `border_width` INTEGER UNSIGNED NOT NULL def
|
|||
ALTER TABLE tlayout_data ADD COLUMN `border_color` varchar(200) DEFAULT "";
|
||||
ALTER TABLE tlayout_data ADD COLUMN `fill_color` varchar(200) DEFAULT "";
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tconfig_os`
|
||||
-- ---------------------------------------------------------------------
|
||||
|
||||
INSERT INTO `tconfig_os` (`name`, `description`, `icon_name`) VALUES ('Mainframe', 'Mainframe agent', 'so_mainframe.png');
|
||||
|
||||
|
|
|
@ -1895,6 +1895,17 @@ function dame_nombre_pluginid ($id_plugin) {
|
|||
return (string) db_get_value ('name', 'tplugin', 'id', (int) $id_plugin);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the operating system id.
|
||||
*
|
||||
* @param string Operating system name.
|
||||
*
|
||||
* @return id Id of the given operating system.
|
||||
*/
|
||||
function get_os_id ($os_name) {
|
||||
return (string) db_get_value ('id_os', 'tconfig_os', 'name', $os_name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the operating system name.
|
||||
*
|
||||
|
|
|
@ -2548,6 +2548,18 @@ div.nodata_container {
|
|||
#padding: 10px;
|
||||
}
|
||||
|
||||
#rmf_data {
|
||||
width: 40%;
|
||||
height: 80%;
|
||||
position: absolute;
|
||||
top:0;
|
||||
right:20px;
|
||||
overflow: auto;
|
||||
|
||||
#background-color: #fff;
|
||||
#padding: 10px;
|
||||
}
|
||||
|
||||
/* Subtab styles */
|
||||
|
||||
ul.subsubmenu {
|
||||
|
@ -2807,4 +2819,4 @@ table#policy_modules td * {
|
|||
margin-bottom: 10px;
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -150,6 +150,7 @@ INSERT INTO tconfig_os VALUES (16, 'VMware', 'VMware Architecture', 'so_vmware.p
|
|||
INSERT INTO tconfig_os VALUES (17, 'Router', 'Generic router', 'so_router.png');
|
||||
INSERT INTO tconfig_os VALUES (18, 'Switch', 'Generic switch', 'so_switch.png');
|
||||
INSERT INTO tconfig_os VALUES (19, 'Satellite', 'Satellite agent', 'satellite.png');
|
||||
INSERT INTO tconfig_os VALUES (20, 'Mainframe', 'Mainframe agent', 'so_mainframe.png');
|
||||
COMMIT;
|
||||
END;;
|
||||
|
||||
|
|
|
@ -148,7 +148,8 @@ INSERT INTO "tconfig_os" VALUES
|
|||
(16, 'VMware', 'VMware Architecture', 'so_vmware.png'),
|
||||
(17, 'Router', 'Generic router', 'so_router.png'),
|
||||
(18, 'Switch', 'Generic switch', 'so_switch.png'),
|
||||
(19, 'Satellite', 'Satellite agent', 'satellite.png');
|
||||
(19, 'Satellite', 'Satellite agent', 'satellite.png'),
|
||||
(20, 'Mainframe', 'Mainframe agent', 'so_mainframe.png');
|
||||
COMMIT WORK;
|
||||
SELECT setval('tconfig_os_id_os_seq', (SELECT (SELECT MAX(id_os) FROM tconfig_os)));
|
||||
|
||||
|
|
|
@ -134,6 +134,7 @@ INSERT INTO `tconfig_os` (`id_os`, `name`, `description`, `icon_name`) VALUES
|
|||
(17, 'Router', 'Generic router', 'so_router.png'),
|
||||
(18, 'Switch', 'Generic switch', 'so_switch.png'),
|
||||
(19, 'Satellite', 'Satellite agent', 'satellite.png');
|
||||
(20, 'Mainframe', 'Mainframe agent', 'so_mainframe.png');
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue