Skip to content

Commit

Permalink
Changed style of Nodo
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lopez-f committed Apr 10, 2015
1 parent 91556f8 commit e29497c
Show file tree
Hide file tree
Showing 48 changed files with 53 additions and 57 deletions.
8 changes: 4 additions & 4 deletions pandora_console/godmode/agentes/agent_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

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 ();
Expand Down Expand Up @@ -276,7 +276,7 @@
html_print_table ($table);
unset($table);

$table->width = '98%';
$table->width = '100%';
$table->class = "databox_color";

$table->head = array ();
Expand Down Expand Up @@ -390,7 +390,7 @@
ui_toggle(html_print_table ($table, true), __('Advanced options'));
unset($table);

$table->width = '98%';
$table->width = '100%';
$table->class = "databox_color";

$table->head = array ();
Expand Down Expand Up @@ -531,7 +531,7 @@ function show_modules_not_learning_mode_context_help() {

echo '"' . implode(', ', $elements) . '"';
?>,
width: 300,
width: '100%',
theme : "advanced",
theme_advanced_path : false,
statusbar : false,
Expand Down
4 changes: 2 additions & 2 deletions pandora_console/godmode/agentes/configurar_agente.php
Original file line number Diff line number Diff line change
Expand Up @@ -1578,9 +1578,9 @@

// 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() {
Expand Down
14 changes: 7 additions & 7 deletions pandora_console/godmode/agentes/module_manager_editor_common.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ function add_component_selection ($id_network_component_type) {
$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;
Expand Down Expand Up @@ -292,13 +292,13 @@ function add_component_selection ($id_network_component_type) {

/* 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');
Expand Down
2 changes: 1 addition & 1 deletion pandora_console/godmode/alerts/alert_list.builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
$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';
Expand Down
2 changes: 1 addition & 1 deletion pandora_console/godmode/alerts/alert_list.list.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
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%';
Expand Down
4 changes: 2 additions & 2 deletions pandora_console/godmode/alerts/alert_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

// TABLE DETAILS

$table_details->class = 'alternate';
$table_details->class = 'databox';
$table_details->width = '100%';
$table_details->size = array ();
$table_details->data = array();
Expand Down Expand Up @@ -129,7 +129,7 @@

// TABLE CONDITIONS

$table_conditions->class = 'alternate';
$table_conditions->class = 'databox';
$table_conditions->width = '100%';
$table_conditions->size = array ();
$table_conditions->data = array();
Expand Down
2 changes: 1 addition & 1 deletion pandora_console/godmode/massive/massive_edit_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
$snmp_versions['2c'] = 'v. 2c';
$snmp_versions['3'] = 'v. 3';

$table->width = '99%';
$table->width = '100%';
$table->data = array ();


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Binary file modified pandora_console/images/agent_critical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/agent_mc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/agent_notinit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/agent_ok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/agent_unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/agent_warning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/alerts_action.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/alerts_command.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/alerts_extern.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/alerts_sync.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/alerts_template.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/arrow.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/bell.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/bell_extern.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/bell_pause.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/books.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/box.disabled.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/box.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/builder.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/calendar_view_day.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/extensions.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/network.disabled.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/network.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/op_alerts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/op_events.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pandora_console/images/op_gis.png
Binary file modified pandora_console/images/op_inventory.png
Binary file modified pandora_console/images/op_monitoring.png
Binary file modified pandora_console/images/op_netflow.png
Binary file modified pandora_console/images/op_recon.png
Binary file modified pandora_console/images/op_reporting.png
Binary file modified pandora_console/images/op_satellite.png
Binary file modified pandora_console/images/op_snmp.png
Binary file modified pandora_console/images/op_workspace.png
4 changes: 2 additions & 2 deletions pandora_console/include/functions_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion pandora_console/include/functions_ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>';

Expand Down
19 changes: 2 additions & 17 deletions pandora_console/include/styles/pandora.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -1350,7 +1335,7 @@ table.databox {
}

.databox th {
padding: 10px 8px;
padding: 5px 7px;
color: #fff;
}

Expand Down Expand Up @@ -2867,7 +2852,7 @@ table#policy_modules td * {
}

.databox.data td{
padding-left: 10px;
padding-left: 5px;
border: 1px solid #E2E2E2;
}

Expand Down
6 changes: 6 additions & 0 deletions pandora_console/operation/agentes/alerts_status.functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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%';
Expand All @@ -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;';
Expand Down
2 changes: 1 addition & 1 deletion pandora_console/operation/agentes/alerts_status.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
}

$table->width = '100%';
$table->class = "databox";
$table->class = "databox data";
if(defined('METACONSOLE')){
$table->cellpadding = '0';
$table->cellspacing = '0';
Expand Down
39 changes: 22 additions & 17 deletions pandora_console/operation/agentes/status_monitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@
$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=' .
Expand Down Expand Up @@ -409,11 +410,11 @@
$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');

Expand Down Expand Up @@ -501,8 +502,8 @@
}

$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';
Expand Down Expand Up @@ -924,10 +925,10 @@
}
}

$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';
Expand Down Expand Up @@ -1002,7 +1003,7 @@
}

if (! defined ('METACONSOLE'))
$table->align[10] = "right";
$table->align[10] = "left";

$rowPair = true;
$iterator = 0;
Expand Down Expand Up @@ -1213,7 +1214,6 @@
}

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);
Expand Down Expand Up @@ -1247,7 +1247,11 @@
$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'],
Expand Down Expand Up @@ -1414,7 +1418,8 @@ function show_module_detail_dialog(module_id, id_agent, server_name, offset, per
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); ?>",
Expand Down

0 comments on commit e29497c

Please sign in to comment.