mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
#11493 Fixed color
This commit is contained in:
parent
6ca91b89ec
commit
c28730a081
@ -308,6 +308,8 @@ class AgentHive extends Widget
|
|||||||
window.open(url);
|
window.open(url);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("div [id*=hiveImg_] svg path").css("fill", "#99A3BE");
|
||||||
});
|
});
|
||||||
</script>';
|
</script>';
|
||||||
|
|
||||||
@ -403,16 +405,18 @@ class AgentHive extends Widget
|
|||||||
|
|
||||||
// OS and alias.
|
// OS and alias.
|
||||||
$output .= '<div class="widget-agent-hive-square-info-body">';
|
$output .= '<div class="widget-agent-hive-square-info-body">';
|
||||||
$output .= ui_print_os_icon(
|
$icon = (string) db_get_value(
|
||||||
$data['id_os'],
|
'icon_name',
|
||||||
false,
|
'tconfig_os',
|
||||||
true,
|
'id_os',
|
||||||
true,
|
(int) $data['id_os']
|
||||||
false,
|
|
||||||
false,
|
|
||||||
false,
|
|
||||||
['style' => 'margin-right: 5px;']
|
|
||||||
);
|
);
|
||||||
|
$output .= '<div id="hiveImg_'.$id.'"
|
||||||
|
style="width:20px;height:20px;margin-right: 5px;">';
|
||||||
|
$output .= file_get_contents(
|
||||||
|
ui_get_full_url('images/'.$icon)
|
||||||
|
);
|
||||||
|
$output .= '</div>';
|
||||||
$output .= ui_print_truncate_text(
|
$output .= ui_print_truncate_text(
|
||||||
ucfirst(io_safe_output($data['alias'])),
|
ucfirst(io_safe_output($data['alias'])),
|
||||||
12,
|
12,
|
||||||
|
@ -684,6 +684,7 @@ form.modal-dashboard
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-agent-hive-square-info-header {
|
.widget-agent-hive-square-info-header {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user