Commit graph

29 commits

Author SHA1 Message Date
Julian Stirling
cd6bcd196f Don't show buttons for ongoing scans. 2025-09-19 18:29:34 +01:00
Julian Stirling
2fd3a8f696 Split scan cards and scan list components 2025-09-19 17:17:07 +01:00
Julian Stirling
24e5749f50 Remove commented out CSS in scanListContent 2025-09-19 15:19:37 +01:00
jaknapper
7ac77c3e89 Stitch all scans button, and refresh scan tab when closing modals 2025-07-25 16:52:37 +01:00
Julian Stirling
9b78b4620d Fix disabled HTML button and apply code review suggestions for branch download-stitched-image
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-01 12:20:40 +01:00
jaknapper
ceefc83229 Better checking of whether we can stitch 2025-06-30 20:18:51 +01:00
jaknapper
987807ec3b Custom EndpointButton, Download logs using EndpointButton 2025-06-30 20:18:51 +01:00
jaknapper
ff43deae36 Download stitched image of scan (if present)
* Docstring for download stitch
* use global STITCH_SUFFIX
2025-06-30 20:18:48 +01:00
jaknapper
62065dc385 Add download stitch button to GUI 2025-06-30 20:17:15 +01:00
Julian Stirling
ad838e8643 Apply suggestions from code review of branch split-scan-dir-operations
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-30 17:25:58 +01:00
Julian Stirling
a6e48f8882 Update webapp to accept scan time as timestamp not ISO 8601 datestring 2025-06-29 23:17:17 +01:00
jaknapper
943564d206 Alert and warning message as CSS classes 2025-05-23 16:28:22 +01:00
jaknapper
e52dedf0fe Remove padding around viewer, warnings in orange, stitch button if no DZI 2025-05-23 16:28:22 +01:00
Joe Knapper
4f98e17b5f Only open preview from button or thumbnail, warn if no DZI available, recentre list 2025-05-23 16:28:22 +01:00
jaknapper
a9b94bc0d8 OpenSeadragon viewer implemented 2025-05-23 16:28:21 +01:00
jaknapper
747bc3d79a Narrower scan tabs 2025-05-14 11:17:44 +01:00
jaknapper
a5d85a7d9e Layout improvements and stitch info in scan tab 2025-05-13 17:08:43 +01:00
jaknapper
69260d1973 stitch available property, allowing GUI to only stitch when needed 2025-05-13 15:51:11 +01:00
jaknapper
666dced86d Update the GUI download links to point to new download_zip function 2025-05-07 20:21:03 +01:00
jaknapper
5bfadceeeb Pink icon for thumbnail placeholders 2025-04-23 16:13:47 +01:00
jaknapper
7617d31194 Errors raised as errors, not logs 2025-04-23 14:28:05 +01:00
jaknapper
91057f164a Thumbnails and accurate durations in scan-list tab 2025-04-22 19:02:29 +01:00
jaknapper
4fa2813e6a More spacing and nicer dark mode colours 2025-04-08 18:30:40 +01:00
Richard Bowman
cbd8b090ec Replace tasksubmitter with action-button
I've changed tasksubmitter to accept a "thing" and "action" rather than a single URL. This seems more in keeping with
propertyControl, and eliminates the need for loads of
computed properties.

I've also deleted (rather than just commenting out) chunks of the web app that are no longer in use. These may be
reinstated in the future - but we can get them from git
history. It's less confusing not to have vestigial
code in the repo.

This builds OK but is not, as yet, tested with hardware.
2024-02-29 21:44:39 +00:00
Joe Knapper
f2cfa9faf8 Working delete all and auto reload when deleting or opening tab 2024-02-21 17:45:39 +00:00
Richard Bowman
1b39f9d5c0 Add a button to stitch scans 2024-01-17 13:46:29 +00:00
Richard Bowman
50cf8e6f78 Generate zip files before download
Previously, zip files were only downloaded if they already
existed. Now, they are created with  an action, then
downloaded from the result.

Chrome now insists on downloading the files as `output.zip`, I can't see why this has changed, but perhaps it's related
to the security warning. This seems to be specific to zip files.
2024-01-17 13:16:41 +00:00
Richard Bowman
6b6946ec60 Cope with an empty scan list 2024-01-11 13:37:57 +00:00
Richard Bowman
858e99a47f Add a viewer for scans with delete and download buttons 2024-01-05 00:44:05 +00:00