issue114, pimp AJAX-loading notification
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 30 Mar 2008 07:52:53 +0000 (09:52 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 30 Mar 2008 07:53:40 +0000 (09:53 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
CHANGELOG
resources/loading.gif [new file with mode: 0644]
themes/default/stylesheet.css
themes/default/templates/index.tpl

index e226e78275ac27e502400379d67b35cf8820132f..8de2e0b4b322a2303de82fd15e0fb39f897fc556 100644 (file)
--- 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 <unki@netshadow.at>  Sat, 29 Mar 2008 11:00:00 +0100
 
diff --git a/resources/loading.gif b/resources/loading.gif
new file mode 100644 (file)
index 0000000..f864d5f
Binary files /dev/null and b/resources/loading.gif differ
index ebe989261722199f531041d801ada9c5a46df3b7..4a127e8c50492fed1d0097a41d5d4e1540d92002 100644 (file)
@@ -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;
index be8ba6c55f7304842109b55ba96f2895ffc4775a..0bd7a7bbd042352a18c438b2dc1922eaef3d67a9 100644 (file)
@@ -1,6 +1,12 @@
 {include file="header.tpl"}
  <body onload="init_phpfspot();">
  
+  <!-- loading -->
+
+  <div id="HTML_AJAX_LOADING">
+   <img src="resources/loading.gif" style="vertical-align: middle;" />&nbsp;&nbsp;Loading...
+  </div>
+
   <!-- top menu -->
 
   <div class="menu">