2013-06-12 Miguel de Dios <miguel.dedios@artica.es>
* operation/tree.php: improved the source code style. * include/functions_networkmap.php: remove the link in metaconsole node and set the color. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9be74b0865
commit
13c6d0e3e0
|
@ -1,3 +1,10 @@
|
|||
2013-06-12 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/tree.php: improved the source code style.
|
||||
|
||||
* include/functions_networkmap.php: remove the link in metaconsole
|
||||
node and set the color.
|
||||
|
||||
2013-06-12 Mario Pulido <mario.pulido@artica.es>
|
||||
|
||||
* pandoradb.data.postgreSQL.sql,
|
||||
|
|
|
@ -773,11 +773,13 @@ function networkmap_create_pandora_node ($name, $font_size = 10, $simple = 0, $s
|
|||
'action=get_networkmap_summary&' .
|
||||
'stats='.$stats_json . '&' .
|
||||
'metaconsole=1';
|
||||
$url = 'index.php';
|
||||
$url = '';
|
||||
$color = "#052938";
|
||||
}
|
||||
else {
|
||||
$url_tooltip = 'ajax.php?page=include/ajax/networkmap.ajax&action=get_networkmap_summary&stats='.$stats_json.'", URL="index.php?sec=estado&sec2=operation/agentes/group_view';
|
||||
$url = 'index.php?sec=estado&sec2=operation/agentes/group_view';
|
||||
$color = "#373737";
|
||||
}
|
||||
|
||||
$img_tag = html_print_image($img_src, true, false, false, true);
|
||||
|
@ -789,7 +791,7 @@ function networkmap_create_pandora_node ($name, $font_size = 10, $simple = 0, $s
|
|||
$label = '';
|
||||
}
|
||||
|
||||
$node = '0 [ color="#364D1F", fontsize='.$font_size.', style="filled", fixedsize=true, width=0.8, height=0.6, label=<'.$label.'>,
|
||||
$node = '0 [ color="' . $color . '", fontsize='.$font_size.', style="filled", fixedsize=true, width=0.8, height=0.6, label=<'.$label.'>,
|
||||
shape="ellipse", tooltip="' . $url_tooltip . '", URL="' . $url . '" ];';
|
||||
|
||||
return $node;
|
||||
|
|
|
@ -109,6 +109,7 @@ if (is_ajax ())
|
|||
* 1 1 - hide 2 branch
|
||||
*/
|
||||
$lessBranchs = get_parameter('less_branchs');
|
||||
|
||||
switch ($type) {
|
||||
case 'group':
|
||||
case 'os':
|
||||
|
|
Loading…
Reference in New Issue