Commit Graph

1238 Commits

Author SHA1 Message Date
David Baumgold
cae5c324a6 modifications to Backbone textbook structure
Textbooks now have an empty chapterset by default, instead of one with one empty
chapter. The TextbookEdit view dynamically adds an empty chapter if the chapterset
is empty; the close button removes all empty chapters from the chapterset.
2013-07-09 19:16:06 -04:00
Frances Botsford
27f2339537 additional refinements to PDF textbooks, including making the edit buttons work again 2013-07-09 19:16:06 -04:00
David Baumgold
7b02932fea Add tests for CMS.Views.ChapterEdit, save content before opening upload dialog 2013-07-09 19:16:06 -04:00
Frances Botsford
947a4ee714 adding some finesse to the PDF textbooks page 2013-07-09 19:16:05 -04:00
Frances Botsford
e059060cf3 updated textbook page html and sass, and added basic styling for error on wrong file type 2013-07-09 19:16:05 -04:00
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
David Baumgold
77db1f8a5a Fixups and test fixes post-rebase 2013-07-09 19:16:04 -04:00
Frances Botsford
4b2eb79de9 revamp of textbook list html, stage 1 2013-07-09 19:16:04 -04:00
David Baumgold
c59d515cdf Added unit tests for file upload widget 2013-07-09 19:16:04 -04:00
David Baumgold
7bb86b6cd2 Fix showSpies and editSpies resetting in tests 2013-07-09 19:16:04 -04:00
David Baumgold
27398a5c6f Added tests for CMS.Views.ListTextbooks 2013-07-09 19:16:04 -04:00
David Baumgold
8ba21ca34a More backbone view tests 2013-07-09 19:16:04 -04:00
David Baumgold
3f0efe70cf Added jasmine-stealth library, v0.0.12 2013-07-09 19:16:03 -04:00
David Baumgold
8227a8c3db Started adding tests for textbook backbone views 2013-07-09 19:16:03 -04:00
David Baumgold
609c299f48 Finished backbone model tests for textbooks 2013-07-09 19:16:03 -04:00
David Baumgold
207453a37c Further basic tests for Backbone models 2013-07-09 19:16:03 -04:00
David Baumgold
001cd5d004 First few unit tests 2013-07-09 19:16:03 -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
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
Frances Botsford
574c8ad48d more form styling for textbook upload and first rough pass at file uploader 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
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
ace8914a53 Set up Backbone models/views to construct logic of adding textbooks/chapters 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
2fca2d3887 Merge pull request #299 from edx/talbs/studio-helpnav
Studio - Help Links Addition and Small UI Revisions to Main Navigation
2013-07-02 10:58:56 -07:00
Brian Talbot
83ce18e69b studio - truncates longer course settings sharing urls 2013-07-02 00:51:20 -04:00
Brian Talbot
b560f43449 studio - removes unused previous value 2013-07-02 00:36:41 -04:00
Brian Talbot
c89c409cda studio - syncs up blue background/border of tender widget 2013-07-02 00:27:01 -04:00
Brian Talbot
f06f0b7a20 studio - revises edX base color 2013-07-02 00:26:36 -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
1e5fa875dd studio - syncs up Sass variable with edX's official blue 2013-07-01 17:32:18 -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
beaa597901 studio - replaces flex-grid based widths with % for main nav 2013-07-01 17:32:17 -04:00
Brian Talbot
20c8dcd415 studio - removing unused/needed studio logos 2013-07-01 17:32:17 -04:00
Brian Talbot
690f0f4739 studio - removing reference to old edX Studio logo on index view 2013-07-01 17:32:17 -04:00
Brian Talbot
628874df54 studio - makes course org/number visually inline in main nav 2013-07-01 17:32:17 -04:00
Brian Talbot
d592348a07 studio - abstracts and animates main nav dropdown icons 2013-07-01 17:32:17 -04:00
Brian Talbot
ab0cada683 studio - revises main nav dropdown jquery selectors 2013-07-01 17:32:16 -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
33d0302f22 studio - proofs nav's flex grid widths/alignment 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
David Baumgold
7824b8c8f2 Fix coffeescript issue on Linux
On Linux, coffeescript refuses to compile unless the `catch` keyword has an error
variable to bind to. On Mac, it works just fine either way. Go figure.
2013-07-01 15:09:41 -04:00
David Baumgold
1fee805c9a Adjust indentation to make coffeescript happy 2013-07-01 15:09:41 -04:00
David Baumgold
8bfcbb6675 Make notifyOnError handler try to parse response as JSON 2013-07-01 15:09:41 -04:00