Commit Graph

215 Commits

Author SHA1 Message Date
David Baumgold
b32f2bc170 MITX_ROOT_URL => EDX_ROOT_URL 2013-12-04 12:59:35 -05:00
Brian Talbot
722ddb62d3 Studio: resolves IE notifications display issue and abstracts CSS to avoid IE selector/rule limit
STUD-815
2013-11-12 13:00:22 -05:00
David Baumgold
e1c94888e4 If the YouTube API JS fails to load, the rest of the JS should still run
Fixes BLD-472
2013-11-05 10:22:01 -05:00
Brian Talbot
b7594142fc Studio: adds in specific older IE support area into Sass/CSS architecture 2013-10-26 21:26:53 -04:00
Brian Talbot
95dd21738c Studio: revises CSS reference/pipeline architecture for better organization, reduced redundancy, and to handle IE9 selector limits 2013-10-26 21:26:53 -04:00
thedeadparrot
19129e6081 Add masked input back into RequireJS 2013-10-24 19:50:56 -04:00
Brian Talbot
de12777555 simplifying semantic and stylistic properties of skip nav UI 2013-10-24 17:12:40 -04:00
Diana Huang
43bdb5da54 Minor fixes to match new HTML and CSS updates.
LMS-1311
2013-10-24 17:12:20 -04:00
Brian Talbot
5b63b176da revises semantics and Sass used for skip navigation 2013-10-24 17:12:19 -04:00
Diana Huang
d34c4a66c7 Add skip links to both CMS and LMS
* add HTML for links
* hide links when they are not focused
* when focused, show link (as recommended)
* move accessibility tools to common

LMS-1311
2013-10-24 17:10:33 -04:00
polesye
9dd6c56f9f Add isoTime js view. 2013-10-23 13:00:36 +03:00
Anton Stupak
aecc20af6b Add Timed Transcripts Editor. 2013-10-22 21:45:03 +03:00
David Baumgold
68f6aa8c98 Merge pull request #1404 from edx/db/requirejs-configure-mathjax
Configure MathJax using require.js
2013-10-21 07:33:08 -07:00
Calen Pennington
12cc4a19c0 Merge pull request #1224 from cpennington/lms-xblock-js-execution
Add an XBlock javascript runtime, and use it to run XModules
2013-10-21 05:53:36 -07:00
Calen Pennington
ce6fbae693 Add an XBlock javascript runtime, and use it to run XModules
[LMS-57]
2013-10-18 16:31:32 -04:00
David Baumgold
97941530e3 Configure MathJax using require.js 2013-10-18 13:31:51 -04:00
David Baumgold
76e6f8bc0d Fix up Tender load order
So that tender_widget.js loads after we've defined window.Tender
2013-10-16 17:25:58 -04:00
David Baumgold
40e540284f wait to load video module until YT API is ready 2013-10-16 13:28:28 +03:00
David Baumgold
eec7118f2b enable tender
This reverts commit 96485694d3.
2013-10-15 14:19:26 -04:00
cahrens
6a7b88df4d Move sock JS code into its own file. 2013-10-15 12:59:22 -04:00
David Baumgold
96485694d3 disable tender
because their Javascript breaks our page
2013-10-15 10:25:48 -04:00
David Baumgold
1007f5aeb4 load gettext on every page 2013-10-11 17:11:59 -04:00
David Baumgold
3e9c09e097 Ensure that jQuery loads before any other JS dependency 2013-10-10 14:27:29 -04:00
David Baumgold
7a24188ca6 Merge pull request #1278 from edx/db/increase-requirejs-timeout
Increase requirejs load timeout to 60 seconds
2013-10-10 09:37:39 -07:00
David Baumgold
7f783da16c Increase requirejs load timeout to 60 seconds 2013-10-09 11:53:37 -04:00
David Baumgold
61c25fa6ee load common libs via require
using requirejs config to define deps
2013-10-09 11:38:14 -04:00
David Baumgold
f1a104754e load jquery in requirejs deps 2013-10-08 11:40:42 -04:00
cahrens
61cfb91218 Cleanup to drag and drop implementation.
Also includes RequireJS changes.

Fixes bugs:
STUD-755, STUD-152, STUD-700, STUD-699
2013-10-07 17:18:40 -04:00
David Baumgold
d97921e6e2 Convert Studio JS to use require.js 2013-10-04 13:43:50 -04:00
David Baumgold
1eae675952 Create a dedicated CMS.Models.Course Backbone model
Initialize on every page that has a context_course set
2013-08-01 13:39:47 -04:00
David Baumgold
a6f349dab9 Studio i18n 2013-07-12 16:25:39 -04:00
David Baumgold
c45dbca771 Fix JS dependency issues
textbook.js is apparently being loaded on every page, so I just made sure that
Backbone Associations was also loaded on every page to be sure that the dependency
was always being met.
2013-07-09 19:16:06 -04:00
Peter Fogg
72e08456a8 Refactor Advanced Settings page to use Backbone notifications. 2013-06-24 09:48:37 -04:00
David Baumgold
aa24508024 Add underscore.string library
http://epeli.github.io/underscore.string/
2013-06-18 10:23:18 -04:00
David Baumgold
b6e3b0ee03 Refactor Backbone Notifications
Models are extraneous for something as temporary as a notifaction -- this change
moves all the configuration into the views, and removes the models entirely.
2013-06-18 10:20:31 -04:00
David Baumgold
4f1e6c484e Put the advanced settings notifications back in 2013-05-30 15:08:40 -04:00
Frances Botsford
dfb623a29f removed old icon css and js files and references that are no longer needed 2013-05-24 09:01:15 -04:00
David Baumgold
dc2acb18ee Moved global AJAX Error handler definition to main.coffee 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
55cd8afe34 Fixing copy for default server error message on notification 2013-05-22 15:55:54 -04:00
Brian Talbot
52b10df805 studio - revises copy of server error notification to include a default message and removes associated actions from notifications 2013-05-22 15:55:53 -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
David Baumgold
1333717871 Message action callbacks have model set to this 2013-05-22 15:55:50 -04:00
David Baumgold
f5f7cf705f Subclass CMS.Models.SystemFeedback
To create handy WarningMessage, ErrorMessage, and ConfirmationMessage classes
2013-05-22 15:55:50 -04:00
David Baumgold
c6c5e50d86 Hook up notification framework to default AJAX error callback
And delete `CMS.ServerError`
2013-05-22 15:55:49 -04:00
David Baumgold
772be3b8b3 Make the system feedback template more generic
Not that it really matters, since the changes are invisible :)
2013-05-22 15:55:49 -04:00
David Baumgold
355162c7f6 Handle fleeting notifications 2013-05-22 15:55:49 -04:00
David Baumgold
0dc3446523 Handle saving popup 2013-05-22 15:55:49 -04:00