summary refs log tree commit diff stats
path: root/templates/gallery.crotmp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gallery.crotmp')
-rw-r--r--templates/gallery.crotmp8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/gallery.crotmp b/templates/gallery.crotmp
index 6afef0a..6aead73 100644
--- a/templates/gallery.crotmp
+++ b/templates/gallery.crotmp
@@ -1,5 +1,13 @@
 <:use 'templates/base.crotmp'>
   <|page(.title)>
+    <div id="loading">
+      <label for="loading-progress">Loading Images:</label>
+      <progress id="loading-progress" max="100" value="0"></progress>
+    </div>
+    <div id="loading-error" class="alert" role="alert">
+      <span id="loading-error-text"></span>
+      <button id="loading-error-dismiss">Dismiss</button>
+    </div>
     <div id="gallery">
       <@gallery : $i>
         <?{ $i.<type> eq 'img' }>