2011-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_graph.php: Truncate agent name when is large in
	graphs legends and add missed ttl variable.
	* include/styles/pandora.css: Changed style in submit buttons. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-07-13 14:28:55 +00:00
parent bf91c3ed5e
commit 35f2313a26
3 changed files with 24 additions and 18 deletions

View File

@ -1,3 +1,9 @@
2011-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Truncate agent name when is large in
graphs legends and add missed ttl variable.
* include/styles/pandora.css: Changed style in submit buttons.
2011-07-13 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_prediction.php

View File

@ -335,7 +335,7 @@ function grafico_modulo_sparse2 ($agent_module_id, $period, $show_events,
*/
function graphic_combined_module2 ($module_list, $weight_list, $period, $width, $height,
$title, $unit_name, $show_events = 0, $show_alerts = 0, $pure = 0,
$stacked = 0, $date = 0, $only_image = false, $homeurl = '') {
$stacked = 0, $date = 0, $only_image = false, $homeurl = '', $ttl = 1) {
global $config;
global $graphic_type;
@ -410,7 +410,7 @@ function graphic_combined_module2 ($module_list, $weight_list, $period, $width,
$agent_name = modules_get_agentmodule_agent_name ($agent_module_id);
$agent_id = agents_get_agent_id ($agent_name);
$module_name = modules_get_agentmodule_name ($agent_module_id);
$module_name_list[$i] = $agent_name." / ".substr ($module_name, 0, 40);
$module_name_list[$i] = substr($agent_name, 0,80) ." / ".substr ($module_name, 0, 40);
$id_module_type = modules_get_agentmodule_type ($agent_module_id);
$module_type = modules_get_moduletype_name ($id_module_type);
$uncompressed_module = is_module_uncompressed ($module_type);

View File

@ -317,52 +317,52 @@ input.camera_min, input.config_min, input.label_min, input.icon_min {
padding-right: 25px;
}
input.next {
background: #e5e5e5 url(../../images/go.png) no-repeat right 2px;
background: #e5e5e5 url(../../images/go.png) no-repeat 98% 2px;
}
input.upd {
background: #e5e5e5 url(../../images/upd.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/upd.png) no-repeat 98% 3px;
}
input.wand {
background: #e5e5e5 url(../../images/wand.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/wand.png) no-repeat 98% 3px;
}
input.search {
background: #e5e5e5 url(../../images/zoom.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/zoom.png) no-repeat 98% 3px;
}
input.copy {
background: #e5e5e5 url(../../images/copy.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/copy.png) no-repeat 98% 3px;
}
input.ok {
background: #e5e5e5 url(../../images/ok.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/ok.png) no-repeat 98% 3px;
}
input.add {
background: #e5e5e5 url(../../images/add.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/add.png) no-repeat 98% 3px;
}
input.cancel {
background: #e5e5e5 url(../../images/cancel.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/cancel.png) no-repeat 98% 3px;
}
input.delete {
background: #e5e5e5 url(../../images/cross.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/cross.png) no-repeat 98% 3px;
}
input.cog {
background: #e5e5e5 url(../../images/cog.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/cog.png) no-repeat 98% 3px;
}
input.target {
background: #e5e5e5 url(../../images/target.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/target.png) no-repeat 98% 3px;
}
input.graph {
background: #e5e5e5 url(../../images/chart_curve.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/chart_curve.png) no-repeat 98% 3px;
}
input.percentile {
background: #e5e5e5 url(../../images/chart_bar.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/chart_bar.png) no-repeat 98% 3px;
}
input.binary {
background: #e5e5e5 url(../../images/binary.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/binary.png) no-repeat 98% 3px;
}
input.camera {
background: #e5e5e5 url(../../images/camera.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/camera.png) no-repeat 98% 3px;
}
input.config {
background: #e5e5e5 url(../../images/config.png) no-repeat right 3px;
background: #e5e5e5 url(../../images/config.png) no-repeat 98% 3px;
}
input.delete_min {
background: #e5e5e5 url(../../images/cross.png) no-repeat center;