mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
2012-08-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php godmode/reporting/visual_console_builder.editor.php: Center the visual map in both visual console views (edit & view) git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
9f381d9ed0
commit
e275a8d68e
@ -1,3 +1,9 @@
|
|||||||
|
2012-08-23 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* include/functions_visual_map.php
|
||||||
|
godmode/reporting/visual_console_builder.editor.php: Center the visual
|
||||||
|
map in both visual console views (edit & view)
|
||||||
|
|
||||||
2012-08-22 Miguel de Dios <miguel.dedios@artica.es>
|
2012-08-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/api.php: cleaned source code style.
|
* include/api.php: cleaned source code style.
|
||||||
|
@ -44,7 +44,7 @@ visual_map_editor_print_item_palette($visualConsole['id'], $background);
|
|||||||
|
|
||||||
echo '<div id="frame_view" style="width: 100%; height: 500px; overflow: scroll;">';
|
echo '<div id="frame_view" style="width: 100%; height: 500px; overflow: scroll;">';
|
||||||
echo '<div id="background" class="" style="
|
echo '<div id="background" class="" style="
|
||||||
border: 2px black solid; width: ' . $widthBackground . 'px; height: ' . $heightBackground . 'px;">';
|
margin: 0px auto;border: 2px black solid; width: ' . $widthBackground . 'px; height: ' . $heightBackground . 'px;">';
|
||||||
echo "<div id='background_grid'
|
echo "<div id='background_grid'
|
||||||
style='position: absolute; display: none; overflow: hidden;
|
style='position: absolute; display: none; overflow: hidden;
|
||||||
background: url(images/console/background/white_boxed.jpg);
|
background: url(images/console/background/white_boxed.jpg);
|
||||||
|
@ -774,7 +774,7 @@ function visual_map_print_visual_map ($id_layout, $show_links = true, $draw_line
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '<div id="layout_map"
|
echo '<div id="layout_map"
|
||||||
style="z-index: 0; position:relative; width:'.$mapWidth.'px; height:'.$mapHeight.'px;">';
|
style="margin:0px auto;text-align:center;z-index: 0; position:relative; width:'.$mapWidth.'px; height:'.$mapHeight.'px;">';
|
||||||
echo "<img src='" . $backgroundImage . "' width='100%' height='100%' />";
|
echo "<img src='" . $backgroundImage . "' width='100%' height='100%' />";
|
||||||
$layout_datas = db_get_all_rows_field_filter ('tlayout_data', 'id_layout', $id_layout);
|
$layout_datas = db_get_all_rows_field_filter ('tlayout_data', 'id_layout', $id_layout);
|
||||||
if (empty($layout_datas))
|
if (empty($layout_datas))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user