2013-02-28 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_events.php,
	images/status_sets/default/severity_informational.png,
	images/status_sets/default/severity_maintenance_pixel.png,
	images/status_sets/default/severity_maintenance.png,
	images/status_sets/default/severity_informational_pixel.png: fixed
	the colors for maintenance and informational events.
	
	Fixes: #3606227




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-02-28 16:36:34 +00:00
parent a56d2986bc
commit 318f392097
11 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,14 @@
2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php,
images/status_sets/default/severity_informational.png,
images/status_sets/default/severity_maintenance_pixel.png,
images/status_sets/default/severity_maintenance.png,
images/status_sets/default/severity_informational_pixel.png: fixed
the colors for maintenance and informational events.
Fixes: #3606227
2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/admin_access_logs.php: cleaned source code style.

View File

@ -329,14 +329,14 @@ function type_change () {
document.component.snmp_oid.style.background="#ddd";
document.component.snmp_oid.disabled=true;
document.component.snmp_community.style.background="#ddd";
document.component.snmp_community.disabled=true;
document.component.snmp_community.disabled=true;
document.component.tcp_send.style.background="#fff";
document.component.tcp_send.disabled=false;
document.component.tcp_rcv.style.background="#fff";
document.component.tcp_rcv.disabled=false;
document.component.tcp_port.style.background="#fff";
document.component.tcp_port.disabled=false;
document.component.snmp_version.style.background="#ddd";
document.component.snmp_version.disabled=true;
document.component.snmp3_auth_user.style.background="#ddd";
@ -364,7 +364,7 @@ function type_change () {
document.component.tcp_rcv.disabled=false;
document.component.tcp_port.style.background="#fff";
document.component.tcp_port.disabled=false;
document.component.snmp_version.style.background="#ddd";
document.component.snmp_version.disabled=true;
document.component.snmp3_auth_user.style.background="#ddd";

View File

@ -137,7 +137,7 @@ echo "</tr><tr>";
$connection_names = array();
$agents_tmp = array();
$agents = array();
$agents = array();
foreach ($connection_names as $connection) {
$connection_data = enterprise_hook('metaconsole_get_connection', array($connection));

View File

@ -531,7 +531,7 @@ function loadFieldsFromDB(item) {
enterprise_loadFieldsFromDB(data);
}
}
});
});
}
function setAspectRatioBackground(side) {

View File

@ -360,7 +360,7 @@ function item_per_agent_change(itemPerAgent) {
$('#module').empty();
$('#module').append ($('<option></option>').html (<?php echo "'" . __('None') . "'"; ?>).attr("value", -1));
$('#module').attr('disabled', true);
$('#label_type').empty();
$('#label_type').empty();
$('#label_type').append ($('<option></option>').html (<?php echo "'" . __('Agent') . "'"; ?>).attr('value', 'agent').attr('selected', true));
$('#label_type').append ($('<option></option>').html (<?php echo "'" . __('None') . "'"; ?>).attr('value', 'none'));
@ -369,7 +369,7 @@ function item_per_agent_change(itemPerAgent) {
else {
$('#module').removeAttr('disabled');
$('#hidden-item_per_agent_test').val(0);
$('#label_type').empty();
$('#label_type').empty();
$('#label_type').append ($('<option></option>').html (<?php echo "'" . __('Agent') . "'"; ?>).attr('value', 'agent'));
$('#label_type').append ($('<option></option>').html (<?php echo "'" . __('Agent - Module') . "'"; ?>).attr('value', 'agent_module').attr('selected', true));
$('#label_type').append ($('<option></option>').html (<?php echo "'" . __('Module') . "'"; ?>).attr('value', 'module'));

View File

@ -107,7 +107,7 @@ if ((isset($_GET["form_add"])) or (isset($_GET["form_edit"]))) {
<td class="datos2">'.__('Link').'</td>
<td class="datos2">
<input type="text" name="link" size="35" value="'.$link.'"></td>';
echo '</tr>';
echo '</tr>';
echo "</table>";
echo "<table width='98%'>";
echo "<tr><td align='right'>";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

View File

@ -2092,6 +2092,7 @@ function events_page_general ($event) {
$data = array();
$data[0] = __('Severity');
$event_criticity = get_priority_name ($event["criticity"]);
$data[1] = html_print_image ($img_sev, true,
array ("class" => "image_status",
"width" => 12,