mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php, include/ajax/visual_console_builder.ajax.php: set to blue more light the color for unknow status for percentile item, and set the size of items create from the wizzard to 20 characteres. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5880035220
commit
cf8f5dc043
@ -1,3 +1,10 @@
|
||||
2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_visual_map.php,
|
||||
include/ajax/visual_console_builder.ajax.php: set to blue more light the
|
||||
color for unknow status for percentile item, and set the size of items
|
||||
create from the wizzard to 20 characteres.
|
||||
|
||||
2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_html.php: into the function "html_print_select" removed
|
||||
|
@ -190,7 +190,7 @@ switch ($action) {
|
||||
case 3:
|
||||
//Unknown
|
||||
default:
|
||||
$colorStatus = "#0000ff";
|
||||
$colorStatus = "#5A5AFF";
|
||||
// Default is Grey (Other)
|
||||
break;
|
||||
}
|
||||
|
@ -151,7 +151,7 @@ function visual_map_print_item($layoutData) {
|
||||
case 3:
|
||||
//Unknown
|
||||
default:
|
||||
$colorStatus = "#0000ff";
|
||||
$colorStatus = "#5A5AFF";
|
||||
// Default is Blue (Other)
|
||||
break;
|
||||
}
|
||||
@ -444,16 +444,16 @@ function visual_map_process_wizard_add_modules ($id_modules, $image, $id_layout,
|
||||
switch ($label_type) {
|
||||
case 'agent_module':
|
||||
default:
|
||||
$agent_label = ui_print_truncate_text(agents_get_name ($id_agent), 8, false, true, false, '…', false);
|
||||
$module_label = ui_print_truncate_text(modules_get_agentmodule_name($id_module), 8, false, true, false, '…', false);
|
||||
$agent_label = ui_print_truncate_text(agents_get_name ($id_agent), 10, false, true, false, '…', false);
|
||||
$module_label = ui_print_truncate_text(modules_get_agentmodule_name($id_module), 10, false, true, false, '…', false);
|
||||
$label = $agent_label . " - " . $module_label;
|
||||
break;
|
||||
case 'module':
|
||||
$module_label = ui_print_truncate_text(modules_get_agentmodule_name($id_module), 8, false, true, false, '…', false);
|
||||
$module_label = ui_print_truncate_text(modules_get_agentmodule_name($id_module), 20, false, true, false, '…', false);
|
||||
$label = $module_label;
|
||||
break;
|
||||
case 'agent':
|
||||
$agent_label = ui_print_truncate_text(agents_get_name ($id_agent), 8, false, true, false, '…', false);
|
||||
$agent_label = ui_print_truncate_text(agents_get_name ($id_agent), 20, false, true, false, '…', false);
|
||||
$label = $agent_label;
|
||||
break;
|
||||
case 'none':
|
||||
@ -1065,7 +1065,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
|
||||
case 3:
|
||||
//Unknown
|
||||
default:
|
||||
$colorStatus = "#0000ff";
|
||||
$colorStatus = "#5A5AFF";
|
||||
// Default is Grey (Other)
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user