Rem: upload spinner.

attachmentGalery would need refactoring to an individual attachment
component with component state that could be set on the onUpdated event.

I'm not capable of doing this within reasonable time.
This commit is contained in:
David Arnold 2020-09-17 00:42:31 -05:00
parent b27a49a0a9
commit 6ce4501f1b
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08

View file

@ -20,13 +20,10 @@ template(name="attachmentsGalery")
each attachments
.attachment-item
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{name}}")
if isUploaded
if isImage
img.attachment-thumbnail-img(src="{{link}}")
else
span.attachment-thumbnail-ext= extension
if isImage
img.attachment-thumbnail-img(src="{{link}}")
else
+spinner
span.attachment-thumbnail-ext= extension
p.attachment-details
= name
span.attachment-details-actions