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 class="text_task">
<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.
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
ignore it or will update its information.There are three types of detection: Based on <strong id="fuerte"> ICMP </strong>(pings),
<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>
<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.
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.
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>
<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'); ?>" />
</form>

View File

@ -45,7 +45,7 @@ echo '<div id="login_help_dialog" title="' .
echo '<div style="">';
echo '<table cellspacing=0 cellpadding=0 style="border:1px solid #FFF; width:100%; height: 100%">';
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;">' .
html_print_image('images/online_help.png', true,
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 '</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;">' .
html_print_image('images/enterprise_version.png', true,
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 '</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;">' .
html_print_image('images/support.png', true,
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 '</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;">' .
html_print_image('images/documentation.png', true,
array("alt" => __('Documentation'), "border" => 0)) . '</a>';

View File

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

View File

@ -2155,7 +2155,7 @@ div.cellBig {
tr.group_view_data, .group_view_data {
color: #003a3a;
color: #3F3F3F;
}
tr.group_view_crit, .group_view_crit {
@ -3042,6 +3042,15 @@ table#policy_modules td * {
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{
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
$table_agent = new stdClass();
$table_agent->id = 'agent_details_main';
$table_agent->width = '82%';
$table_agent->width = '95%';
$table_agent->cellspacing = 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[5] = 'width: 16px; text-align:center; padding: 0px;';
$table_agent->styleTable = 'padding:0px;';
@ -495,7 +495,7 @@ $table->style = array_fill(0, 3, 'vertical-align: top;');
$data = array();
$data[0] = html_print_table($table_agent, true);
$data[0] .=
'<br /> <table width=455px class="databox" style="">
'<br /> <table width=95% class="databox agente" style="">
<tr><th>' .
__('Events (24h)') .
'</th></tr>' .
@ -511,7 +511,7 @@ $access_agent = db_get_value_sql("SELECT COUNT(id_agent)
if ($config["agentaccess"] && $access_agent > 0) {
$data[0] .=
'<br /><table width=82% class="databox" style="">
'<br /><table width=90% class="databox agente" style="">
<tr><th>' .
__('Agent access rate (24h)') .
'</th></tr>' .