fixed errorsr macros reports
This commit is contained in:
parent
ed0688f853
commit
ecaba5ebd3
|
@ -10,4 +10,6 @@ ALTER TABLE `treport_content_template` ADD COLUMN `failover_type` tinyint(1) DEF
|
||||||
|
|
||||||
ALTER TABLE `tmodule_relationship` ADD COLUMN `type` ENUM('direct', 'failover') DEFAULT 'direct';
|
ALTER TABLE `tmodule_relationship` ADD COLUMN `type` ENUM('direct', 'failover') DEFAULT 'direct';
|
||||||
|
|
||||||
|
ALTER TABLE `treport_content` MODIFY COLUMN `name` varchar(300) NULL;
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
|
@ -724,7 +724,7 @@ CREATE TABLE IF NOT EXISTS `treport_content_template` (
|
||||||
`type` varchar(30) default 'simple_graph',
|
`type` varchar(30) default 'simple_graph',
|
||||||
`period` int(11) NOT NULL default 0,
|
`period` int(11) NOT NULL default 0,
|
||||||
`order` int (11) NOT NULL default 0,
|
`order` int (11) NOT NULL default 0,
|
||||||
`description` mediumtext,
|
`description` mediumtext,
|
||||||
`text_agent` text,
|
`text_agent` text,
|
||||||
`text` TEXT,
|
`text` TEXT,
|
||||||
`external_source` Text,
|
`external_source` Text,
|
||||||
|
@ -1446,6 +1446,7 @@ ALTER TABLE `treport_content` ADD COLUMN `agent_min_value` TINYINT(1) DEFAULT '1
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `current_month` TINYINT(1) DEFAULT '1';
|
ALTER TABLE `treport_content` ADD COLUMN `current_month` TINYINT(1) DEFAULT '1';
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `failover_mode` tinyint(1) DEFAULT '0';
|
ALTER TABLE `treport_content` ADD COLUMN `failover_mode` tinyint(1) DEFAULT '0';
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `failover_type` tinyint(1) DEFAULT '0';
|
ALTER TABLE `treport_content` ADD COLUMN `failover_type` tinyint(1) DEFAULT '0';
|
||||||
|
ALTER table `treport_content` MODIFY COLUMN `name` varchar(300) NULL;
|
||||||
|
|
||||||
-- ---------------------------------------------------------------------
|
-- ---------------------------------------------------------------------
|
||||||
-- Table `tmodule_relationship`
|
-- Table `tmodule_relationship`
|
||||||
|
|
|
@ -865,7 +865,18 @@ $class = 'databox filters';
|
||||||
</td>
|
</td>
|
||||||
<td style="">
|
<td style="">
|
||||||
<?php
|
<?php
|
||||||
html_print_input_text('name', $name, '', 80, 100);
|
html_print_input_text(
|
||||||
|
'name',
|
||||||
|
$name,
|
||||||
|
'',
|
||||||
|
80,
|
||||||
|
100,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
'',
|
||||||
|
'fullwidth'
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -923,7 +934,18 @@ $class = 'databox filters';
|
||||||
</td>
|
</td>
|
||||||
<td style="">
|
<td style="">
|
||||||
<?php
|
<?php
|
||||||
echo html_print_input_text('label', $label, '', 50, 255, true);
|
echo html_print_input_text(
|
||||||
|
'label',
|
||||||
|
$label,
|
||||||
|
'',
|
||||||
|
50,
|
||||||
|
255,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
'',
|
||||||
|
'fullwidth'
|
||||||
|
);
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -5791,7 +5791,6 @@ div#status_pie {
|
||||||
grid-template-columns: 50px auto;
|
grid-template-columns: 50px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ---------------------------------------------------------------------
|
* ---------------------------------------------------------------------
|
||||||
* - IMAGES FOR STATUS. This replaces the images of /images/status_sets/default/
|
* - IMAGES FOR STATUS. This replaces the images of /images/status_sets/default/
|
||||||
|
@ -5834,7 +5833,6 @@ div#status_pie {
|
||||||
* ---------------------------------------------------------------------
|
* ---------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* Table for show more info in events and config menu in modules graphs. (This class exists in events.css too) */
|
/* Table for show more info in events and config menu in modules graphs. (This class exists in events.css too) */
|
||||||
.table_modal_alternate {
|
.table_modal_alternate {
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
|
@ -5863,3 +5861,7 @@ table.table_modal_alternate tr td:first-child {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
/* END - Table for show more info in events and config menu in modules graphs */
|
/* END - Table for show more info in events and config menu in modules graphs */
|
||||||
|
|
||||||
|
.fullwidth {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
|
@ -1402,8 +1402,8 @@ CREATE TABLE IF NOT EXISTS `treport_content` (
|
||||||
`type` varchar(30) default 'simple_graph',
|
`type` varchar(30) default 'simple_graph',
|
||||||
`period` int(11) NOT NULL default 0,
|
`period` int(11) NOT NULL default 0,
|
||||||
`order` int (11) NOT NULL default 0,
|
`order` int (11) NOT NULL default 0,
|
||||||
`name` varchar(150) NULL,
|
`name` varchar(300) NULL,
|
||||||
`description` mediumtext,
|
`description` mediumtext,
|
||||||
`id_agent` int(10) unsigned NOT NULL default 0,
|
`id_agent` int(10) unsigned NOT NULL default 0,
|
||||||
`text` TEXT,
|
`text` TEXT,
|
||||||
`external_source` Text,
|
`external_source` Text,
|
||||||
|
|
Loading…
Reference in New Issue