Replace Hypercane GUI's Download button
shawnmjones opened this issue · comments
Wooey has a confusing setup with respect to Downloads. We should replace the Download button with something that allows the user to download the file generated by the given action.
We can force a download rather than a browser render by adding the download
attribute to an a
tag. I'm not sure how to do this to a button, but I think the buttons in Wooey are largely decorative rather than true button
tags.
The download button in the template is here:
hypercane/hypercane-gui/templates/jobs/job_view.html
Lines 40 to 53 in 037031e
The issue with "order" was fixed as part of #43.
The issue with filter
has been fixed.
From a review at Monday's meeting, there is still an issue with the Download button for the report action.