Merge branch 'ent-3684-Dashboard-publico-no-muestra-mapa-de-red' into 'develop'
ent-3684-Dashboard-publico-no-muestra-mapa-de-red into develop See merge request artica/pandorafms!2427
This commit is contained in:
commit
ea39766d59
|
@ -3467,19 +3467,18 @@ class NetworkMap
|
|||
$output .= '<div id="arrow_minimap_'.$networkmap['id'].'"';
|
||||
$output .= ' style="position: absolute; left: 0px; top: 0px;">';
|
||||
$output .= '<a title="'.__('Open Minimap').'" href="javascript: toggle_minimap();">';
|
||||
$output .= '<img id="image_arrow_minimap_'.$networkmap['id'].'"';
|
||||
$output .= ' src="images/minimap_open_arrow.png" />';
|
||||
$output .= html_print_image('/images/minimap_open_arrow.png', true, ['id' => 'arrow_minimap_'.$networkmap['id']]);
|
||||
$output .= '</a><div></div></div>';
|
||||
|
||||
$output .= '<div id="hide_labels_'.$networkmap['id'].'"';
|
||||
$output .= ' style="position: absolute; right: 10px; top: 10px;">';
|
||||
$output .= '<a title="'.__('Hide Labels').'" href="javascript: hide_labels();">';
|
||||
$output .= '<img id="image_hide_show_labels" src="images/icono_borrar.png" />';
|
||||
$output .= html_print_image('/images/icono_borrar.png', true, ['id' => 'image_hide_show_labels']);
|
||||
$output .= '</a></div>';
|
||||
|
||||
$output .= '<div id="holding_spinner_'.$networkmap['id'].'" ';
|
||||
$output .= ' style="display: none; position: absolute; right: 50px; top: 20px;">';
|
||||
$output .= '<img id="image_hide_show_labels" src="images/spinner.gif" />';
|
||||
$output .= html_print_image('/images/spinner.png', true, ['id' => 'image_hide_show_labels']);
|
||||
$output .= '</div>';
|
||||
|
||||
// Close networkconsole_id div.
|
||||
|
|
|
@ -1284,7 +1284,7 @@ function hide_labels_function() {
|
|||
$("#hide_labels_" + networkmap_id + " > a").attr("title", "Show Labels");
|
||||
$("#hide_labels_" + networkmap_id + " > a > img").attr(
|
||||
"src",
|
||||
"images/icono_pintar.png"
|
||||
window.location.origin + "/pandora_console/images/icono_pintar.png"
|
||||
);
|
||||
|
||||
d3.selectAll(".node_text").style("display", "none");
|
||||
|
@ -1297,7 +1297,7 @@ function show_labels_function() {
|
|||
$("#hide_labels_" + networkmap_id + " > a").attr("title", "Hide Labels");
|
||||
$("#hide_labels_" + networkmap_id + " > a > img").attr(
|
||||
"src",
|
||||
"images/icono_borrar.png"
|
||||
window.location.origin + "/pandora_console/images//icono_borrar.png"
|
||||
);
|
||||
|
||||
d3.selectAll(".node_text").style("display", "");
|
||||
|
|
Loading…
Reference in New Issue