diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 96daefcd1a..aa6de0a08b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,4 +1,12 @@ -2008-07-04 Esteban Sanchez +2008-07-04 Esteban Sanchez + + * operation/reporting/reporting_viewer.php: Added a loading div that + appears while the page is loading and dissapear once it's completed. + + * include/styles/pandora.css, include/styles/pandora_minimal.css, + include/styles/pandora_width.css: Added style to loading div. + +2008-07-04 Esteban Sanchez * operation/reporting/reporting_viewer.php: Fixed error when showing final SLA result. diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 7c0c2d1dbd..3f8d63261f 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -730,3 +730,12 @@ div#main_pure { .img_help { cursor: help; } +#loading { + position:fixed; + width: 200px; + margin-left: 250px; + text-align:center; + top:300px; + background-color: #999999; + padding: 20px; +} diff --git a/pandora_console/include/styles/pandora_minimal.css b/pandora_console/include/styles/pandora_minimal.css index 99049eb56b..1c281f95a1 100644 --- a/pandora_console/include/styles/pandora_minimal.css +++ b/pandora_console/include/styles/pandora_minimal.css @@ -94,3 +94,12 @@ table, img { -moz-opacity: 0.90; opacity: 0.90; } +#loading { + position:fixed; + width: 200px; + margin-left: 35%; + text-align:center; + top:300px; + background-color: #999999; + padding: 20px; +} diff --git a/pandora_console/include/styles/pandora_width.css b/pandora_console/include/styles/pandora_width.css index 962705b9a0..d6fbbbc8c6 100644 --- a/pandora_console/include/styles/pandora_width.css +++ b/pandora_console/include/styles/pandora_width.css @@ -719,3 +719,12 @@ div#main_pure { .img_help { cursor: help; } +#loading { + position:fixed; + width: 200px; + margin-left: 35%; + text-align:center; + top:300px; + background-color: #999999; + padding: 20px; +} diff --git a/pandora_console/operation/reporting/reporting_viewer.php b/pandora_console/operation/reporting/reporting_viewer.php index 8ce849ee55..f84fe9b505 100644 --- a/pandora_console/operation/reporting/reporting_viewer.php +++ b/pandora_console/operation/reporting/reporting_viewer.php @@ -79,6 +79,11 @@ print_table ($table); print_input_hidden ('id_report', $id_report); echo ''; +echo '
'; +echo '
'; +echo ''.lang_string ('Loading').'...'; +echo '
'; + /* We must add javascript here. Otherwise, the date picker won't work if the date is not correct because php is returning. */ ?> @@ -93,7 +98,9 @@ echo '';