add tooltip service name

This commit is contained in:
Marcos Alconada 2021-03-23 15:55:28 +00:00 committed by Daniel Rodriguez
parent fc29160c91
commit 302df228cc
2 changed files with 11 additions and 2 deletions

View File

@ -641,6 +641,14 @@ var TreeController = {
$content.append($statusImage);
}
var image_tooltip =
'<span><img src="' +
(controller.baseURL.length > 0 ? controller.baseURL : "") +
'images/help.png" class="img_help" title="' +
element.name +
'" alt="' +
element.name +
'"/></span> ';
var $serviceDetailImage = $(
'<img src="' +
@ -661,6 +669,8 @@ var TreeController = {
.css("cursor", "pointer");
$content.append($serviceDetailImage);
$content.append(" " + image_tooltip);
if (
typeof element.elementDescription !== "undefined" &&
element.elementDescription != ""
@ -674,7 +684,6 @@ var TreeController = {
} else {
$content.append(" " + element.name);
}
// $content.append(" " + element.name);
} else {
$content.remove($node);
}

View File

@ -5968,7 +5968,7 @@ div#status_pie {
.table_services_item {
display: grid;
align-items: center;
grid-template-columns: 50px auto;
grid-template-columns: auto auto auto;
}
/*