Merge branch 'ent-1580-flecha-de-interface-information-casi-no-se-ve' into 'develop'

Fixed dark arrow in Interface information (SNMP)

See merge request artica/pandorafms!1087
This commit is contained in:
vgilc 2017-12-21 10:55:40 +01:00
commit 6325e336c5
3 changed files with 3 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

View File

@ -473,7 +473,7 @@ if (!empty($network_interfaces)) {
$options = array( $options = array(
"class" => "closed", "class" => "closed",
"style" => "vertical-align:righ; cursor:pointer;"); "style" => "vertical-align:righ; cursor:pointer;");
$table_interface->head[0] = html_print_image("images/go.png", true, $options) . "  "; $table_interface->head[0] = html_print_image("images/graphmenu_arrow.png", true, $options) . "  ";
$table_interface->head[0] .= '<span style="vertical-align: middle;">' . __('Interface information') .' (SNMP)</span>'; $table_interface->head[0] .= '<span style="vertical-align: middle;">' . __('Interface information') .' (SNMP)</span>';
$table_interface->head_colspan = array(); $table_interface->head_colspan = array();
$table_interface->head_colspan[0] = 8; $table_interface->head_colspan[0] = 8;
@ -599,11 +599,11 @@ if (!empty($network_interfaces)) {
var arrow = $("#agent_interface_info").find("thead").find("img"); var arrow = $("#agent_interface_info").find("thead").find("img");
if (arrow.hasClass("closed")) { if (arrow.hasClass("closed")) {
arrow.removeClass("closed"); arrow.removeClass("closed");
arrow.prop("src", "images/down.png"); arrow.prop("src", "images/arrow-down-white.png");
$("#agent_interface_info").find("tbody").show(); $("#agent_interface_info").find("tbody").show();
} else { } else {
arrow.addClass("closed"); arrow.addClass("closed");
arrow.prop("src", "images/go.png"); arrow.prop("src", "images/graphmenu_arrow.png");
$("#agent_interface_info").find("tbody").hide(); $("#agent_interface_info").find("tbody").hide();
} }
}) })