Commit Graph

980 Commits

Author SHA1 Message Date
David Baumgold
e8b79dc696 PDF textbooks only accept PDF files
All other file types will trigger a validation error
2013-07-09 19:16:05 -04:00
Frances Botsford
4b2eb79de9 revamp of textbook list html, stage 1 2013-07-09 19:16:04 -04:00
David Baumgold
40098f6593 renamed textbooks.js to textbook.js 2013-07-09 19:16:03 -04:00
David Baumgold
9af447de97 Moved Backbone models/views out to separate files for pdf textbooks project 2013-07-09 19:16:03 -04:00
David Baumgold
14be4310c3 Add confirmation step for deleting a textbook 2013-07-09 19:16:02 -04:00
David Baumgold
9de2dc51ec Can't add new textbook if the currently-editing textbook is empty 2013-07-09 19:16:02 -04:00
David Baumgold
c0b00f7dd5 persist textbook deletions to the server 2013-07-09 19:16:02 -04:00
David Baumgold
486bacede4 Clean up HTML structure in textbooks page 2013-07-09 19:16:02 -04:00
David Baumgold
64adb62d48 make sure to save textbook name when it changes 2013-07-09 19:16:02 -04:00
David Baumgold
ce26d52420 set order attribute on chapters from server 2013-07-09 19:16:02 -04:00
David Baumgold
f6ee5cf680 rename view.save() to view.setValues()
to make it clearer that it doesn't persist values to the server
2013-07-09 19:16:02 -04:00
David Baumgold
6a3360cefa Full front-end/back-end connection via Backbone.sync. No data validation whatsoever. 2013-07-09 19:16:02 -04:00
David Baumgold
22a7735ae2 Added parse functions to handle backend representation of textbooks 2013-07-09 19:16:01 -04:00
David Baumgold
9e5df7e28a Integrated PDF textbooks with Backbone Associations 2013-07-09 19:16:01 -04:00
Frances Botsford
14776df874 moved textbooks page to two columns 2013-07-09 19:16:01 -04:00
Frances Botsford
9b3b7f2deb updated styling for new textbook form structure 2013-07-09 19:16:01 -04:00
David Baumgold
e607bc70ad Pull assets into Mako template for PDF textbooks 2013-07-09 19:16:01 -04:00
David Baumgold
19d65f81a4 Toggle show/hide chapters in textbook show view 2013-07-09 19:16:01 -04:00
David Baumgold
22e325af86 Show chapter asset path properly in textbook show view 2013-07-09 19:16:01 -04:00
David Baumgold
7f2b82c49b Display edit view inline on textbooks page 2013-07-09 19:16:00 -04:00
David Baumgold
6bad53512f Save chapter info when a new chapter is added to a textbook 2013-07-09 19:16:00 -04:00
David Baumgold
ee1158f89e Set up PDF textbooks list view in Backbone 2013-07-09 19:16:00 -04:00
Frances Botsford
574c8ad48d more form styling for textbook upload and first rough pass at file uploader 2013-07-09 19:16:00 -04:00
David Baumgold
aa1fbbbc99 Remove page blur on successful upload 2013-07-09 19:16:00 -04:00
David Baumgold
f198b7e297 Clean up Backbone view logic 2013-07-09 19:16:00 -04:00
Frances Botsford
109ccf6c5d initial html, sass, and js for textbook uploader; added alternate upload CTA in content area 2013-07-09 19:16:00 -04:00
David Baumgold
2832233eb9 Better handling for chapter upload error 2013-07-09 19:15:59 -04:00
Frances Botsford
e6a84f84b2 added icon to add a chapter button 2013-07-09 19:15:59 -04:00
Frances Botsford
0192b509ce replaced main-wrapper with wrapper-content wrapper for main content to align better 2013-07-09 19:15:59 -04:00
Frances Botsford
e237cdca84 round 2 on html and sass for textbook upload 2013-07-09 19:15:59 -04:00
David Baumgold
e0eec89e09 Truncate AJAX error messages in notification 2013-07-09 19:15:59 -04:00
Frances Botsford
9d59a1313c initial html and sass for textbook upload 2013-07-09 19:15:59 -04:00
David Baumgold
2d13325baf Move underscore templates out into separate files 2013-07-09 19:15:59 -04:00
David Baumgold
e7a937fb16 Always display chapter close button 2013-07-09 19:15:58 -04:00
David Baumgold
a84f66cd51 Pass asset upload URL to Javascript 2013-07-09 19:15:58 -04:00
David Baumgold
ace8914a53 Set up Backbone models/views to construct logic of adding textbooks/chapters 2013-07-09 19:15:58 -04:00
David Baumgold
6472051adc Increased the awesomeness of the textbook filler page by a factor of 12.8 2013-07-09 19:15:58 -04:00
David Baumgold
3d61c6294c Stubbed out textbooks index page 2013-07-09 19:15:58 -04:00
Brian Talbot
3c2c2fb473 studio - syncs up page subtitle labels with new main nav 2013-07-02 00:33:06 -04:00
Brian Talbot
391ebb7d93 studio - removes Studio Help from account-based nav 2013-07-02 00:11:25 -04:00
Brian Talbot
251e775659 studio - makes course org/number/name block an entire link 2013-07-02 00:10:18 -04:00
Brian Talbot
2a5c55189e studio - plans for/truncates long usernames in main nav 2013-07-01 18:46:12 -04:00
Brian Talbot
41fa73b695 studio - wraps nav elements in floated containers for easier layout 2013-07-01 17:32:18 -04:00
Brian Talbot
d592348a07 studio - abstracts and animates main nav dropdown icons 2013-07-01 17:32:17 -04:00
Brian Talbot
2a04eeec46 studio - revises studio nav visually and adds help links 2013-07-01 17:32:16 -04:00
Brian Talbot
51f96ad77c studio - revises button styling/states for primary nav 2013-07-01 17:32:16 -04:00
Brian Talbot
f98f500c6f studio - sets initial studio nav revisions (WIP) 2013-07-01 17:32:16 -04:00
Don Mitchell
3188bb0645 WIP: Use approximate comparison when checking for changes to start dates 2013-07-01 12:31:35 -04:00
Don Mitchell
b985a7f128 Remove unused template 2013-06-26 14:19:34 -04:00
Don Mitchell
8b23eeca7e Minor pylint/whitespace changes 2013-06-25 22:34:29 -04:00