diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-21 18:14:19 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-21 18:21:31 +0300 |
commit | 558186a025ee6585d6f5016f933bc1f700fb57ee (patch) | |
tree | dc9fc08fd65a9900ae79bd34bef9cb21c31936bd /templates | |
parent | b6012f21760783c19cc1c5c7b645a19be9d500db (diff) |
Fix spinners for themes
Spinners come in many forms and CSS spinners can't be applied as a background property like GIFs, which means that they need their own DIV
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.php | 6 | ||||
-rw-r--r-- | templates/public.php | 6 | ||||
-rw-r--r-- | templates/slideshow.php | 7 |
3 files changed, 15 insertions, 4 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index 5fb3a79e..7703712a 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -82,9 +82,13 @@ style( image_path('core', 'actions/info.svg') ); ?>" alt="<?php p($l->t('Album information')); ?>"/> </div> - <div class="album-info-content markdown-body"></div> + <div class="album-info-container"> + <div class="album-info-loader"></div> + <div class="album-info-content markdown-body"></div> + </div> <!-- button for opening the current album as file list --> <div id="filelist-button" class="button view-switcher gallery"> + <div id="button-loading"></div> <img class="svg" src="<?php print_unescaped( image_path('core', 'actions/toggle-filelist.svg') ); ?>" alt="<?php p($l->t('File list')); ?>"/> diff --git a/templates/public.php b/templates/public.php index 608b00bd..57fb4ca9 100644 --- a/templates/public.php +++ b/templates/public.php @@ -133,9 +133,13 @@ style( image_path('core', 'actions/info.svg') ); ?>" alt="<?php p($l->t('Album information')); ?>"/> </div> - <div class="album-info-content markdown-body"></div> + <div class="album-info-container"> + <div class="album-info-loader"></div> + <div class="album-info-content markdown-body"></div> + </div> <!-- toggle for opening the current album as file list --> <div id="filelist-button" class="button view-switcher gallery"> + <div id="button-loading"></div> <img class="svg" src="<?php print_unescaped( image_path('core', 'actions/toggle-filelist.svg') ); ?>" alt="<?php p($l->t('Picture view')); ?>"/> diff --git a/templates/slideshow.php b/templates/slideshow.php index 52c00a55..29b76d6a 100644 --- a/templates/slideshow.php +++ b/templates/slideshow.php @@ -1,4 +1,5 @@ -<div id="slideshow" class="icon-loading-dark"> +<div id="slideshow"> + <div class="icon-loading-dark"></div> <input type="button" class="svg next icon-view-next"/> <input type="button" class="svg play icon-view-play"/> <input type="button" class="svg pause icon-view-pause hidden"/> @@ -11,7 +12,9 @@ class="menuItem svg changeBackground icon-view-toggle-background hidden"/> </div> <div class="progress icon-view-pause"/> - <div class="name"><div class="title"></div></div> + <div class="name"> + <div class="title"></div> + </div> <div class="notification"></div> <div class="bigshotContainer"></div> </div> |