Working in the fusion of edit and view code of visualmap.
This commit is contained in:
parent
be9d1e242c
commit
53f7315b6c
|
@ -134,7 +134,7 @@ function visual_map_print_item($mode = "read", $layoutData,
|
||||||
$is_a_service = true;
|
$is_a_service = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($layout_data['id_layout_linked'] != 0) {
|
if ($layoutData['id_layout_linked'] != 0) {
|
||||||
$is_a_link_to_other_visualconsole = true;
|
$is_a_link_to_other_visualconsole = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -351,8 +351,8 @@ function visual_map_print_item($mode = "read", $layoutData,
|
||||||
|
|
||||||
echo '<div id="' . $id . '" class="' . $class . '" ' .
|
echo '<div id="' . $id . '" class="' . $class . '" ' .
|
||||||
'style="z-index: ' .$z_index . ';' .
|
'style="z-index: ' .$z_index . ';' .
|
||||||
'position: absolute; color: ' . $color . ';' .
|
'position: absolute; top: ' . $top . 'px; ' .
|
||||||
'top: ' . $top . 'px; left: ' . $left . 'px;' .
|
'left: ' . $left . 'px;' .
|
||||||
'text-align: center;' .
|
'text-align: center;' .
|
||||||
'display: inline-block; ' . $sizeStyle . '">';
|
'display: inline-block; ' . $sizeStyle . '">';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue