Fixed style

This commit is contained in:
m-lopez-f 2015-07-09 17:52:37 +02:00
parent 6826a1e56e
commit 8c64e6b481
5 changed files with 23 additions and 18 deletions

View File

@ -29,11 +29,9 @@ ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no cu
</div> </div>
<div class="text_task"> <div class="text_task">
<h3> <?php echo __('Create Custom Graph'); ?></h3> <h3> <?php echo __('Create Custom Graph'); ?></h3>
<p id="description_task"> <?php echo __('The Recon Task definition of Pandora FMS is used to find new elements in the network. <p id="description_task"> <?php echo __("Graphs are designed to show the data collected by Pandora FMS in a temporary scale defined by the user.
If it detects any item, it will add that item to the monitoring, and if that item it is already being monitored, then it will Pandora FMS Graphs display data in real time. They are generated every time the operator requires any of them and display the up-to-date state.
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings), There are two types of graphs: The agent's automated graphs and the graphs the user customizes by using one or more modules to do so."); ?></p>
<strong id="fuerte">SNMP</strong> (detecting the topology of networks and their interfaces), and other <strong id="fuerte"> customized </strong>
type. You can define your own customized recon script.'); ?></p>
<form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post"> <form action="index.php?sec=gservers&sec2=godmode/servers/manage_recontask_form&create" method="post">
<input type="submit" class="button_task" value="<?php echo __('Create Custom Graph'); ?>" /> <input type="submit" class="button_task" value="<?php echo __('Create Custom Graph'); ?>" />
</form> </form>

View File

@ -45,7 +45,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<div style="">'; echo '<div style="">';
echo '<table cellspacing=0 cellpadding=0 style="border:1px solid #FFF; width:100%; height: 100%">'; echo '<table cellspacing=0 cellpadding=0 style="border:1px solid #FFF; width:100%; height: 100%">';
echo '<tr>'; echo '<tr>';
echo '<td style="border:1px solid #FFF;">'; echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<a href="' . ui_get_full_url(false) . 'general/pandora_help.php?id=main_help" target="_blank" style="text-decoration:none;">' . echo '<a href="' . ui_get_full_url(false) . 'general/pandora_help.php?id=main_help" target="_blank" style="text-decoration:none;">' .
html_print_image('images/online_help.png', true, html_print_image('images/online_help.png', true,
array("alt" => __('Online help'), "border" => 0)) . '</a>'; array("alt" => __('Online help'), "border" => 0)) . '</a>';
@ -53,7 +53,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<a style="font-size: 9pt;" href="' . ui_get_full_url(false) . 'general/pandora_help.php?id=main_help" target="_blank">' . __('Online help') . '</a>'; echo '<a style="font-size: 9pt;" href="' . ui_get_full_url(false) . 'general/pandora_help.php?id=main_help" target="_blank">' . __('Online help') . '</a>';
echo '</td>'; echo '</td>';
echo '<td style="border:1px solid #FFF;">'; echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<a href="http://pandorafms.com/" target="_blank" style="text-decoration:none;">' . echo '<a href="http://pandorafms.com/" target="_blank" style="text-decoration:none;">' .
html_print_image('images/enterprise_version.png', true, html_print_image('images/enterprise_version.png', true,
array("alt" => __('Enterprise version'), "border" => 0)) . '</a>'; array("alt" => __('Enterprise version'), "border" => 0)) . '</a>';
@ -61,7 +61,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<a style="font-size: 9pt;" href="http://pandorafms.com/" target="_blank">' . __('Enterprise version') . '</a>'; echo '<a style="font-size: 9pt;" href="http://pandorafms.com/" target="_blank">' . __('Enterprise version') . '</a>';
echo '</td>'; echo '</td>';
echo '<td style="border:1px solid #FFF">'; echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<a href="http://openideas.info/smf/" target="_blank" style="text-decoration:none;">' . echo '<a href="http://openideas.info/smf/" target="_blank" style="text-decoration:none;">' .
html_print_image('images/support.png', true, html_print_image('images/support.png', true,
array("alt" => __('Support'), "border" => 0)) . '</a>'; array("alt" => __('Support'), "border" => 0)) . '</a>';
@ -69,7 +69,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<a style="font-size: 9pt;" href="http://openideas.info/smf/" target="_blank">' . __('Support') . ' / ' . __('Forums') . '</a>'; echo '<a style="font-size: 9pt;" href="http://openideas.info/smf/" target="_blank">' . __('Support') . ' / ' . __('Forums') . '</a>';
echo '</td>'; echo '</td>';
echo '<td style="border:1px solid #FFF">'; echo '<td style="border:1px solid #FFF; text_align:center;">';
echo '<a href="http://pandorafms.com/pandora/doc/en" target="_blank" style="text-decoration:none;">' . echo '<a href="http://pandorafms.com/pandora/doc/en" target="_blank" style="text-decoration:none;">' .
html_print_image('images/documentation.png', true, html_print_image('images/documentation.png', true,
array("alt" => __('Documentation'), "border" => 0)) . '</a>'; array("alt" => __('Documentation'), "border" => 0)) . '</a>';

