summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-03-30 09:52:53 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-03-30 09:53:40 +0200
commitfb7df61d1e9b77181a69169311133df355e66eea (patch)
treef93a73c486d6d6be2ac079e5544b03a50c32543c
parentadf40044e9d1bce2b19d6602637bbb608412fcd9 (diff)
issue114, pimp AJAX-loading notification
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--CHANGELOG1
-rw-r--r--resources/loading.gifbin0 -> 2767 bytes
-rw-r--r--themes/default/stylesheet.css9
-rw-r--r--themes/default/templates/index.tpl6
4 files changed, 16 insertions, 0 deletions
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 <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
index 0000000..f864d5f
--- /dev/null
+++ b/resources/loading.gif
Binary files differ
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"}
<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">