From fb7df61d1e9b77181a69169311133df355e66eea Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 30 Mar 2008 09:52:53 +0200 Subject: [PATCH] issue114, pimp AJAX-loading notification Signed-off-by: Andreas Unterkircher --- CHANGELOG | 1 + resources/loading.gif | Bin 0 -> 2767 bytes themes/default/stylesheet.css | 9 +++++++++ themes/default/templates/index.tpl | 6 ++++++ 4 files changed, 16 insertions(+) create mode 100644 resources/loading.gif diff --git a/CHANGELOG b/CHANGELOG index e226e78..8de2e0b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,7 @@ phpfspot (1.4) * feature, lightbox2 for photo preview out of the photo index. * feature, a bit more color for tag-cloud. * bug, SQlite temporary directory can now be set in phpfspot_cfg.php + * bug, modify AJAX-loading notification. Standard HTML_AJAX is getting overlayed. -- Andreas Unterkircher Sat, 29 Mar 2008 11:00:00 +0100 diff --git a/resources/loading.gif b/resources/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..f864d5fd38b7466c76b5a36dc0e3e9455c0126e2 GIT binary patch literal 2767 zcmeH``%_bA0*1eHPVNawNVtR;Fkp-nQj8edfS`v<5L7TgR6wi;WfgH-0}4fE+c_uU zB6tf6auF}FAcDdgg|bMU&H)LR5jARM!8$tuwd$nHqS?K-=JNZ+yGvz=Iegxp{+qWGZ9j{-%9vvN>n3$NJp6==CAqYaF(LfM1Z{EEA{{Gt9 z+Ba|B7z_sR+xabl|E~mm-*OXmhLq??y)HONjX>1ze1D?RIn=G1`RR-%fb}zgSh6^a z(}Zw20U1L^Cs9UcyJfc+al#}J2xVlYUoR{`gd&QDxAb1w4>I~5gc?ccq(G+T!I;H};U_uyHR0@hr>Qk1P1=6fvUBhR zb|&^^cEQtu&W}=-=YR7o5UI)AD*~%J7bkVd5`xrdw{bHm;|Bf^_|FG$9l}`ruhnVF zO%=6X*I#yro*pmfB;-A0cVjz73Qy)`oa=df_3Bx6!M3TNALf9BwI*di`jhdovR(I= zFT31zui1Xw??+Ym-lWNq=V6~8tt012$@*hy3So0QNJ#eIJ4Yh{qJ+aTY>ng8W1p4BrwB_>i7AY-xmGrA}hAeq`aX(yx~=c&|=$w&*&PpKd;G@@0oXK@D0x=;tyY&Eb|HKPsM z71v`PO)na3pfO*xUD8Z|CQju)c+RSAH=5V^4vb9Q2JwHwt|-INt|!nD?AlRxF5ZT8 zaA9~hGb$~rMhQh_0+31$tkzyLi>X3c7>F!|Jyn`+5{LG=E`sIQbHA8!=`uday6D6Y zNtVL?j^`6A%UuwO!`}j#s~H?w=P<5}Z2)*PPx|5q$MM+1K6_d_cie9JVArbrB2sRy zOl**1Mc+|zLM>munG#O|##RApuODr^1+pL-?SHX+D6Dz_@%-Oo(fM&hHYZ-jWU5jf z&nBYG;>F6&Y`veoLdZ@0WyrDsuXOP)9g*C`A(+R`Ryc2+9w_DJNaf@Dzg?~N{uI_} zjV(!yygvrGv#KF*Mt{6H^v1Ve=hQyF2^E~bd#&iZg;(%dS^nM;oGSF1Y^&rY}Ian zFrp%SBGPyN{Z?t%Mo#!qgLQ2)k{>KAv?=zezKN*qPRf>^4QjcWgyxiC}7Vb6vGrBLR(1J&B%*gb{`!Jljb^2%jB$ zFBNUHANC6Q?0~M}cVtgk_;_DAB-BE?2dP z(C9OIXza3Ao-@UyqX%`5cjg#cHl!uHq;&?~JO{eE+A2KSSD)s8v&CiV$kV$A=DG@i z;6JY7z*8oPdj@bbJQoTAENW#ls(ucbGA#yhN>zbWqBTbLl>rGqOAY+` z=psSt8VQE=9+X8^$l@oeDzRvja79ry3nvLcOR7+)bIFyJVoz4}URM-47_u>V zY*^e(o`?|l++*Y0uQ#&dKapW1o?J{jx+*_gKV^cW+W87KI7hZ5viXv$$=1IR^Z~yA XWBrHU7iSEP8X8hQyAJO{V6g1pwSv80 literal 0 HcmV?d00001 diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index ebe9892..4a127e8 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -163,6 +163,15 @@ div.thumb a.thumblink:hover { margin-right: 20px; } +#HTML_AJAX_LOADING { + position: fixed; + z-index: 1000; + top: 80px; + right: 10px; + background-color: #ffffff; + padding: 10px; +} + #available_tags,#selected_tags { clip: auto; overflow: auto; diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl index be8ba6c..0bd7a7b 100644 --- a/themes/default/templates/index.tpl +++ b/themes/default/templates/index.tpl @@ -1,6 +1,12 @@ {include file="header.tpl"} + + +
+   Loading... +
+