Commit Graph

1 Commits (ae4fd18a891f9efe3fa2b0cd377f8cd23a42c723)

Author SHA1 Message Date
Alex P fa807492c4 Use a new interaction pattern and new styles for file upload
- Largely mimicking the pattern featured in Dropzone.js (I feel this is
a great pattern for file drag & drop)
- Got rid of the button for uploading, change copy to read “Drop a file
here or click to upload”
- Made entire file upload div clickable
- After a file has been uploaded:
  - Submit button has been moved inside the div
  - Added a “Cancel” button and method to reset the state of the modal
- Hover state of clickable area matches drag-over state
2017-08-17 17:00:22 -07:00