changes reverted, it overlap the other widgets

Revert "dashboard image position correction"

This reverts commit c226874410.
This commit is contained in:
fbsanchez 2015-09-18 14:58:01 +02:00
parent 650f362ef5
commit 6be8bd8400
1 changed files with 2 additions and 2 deletions

View File

@ -1237,7 +1237,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true,
else else
echo '<div style="left: 0px; top: 0px; text-align: center; z-index: '.$z_index.'; '.($layout_data['label_color'][0] == '#' ? 'color: '.$layout_data['label_color'].';' : '').' position: absolute; margin-left: '.$layout_data['pos_x'].'px; margin-top:'.$layout_data['pos_y'].'px;" id="layout-data-'.$layout_data['id'].'" class="layout-data">'; echo '<div style="left: 0px; top: 0px; text-align: center; z-index: '.$z_index.'; '.($layout_data['label_color'][0] == '#' ? 'color: '.$layout_data['label_color'].';' : '').' position: absolute; margin-left: '.$layout_data['pos_x'].'px; margin-top:'.$layout_data['pos_y'].'px;" id="layout-data-'.$layout_data['id'].'" class="layout-data">';
echo "<div>"; /*style='width:150px'*/ echo "<div style='width:150px'>";
if ($show_links) { if ($show_links) {
if ((!empty($layout_data['id_agent']) if ((!empty($layout_data['id_agent'])
&& empty($layout_data['id_layout_linked'])) && empty($layout_data['id_layout_linked']))
@ -1408,7 +1408,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true,
// Print label if valid label_color (only testing for starting with #) otherwise print nothing // Print label if valid label_color (only testing for starting with #) otherwise print nothing
if ($layout_data['label_color'][0] == '#') { if ($layout_data['label_color'][0] == '#') {
/*echo "<br />";*/ echo "<br />";
echo io_safe_output($layout_data['label']); echo io_safe_output($layout_data['label']);
} }
echo "</div>"; echo "</div>";