Moved HTML code for RTF upload pop-up into separate file, templates/popupUploadFile.html
A crude version of file uploader that simply sends a file to server. The only thing it can do is to get a file and send it immediately.
Separated pop-ups for file and image uploads. Now buttons work as they should.
Model is ready. It looks bad, but it does what is required. Yet.
When it says 'uploading', it has most likely already done it.
Now the 'Uploading...' in pop-up is replaced with 'Upload done' after the
image is, well, uploaded.
1. Cosmetic changes in popupFileUpload.html - moved all the buttons to
one column. Same in popupImgUpload.html
2. Removed 'Cancel upload' button from popupImgUpload.html
3. Implemented 'Upload all' button in the same file (via simple .each() loop).
Added primitive status to file uploading pop-up: 'uploading',
'upload done' and 'upload cancelled'.
Finally figured out how adding works! I'm making this commit just in case I have to erase everything I've done and start from scratch.
Crude version of upload form - with progress bar and button. Needs some cosmetic polishing, but can already be used.
Almost finished file upload interface. Problem with sizes. Rest is working.
Added normal margin, normal 'cancel' button, fixed width.
Fixed overflow issue.
Implemented image showing on the page. Also fixed a bug in text editor which was making multiple requests - moved listener to initializer.
Added views for TImage. Now images are added to gallery via them.
Finally built REST architecture. Changed a few names in models so that models on server and client had same set of fields. RIGHT NOW IMAGES ARE DELETED BY CLICKING ON THEM. IT SHOULD BE CHANGED.
Applied Modal from Bootstrap for pop-ups.
Issue #26
Renamed pop-up files according to JS style guide.
Issue #27
Moved templates from .js files to .html files.
Issue #24
Rewrote collection display. Used collection view. Now it works automatically.
Issue #25
Issue #23
Clean up.
Task #27