Merge branch 'ent-6660-vistas-de-servicios-por-nombre-o-descripcion' into 'develop'
add tooltip service name See merge request artica/pandorafms!3783
This commit is contained in:
commit
61ae461ffe
|
@ -641,6 +641,14 @@ var TreeController = {
|
||||||
|
|
||||||
$content.append($statusImage);
|
$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 = $(
|
var $serviceDetailImage = $(
|
||||||
'<img src="' +
|
'<img src="' +
|
||||||
|
@ -661,6 +669,8 @@ var TreeController = {
|
||||||
.css("cursor", "pointer");
|
.css("cursor", "pointer");
|
||||||
|
|
||||||
$content.append($serviceDetailImage);
|
$content.append($serviceDetailImage);
|
||||||
|
$content.append(" " + image_tooltip);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
typeof element.elementDescription !== "undefined" &&
|
typeof element.elementDescription !== "undefined" &&
|
||||||
element.elementDescription != ""
|
element.elementDescription != ""
|
||||||
|
@ -674,7 +684,6 @@ var TreeController = {
|
||||||
} else {
|
} else {
|
||||||
$content.append(" " + element.name);
|
$content.append(" " + element.name);
|
||||||
}
|
}
|
||||||
// $content.append(" " + element.name);
|
|
||||||
} else {
|
} else {
|
||||||
$content.remove($node);
|
$content.remove($node);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5968,7 +5968,7 @@ div#status_pie {
|
||||||
.table_services_item {
|
.table_services_item {
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
grid-template-columns: 50px auto;
|
grid-template-columns: auto auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue