Changed style of Nodo

This commit is contained in:
m-lopez-f 2015-04-10 09:43:44 +02:00
parent 91556f8096
commit e29497c394
48 changed files with 53 additions and 57 deletions

View File

@ -140,7 +140,7 @@ if ($disk_conf_delete) {
echo '<form name="conf_agent" method="post" action="index.php?sec=gagente&amp;sec2=godmode/agentes/configurar_agente">';
$table->width = '98%';
$table->width = '100%';
$table->class = "databox_color";
$table->head = array ();
@ -276,7 +276,7 @@ $table->data[7][1] = html_print_input_text ('comentarios', $comentarios,
html_print_table ($table);
unset($table);
$table->width = '98%';
$table->width = '100%';
$table->class = "databox_color";
$table->head = array ();
@ -390,7 +390,7 @@ $table->data[7][1] = html_print_checkbox('quiet', 1, $quiet, true);
ui_toggle(html_print_table ($table, true), __('Advanced options'));
unset($table);
$table->width = '98%';
$table->width = '100%';
$table->class = "databox_color";
$table->head = array ();
@ -531,7 +531,7 @@ ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
echo '"' . implode(', ', $elements) . '"';
?>,
width: 300,
width: '100%',
theme : "advanced",
theme_advanced_path : false,
statusbar : false,

View File

@ -1578,9 +1578,9 @@ echo '</div>';
// Set the position and width of the subtab
function agent_wizard_tab_setup() {
$('#agent_wizard_subtabs').css('left', $('.agent_wizard_tab').offset().left-14)
$('#agent_wizard_subtabs').css('left', $('.agent_wizard_tab').offset().left-5)
$('#agent_wizard_subtabs').css('top', $('.agent_wizard_tab').offset().top + $('.agent_wizard_tab').height() + 7)
$('#agent_wizard_subtabs').css('width', $('.agent_wizard_tab').width() + 26)
$('#agent_wizard_subtabs').css('width', $('.agent_wizard_tab').width() + 19)
}
function agent_wizard_tab_show() {

View File

@ -114,14 +114,14 @@ if (strstr($page, "policy_modules") === false && $id_agent_module) {
$update_module_id = (int) get_parameter_get ('update_module');
$table_simple->id = 'simple';
$table_simple->width = '98%';
$table_simple->class = 'databox_color';
$table_simple->width = '100%';
$table_simple->class = 'databox';
$table_simple->data = array ();
$table_simple->colspan = array ();
$table_simple->style = array ();
$table_simple->style[0] = 'font-weight: bold; vertical-align: top; width: 26%';
$table_simple->style[0] = 'font-weight: bold; width: 26%;';
$table_simple->style[1] = 'width: 40%';
$table_simple->style[2] = 'font-weight: bold; vertical-align: top';
$table_simple->style[2] = 'font-weight: bold;';
#$table_simple->colspan[4][1] = 3;
$table_simple->colspan[5][1] = 3;
@ -292,13 +292,13 @@ else {
/* Advanced form part */
$table_advanced->id = 'advanced';
$table_advanced->width = '98%';
$table_advanced->class = 'databox_color';
$table_advanced->width = '100%';
$table_advanced->class = 'databox';
$table_advanced->data = array ();
$table_advanced->style = array ();
$table_advanced->style[0] =
$table_advanced->style[3] =
$table_advanced->style[5] = 'font-weight: bold; vertical-align: top';
$table_advanced->style[5] = 'font-weight: bold;';
$table_advanced->colspan = array ();
$table_advanced->data[0][0] = __('Description');

View File

@ -37,7 +37,7 @@ $table->head = array ();
$table->data = array ();
$table->size = array ();
$table->size = array ();
$table->size[0] = '20%';
$table->size[0] = '10%';
$table->size[1] = '30%';
$table->style[0] = 'font-weight: bold; vertical-align: top;';
$table->align[0] = 'left';

View File

@ -353,7 +353,7 @@ if (! $id_agente) {
else {
/* Different sizes or the layout screws up */
$table->size[0] = '0%';
$table->size[1] = '30%';
$table->size[1] = '10%';
$table->size[2] = '30%';
/* if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) {
$table->size[4] = '25%';

View File

@ -50,7 +50,7 @@ ui_print_page_header (__('Alert details'), "images/op_alerts.png", false, "", fa
// TABLE DETAILS
$table_details->class = 'alternate';
$table_details->class = 'databox';
$table_details->width = '100%';
$table_details->size = array ();
$table_details->data = array();
@ -129,7 +129,7 @@ if (enterprise_installed() && $alert['id_policy_alerts'] != 0) {
// TABLE CONDITIONS
$table_conditions->class = 'alternate';
$table_conditions->class = 'databox';
$table_conditions->width = '100%';
$table_conditions->size = array ();
$table_conditions->data = array();

View File

@ -209,7 +209,7 @@ $snmp_versions['2'] = 'v. 2';
$snmp_versions['2c'] = 'v. 2c';
$snmp_versions['3'] = 'v. 3';
$table->width = '99%';
$table->width = '100%';
$table->data = array ();

View File

@ -35,7 +35,7 @@ function push_table_row ($row, $id = false) {
$table->id = 'network_component';
$table->width = '98%';
$table->width = '100%';
$table->class = 'databox';
$table->style = array ();
$table->style[0] = 'font-weight: bold';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 414 B

BIN
pandora_console/images/alerts_action.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 454 B

BIN
pandora_console/images/alerts_command.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 449 B

BIN
pandora_console/images/alerts_extern.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 448 B

BIN
pandora_console/images/alerts_sync.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 468 B

BIN
pandora_console/images/alerts_template.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 429 B

BIN
pandora_console/images/arrow.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 215 B

BIN
pandora_console/images/bell.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 405 B

BIN
pandora_console/images/bell_extern.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 448 B

BIN
pandora_console/images/bell_pause.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 440 B

BIN
pandora_console/images/books.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 453 B

BIN
pandora_console/images/box.disabled.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 472 B

BIN
pandora_console/images/box.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 489 B

BIN
pandora_console/images/builder.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 423 B

BIN
pandora_console/images/calendar_view_day.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 464 B

BIN
pandora_console/images/extensions.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 355 B

BIN
pandora_console/images/network.disabled.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 402 B

BIN
pandora_console/images/network.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 559 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 446 B

After

Width:  |  Height:  |  Size: 353 B

View File

@ -816,8 +816,8 @@ function html_print_extended_select_for_cron ($hour = '*', $minute = '*', $mday
# Print selectors
$table->id = 'cron';
$table->width = '98%';
$table->class = 'databox_color';
$table->width = '100%';
$table->class = 'databox data';
$table->head[0] = __('Hour');
$table->head[1] = __('Minute');
$table->head[2] = __('Month day');

View File

@ -2397,7 +2397,7 @@ function ui_print_page_header ($title, $icon = "", $return = false, $help = "",
$buffer .= '<span style="">' .
ui_print_truncate_text($title, 38);
if ($help != "")
$buffer .= "<div class='head_help' style='float: right; margin-top: -3px !important; margin-left: 2px !important;'>" .
$buffer .= "<div class='head_help' style='float: right; margin-top: 3px !important; margin-left: 2px !important;'>" .
ui_print_help_icon ($help, true, '', 'images/help_w.png') . "</div>";
$buffer .= '</span></li></ul></div>';

View File

@ -914,21 +914,6 @@ td.datos_id {
color: #1a313a;
}
tr.rowPair {
background-color: #efefef;
}
tr.rowOdd {
background-color: #f2f2f2;
}
tr.rowPair:hover {
background-color: #E0E0E0;
}
tr.rowOdd:hover {
background-color: #E0E0E0
}
tr.disabled_row_user * {
color: grey;
}
@ -1350,7 +1335,7 @@ table.databox {
}
.databox th {
padding: 10px 8px;
padding: 5px 7px;
color: #fff;
}
@ -2867,7 +2852,7 @@ table#policy_modules td * {
}
.databox.data td{
padding-left: 10px;
padding-left: 5px;
border: 1px solid #E2E2E2;
}

View File

@ -40,6 +40,7 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
require_once ($config['homedir'] . "/include/functions_tags.php");
$table->width = '100%';
$table->class = 'databox filters';
if(defined('METACONSOLE')){
$table->class = 'databox_filters';
$table->width = '96%';
@ -48,6 +49,11 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st
}
$table->data = array ();
$table->style = array ();
$table->style[0] = 'font-weight: bold;';
$table->style[1] = 'font-weight: bold;';
$table->style[2] = 'font-weight: bold;';
$table->style[3] = 'font-weight: bold;';
$table->style[4] = 'font-weight: bold;';
if(defined('METACONSOLE')){
$table->style[0] = 'vertical-align:middle; font-weight: bold;';
$table->style[1] = 'vertical-align:middle; font-weight: bold;';

View File

@ -383,7 +383,7 @@ if ($print_agent) {
}
$table->width = '100%';
$table->class = "databox";
$table->class = "databox data";
if(defined('METACONSOLE')){
$table->cellpadding = '0';
$table->cellspacing = '0';

View File

@ -97,8 +97,9 @@ if (!defined('METACONSOLE')){
$sortField . '&amp;sort=' . $sort .'&amp;pure=' . $config['pure'] . $ag_custom_fields_params . '">';
//echo '<table cellspacing="4" cellpadding="4" width="100%" class="databox"><tr>';
$table->width = "100%";
$table->cellspacing = 4;
$table->cellpadding = 4;
$table->cellspacing = 0;
$table->cellpadding = 0;
$table->class = "databox filters";
}else{
$filters = '<form class="filters_form" method="post" action="index.php?sec=estado&amp;sec2=operation/agentes/status_monitor&amp;refr=' . $refr . '&amp;ag_group=' .
$ag_group . '&amp;ag_freestring=' . $ag_freestring . '&amp;ag_modulename=' . $ag_modulename . '&amp;status=' . $status . '&amp;sort_field=' .
@ -409,11 +410,11 @@ if(defined("METACONSOLE")){
$table->style[4] = 'vertical-align:middle; font-weight: bold;';
}
else{
$table->style[0] = 'vertical-align:middle;';
$table->style[1] = 'vertical-align:middle;';
$table->style[2] = 'vertical-align:middle;';
$table->style[3] = 'vertical-align:middle;';
$table->style[4] = 'vertical-align:middle;';
$table->style[0] = 'font-weight: bold;';
$table->style[1] = 'font-weight: bold;';
$table->style[2] = 'font-weight: bold;';
$table->style[3] = 'font-weight: bold;';
$table->style[4] = 'font-weight: bold;';
}
$table->data[0][0] = __('Group');
@ -501,8 +502,8 @@ if(!defined('METACONSOLE')){
}
$table_custom_fields = new stdClass();
$table_custom_fields->class = 'databox';
$table_custom_fields->width = '99%';
$table_custom_fields->class = 'filters';
$table_custom_fields->width = '100%';
if(defined('METACONSOLE')){
$table_custom_fields->width = '100%';
$table_custom_fields->class = 'filters';
@ -924,10 +925,10 @@ if (($config['dbtype'] == 'oracle') && ($result !== false)) {
}
}
$table->cellpadding = 4;
$table->cellspacing = 4;
$table->width = "98%";
$table->class = "databox";
$table->cellpadding = 0;
$table->cellspacing = 0;
$table->width = "100%";
$table->class = "databox data";
if(defined('METACONSOLE')){
$table->width = "100%";
$table->cellpadding = '0';
@ -1002,7 +1003,7 @@ if (! defined ('METACONSOLE')) {
}
if (! defined ('METACONSOLE'))
$table->align[10] = "right";
$table->align[10] = "left";
$rowPair = true;
$iterator = 0;
@ -1213,7 +1214,6 @@ foreach ($result as $row) {
}
if ($row['history_data'] == 1 && $acl_graphs) {
$graph_type = return_graphtype ($row["module_type"]);
$url = ui_get_full_url("operation/agentes/stat_win.php", false, false, false);
@ -1247,7 +1247,11 @@ foreach ($result as $row) {
$row['server_name'] . "\", 0, " . SECONDS_1DAY . ")'>" .
html_print_image ("images/binary.png", true,
array ("border" => "0", "alt" => "")) . "</a>";
$data[7] .= "<span id='hidden_name_module_" . $row["id_agente_modulo"] . "'
style='display: none;'>" .
$row["module_name"] .
"</span>";
}
$data[8] = ui_print_module_warn_value($row['max_warning'],
@ -1414,7 +1418,8 @@ ui_require_javascript_file('pandora_modules');
period = <?php echo SECONDS_1DAY; ?>;
}
}
valor = $("hidden_name_module_"+module_id);
console.log(valor);
$.ajax({
type: "POST",
url: "<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",