Commit Graph

1 Commits (d055b3391b9763956cb445b7868d39746c6d62ca)

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