aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/index.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-01-14 23:15:34 +0000
committerflop25 <flop25@piwigo.org>2013-01-14 23:15:34 +0000
commita6f55ac0381a81c6abf79bb2ed8617b6d50ed2aa (patch)
tree491cf9c9b254fde48fd4ce97e1819bbc61833a29 /themes/default/template/index.tpl
parent0b702326567d90e796caac72c7d7a5449037b1b6 (diff)
bug:2820 & bug:2684
add $conf['maxRequests'] perf enhanced : declare once {combine_script} add one loading gif, fixed at the bottom right of the page display an icon for picture loading, and an error icon if ajax failed : might need to be integrated in sprite.png ToDo picture page/clean up unused loader gif/sleep above all. git-svn-id: http://piwigo.org/svn/trunk@20161 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/index.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl
index aa92a215f..e6874567e 100644
--- a/themes/default/template/index.tpl
+++ b/themes/default/template/index.tpl
@@ -171,8 +171,9 @@ jQuery("#derivativeSwitchBox").on("mouseleave", function() {
{/if}
{if !empty($THUMBNAILS)}
+<div class="loader" style="display: none; position: fixed; right: 0;bottom: 0;"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
<ul class="thumbnails" id="thumbnails">
-{$THUMBNAILS}
+ {$THUMBNAILS}
</ul>
{/if}
{if !empty($thumb_navbar)}