View File

@ -1179,12 +1179,10 @@ if ($list_modules) {
<?php <?php
if (empty ($table->data)) { if (empty ($table->data)) {
if ($filter_monitors) { if ($filter_monitors) {
echo '<div class="nf">' . ui_print_info_message(array( 'no_close'=>true, "message" => __('Any monitors aren\'t with this filter.') ) );
__('Any monitors aren\'t with this filter.') . '</div>';
} }
else { else {
echo '<div class="nf">' . ui_print_info_message( array( 'no_close'=>true, "message" => __('This agent doesn\'t have any active monitors.') ) );
__('This agent doesn\'t have any active monitors.') . '</div>';
} }
} }
else { else {

View File

@ -2155,7 +2155,7 @@ div.cellBig {
tr.group_view_data, .group_view_data { tr.group_view_data, .group_view_data {
color: #003a3a; color: #3F3F3F;
} }
tr.group_view_crit, .group_view_crit { tr.group_view_crit, .group_view_crit {
@ -3042,6 +3042,15 @@ table#policy_modules td * {
padding-left: 10px; padding-left: 10px;
} }
.databox.agente td>div>canvas{
width: 100% !important;
text-align: left !important;
}
.databox.agente td>div.graph{
width: 100% !important;
text-align: left !important;
}
.godmode, .menu_icon ul li{ .godmode, .menu_icon ul li{
background-color: #222; background-color: #222;
} }

View File

@ -61,10 +61,10 @@ if (! check_acl ($config["id_user"], $agent["id_grupo"], "AR") && !$is_extra) {
// START: TABLE AGENT BUILD // START: TABLE AGENT BUILD
$table_agent = new stdClass(); $table_agent = new stdClass();
$table_agent->id = 'agent_details_main'; $table_agent->id = 'agent_details_main';
$table_agent->width = '82%'; $table_agent->width = '95%';
$table_agent->cellspacing = 0; $table_agent->cellspacing = 0;
$table_agent->cellpadding = 0; $table_agent->cellpadding = 0;
$table_agent->class = 'databox'; $table_agent->class = 'databox filters';
$table_agent->style[0] = 'width: 16px; text-align:center; padding: 0px;'; $table_agent->style[0] = 'width: 16px; text-align:center; padding: 0px;';
$table_agent->style[5] = 'width: 16px; text-align:center; padding: 0px;'; $table_agent->style[5] = 'width: 16px; text-align:center; padding: 0px;';
$table_agent->styleTable = 'padding:0px;'; $table_agent->styleTable = 'padding:0px;';
@ -495,7 +495,7 @@ $table->style = array_fill(0, 3, 'vertical-align: top;');
$data = array(); $data = array();
$data[0] = html_print_table($table_agent, true); $data[0] = html_print_table($table_agent, true);
$data[0] .= $data[0] .=
'<br /> <table width=455px class="databox" style=""> '<br /> <table width=95% class="databox agente" style="">
<tr><th>' . <tr><th>' .
__('Events (24h)') . __('Events (24h)') .
'</th></tr>' . '</th></tr>' .
@ -511,7 +511,7 @@ $access_agent = db_get_value_sql("SELECT COUNT(id_agent)
if ($config["agentaccess"] && $access_agent > 0) { if ($config["agentaccess"] && $access_agent > 0) {
$data[0] .= $data[0] .=
'<br /><table width=82% class="databox" style=""> '<br /><table width=90% class="databox agente" style="">
<tr><th>' . <tr><th>' .
__('Agent access rate (24h)') . __('Agent access rate (24h)') .
'</th></tr>' . '</th></tr>' .