Frances Botsford
6814163a45
cleanup and tweaks from feeback to PDF Textbooks FED and Sass
2013-07-09 19:16:44 -04:00
David Baumgold
fa62f48e57
Fix Jasmine test failures
2013-07-09 19:16:11 -04:00
David Baumgold
e7088d50fd
Display error message when trying to upload a non-PDF file as a PDF textbook
2013-07-09 19:16:11 -04:00
Frances Botsford
b41d23747a
PDF Textbooks: implemented "View Live" link
2013-07-09 19:16:09 -04:00
Frances Botsford
1b945dd6e8
changes to textbook upload buttons, success message and styling
2013-07-09 19:16:09 -04:00
David Baumgold
11c5c14998
Add error class to invalid fields on PDF textbooks form
2013-07-09 19:16:09 -04:00
Frances Botsford
2321a2c563
more updates to PDF textbook UI
2013-07-09 19:16:09 -04:00
David Baumgold
fedbf4585b
Prevent saving when textbook is in invalid state
2013-07-09 19:16:08 -04:00
David Baumgold
5836286fda
PDF textbooks: unified naming conventions
2013-07-09 19:16:06 -04:00
Brian Talbot
414c9d38b6
studio - revises plus icon treatment throughout new-button actions
2013-07-09 19:16:06 -04:00
David Baumgold
c2ef6a53f5
PDF textbook upload: show success message for 2 seconds following successful upload
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
4c1ea5aaac
PDF Textbook i18n
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
Frances Botsford
4b2eb79de9
revamp of textbook list html, stage 1
2013-07-09 19:16:04 -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
Frances Botsford
9b3b7f2deb
updated styling for new textbook form structure
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
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
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
Frances Botsford
e6a84f84b2
added icon to add a chapter button
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
cahrens
8fd15ce45d
Review feedback.
2013-05-30 14:13:10 -04:00
cahrens
5d41e2a952
Updates from code review.
2013-05-30 12:26:01 -04:00
cahrens
625c6b518c
Cleanup, change how we load templates.
2013-05-28 14:07:35 -04:00
David Baumgold
3cfadb8ae8
Migrated internationalization text into template for section name
2013-05-22 15:55:55 -04:00
Frances Botsford
4e79d064a0
removed symbolset, replaced with fontawesome for alerts, notifications, and all references in js files
2013-05-22 15:55:55 -04:00
David Baumgold
9e864834bd
Unify system feedback templates
...
Also, a SystemFeedback model no longer has a `type`, it has an `intent`. This is
because SystemFeedback views have `type`, as well, and this prevents a naming
collision.
2013-05-22 15:55:55 -04:00
David Baumgold
a0a71c0df2
Internationalization for JS
2013-05-22 15:55:53 -04:00
David Baumgold
4af3325976
Move display logic into view
...
Model shouldn't know about things like close buttons, visibility, and so on
2013-05-22 15:55:51 -04:00
David Baumgold
0c368011da
Move underscore templates into separate files, included in Mako templates
2013-05-22 15:55:50 -04:00