From 89597e7e703dddef8a2379f822772f9fd205d03b Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 6 Jan 2011 23:43:26 -0800 Subject: [PATCH] Add a spinner to the dialog when loading the iframe so that it's not just a blank dialog. Create separate CSS for dialog vs. frame. Don't show the Loading message for the first load. --- modules/organize/css/organize_dialog.css | 17 +++++++++++++++++ .../css/{organize.css => organize_frame.css} | 0 .../vendor/ext/images/default/tree/leaf.gif | Bin 945 -> 0 bytes .../organize/views/organize_dialog.html.php | 14 +++++++------- modules/organize/views/organize_frame.html.php | 13 +++++++++++-- 5 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 modules/organize/css/organize_dialog.css rename modules/organize/css/{organize.css => organize_frame.css} (100%) delete mode 100644 modules/organize/vendor/ext/images/default/tree/leaf.gif diff --git a/modules/organize/css/organize_dialog.css b/modules/organize/css/organize_dialog.css new file mode 100644 index 00000000..2b39cdf4 --- /dev/null +++ b/modules/organize/css/organize_dialog.css @@ -0,0 +1,17 @@ +#g-organize-frame { + border: 0px; + width: 100%; + height: 100%; +} + +#g-organize-app-loading { + display: block; + position: absolute; + top: 50%; + left: 50%; + width: 16px; + height: 16px; + background-image: url(../vendor/ext/images/default/tree/loading.gif); + background-position: center center; + background-repeat: no-repeat; +} diff --git a/modules/organize/css/organize.css b/modules/organize/css/organize_frame.css similarity index 100% rename from modules/organize/css/organize.css rename to modules/organize/css/organize_frame.css diff --git a/modules/organize/vendor/ext/images/default/tree/leaf.gif b/modules/organize/vendor/ext/images/default/tree/leaf.gif deleted file mode 100644 index 445769d3f863fff85bf8dae9e50ca2fbdd2d580f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 945 zcmZ?wbhEHb6krfwXlDQcQ_o~GuN3{H6Nag0EsGx6l|6PSd+b*I#H;qP!+!_A#wTHI zPb1o&CiOkbneseu`t#JOpR;CuEt~zKYW~Z@xnJuSzARt#t#2GZdv-WZP}~tRj*oB|LorIYr@vw({}!uwfFDhO(&LbJ2U^lzeR`sUwH800T8|T z00#d*{P_PLi2nZvyK9sf4FQ^mfZ|UUW(Ec>1|5)1pgh6A(Z?XlA>*-O!NF!$M-7&b z2M@Kd^GWGABrIrf5YP;mqG0Ic!oef1<ENsed*j@4Yk?RR_1qN#Xfm)wA diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php index 7bff576d..a386fa77 100644 --- a/modules/organize/views/organize_dialog.html.php +++ b/modules/organize/views/organize_dialog.html.php @@ -1,11 +1,5 @@ - +" /> +
 
+ diff --git a/modules/organize/views/organize_frame.html.php b/modules/organize/views/organize_frame.html.php index 16f78603..cdbf3be7 100644 --- a/modules/organize/views/organize_frame.html.php +++ b/modules/organize/views/organize_frame.html.php @@ -1,7 +1,7 @@ " /> " /> -" /> +" />