diff options
Diffstat (limited to 'templates/partials')
| -rw-r--r-- | templates/partials/empty-files.html | 5 | ||||
| -rw-r--r-- | templates/partials/empty-gallery.html | 5 | ||||
| -rw-r--r-- | templates/partials/file-row.html | 9 | ||||
| -rw-r--r-- | templates/partials/gallery-item.html | 9 |
4 files changed, 28 insertions, 0 deletions
diff --git a/templates/partials/empty-files.html b/templates/partials/empty-files.html new file mode 100644 index 0000000..29f9ca1 --- /dev/null +++ b/templates/partials/empty-files.html @@ -0,0 +1,5 @@ +<div style="text-align: center; padding: 60px 20px; color: #666;"> + <div style="font-size: 64px; margin-bottom: 20px;">📭</div> + <h3>No files uploaded yet</h3> + <p>Upload some files to see them here!</p> +</div> diff --git a/templates/partials/empty-gallery.html b/templates/partials/empty-gallery.html new file mode 100644 index 0000000..dcafdc0 --- /dev/null +++ b/templates/partials/empty-gallery.html @@ -0,0 +1,5 @@ +<div style="text-align: center; padding: 60px 20px; color: #666;"> + <div style="font-size: 64px; margin-bottom: 20px;">🖼️</div> + <h3>No images or videos yet</h3> + <p>Upload some media files to see them here!</p> +</div> diff --git a/templates/partials/file-row.html b/templates/partials/file-row.html new file mode 100644 index 0000000..75ce50e --- /dev/null +++ b/templates/partials/file-row.html @@ -0,0 +1,9 @@ +<tr> + <td><a href="/download/{{encoded-name}}" target="_blank">{{filename}}</a></td> + <td>{{size}}</td> + <td>{{uploaded}}</td> + <td> + {{view-button}} + <a href="/download/{{encoded-name}}" download class="button">Download</a> + </td> +</tr> diff --git a/templates/partials/gallery-item.html b/templates/partials/gallery-item.html new file mode 100644 index 0000000..8694791 --- /dev/null +++ b/templates/partials/gallery-item.html @@ -0,0 +1,9 @@ +<div class="gallery-item" data-index="{{index}}"> + <a href="#" onclick="openSlideshow({{index}}); return false;"> + {{media}} + </a> + <div class="gallery-info"> + <div class="gallery-filename" title="{{filename}}">{{filename}}</div> + <div class="gallery-meta">{{size}} • {{uploaded}}</div> + </div> +</div> |
