Commit Graph

64 Commits

Author SHA1 Message Date
Harry Rein
3d79e3e05d Adding unified, responsive header. 2017-10-20 16:24:31 -04:00
Andy Armstrong
af4d419824 Make the support modal responsive
LEARNER-142
2017-10-16 13:33:50 -04:00
Dave Chamberlain
fe2e25df65 ECOM-6921: Added aria-modal="true" to Support Modal
Changed the section to a div, and converted the aria-label
    to a labelledby attr instead (no sense in generating the string
    mulitiple times).
2017-02-02 15:43:26 -05:00
Anthony Mangano
69ae314dd8 enable users to select course when making support requests
ECOM-5936
2017-01-06 13:34:13 -05:00
J. Cliff Dyer
ea781266d1 Simplify business hours on help modal 2016-11-17 14:19:48 -05:00
Waheed Ahmed
44efb654fd Fixed keyboard focus remains within modal simulated dialogs.
ECOM-4188
ECOM-5303
2016-09-29 19:21:03 +05:00
cahrens
a249e8e18c Revert "Fixed keyboard focus remains within modal simulated dialogs."
This reverts commit 3c84b7a12c.
2016-09-16 09:27:34 -04:00
cahrens
9804f73e36 Revert "Fixed focus should remain within the simulated dialogs."
This reverts commit ae849406bf.
2016-09-16 09:27:19 -04:00
Peter Desjardins
e276ae2d36 Adds a context-sensitive link to learner documentation from the LMS. The base URL defaults to Open edX learner doc and can be overridden with the base URL for edx.org learner doc. Also relabels the tab for support from help to support. 2016-09-01 10:56:09 -04:00
Waheed Ahmed
ae849406bf Fixed focus should remain within the simulated dialogs.
ECOM-5303
2016-08-26 16:28:51 +05:00
Waheed Ahmed
3c84b7a12c Fixed keyboard focus remains within modal simulated dialogs.
ECOM-4188
2016-08-20 13:45:32 +05:00
Chris Rodriguez
b5efcc15f5 AC-530 fixing link-href ignores in the platform 2016-08-19 10:04:40 -04:00
ssemenova
36c867c42a changed icon html from <i> to <span>
TNL-4651
2016-05-31 15:46:23 -04:00
Robert Raposa
7223ee9316 Fix import order for HTML, Text. 2016-05-23 08:47:08 -04:00
Nimisha Asthagiri
432c570628 XSS Safe default - header.html, navigation.html, help_modal.html 2016-03-31 16:34:33 -04:00
cahrens
dd2a203677 Upgrade underscore to newest version.
FEDX-24
2016-03-16 17:08:27 -04:00
Saleem Latif
2d83449240 Remove microsite_configuration/microsite.py references from individual templates
* mattdrayer: Updated get_themed_template_path
2016-01-22 14:27:58 -05:00
Saleem Latif
6c8c67cad5 Remove microsite_configuration/templatetags/microsite.py references from individual templates. 2016-01-20 14:36:07 +05:00
Zia Fazal
604ac8504c use platform_name template tag 2015-09-29 17:01:55 +05:00
David Baumgold
34addd8fa8 Group imports together in Mako templates 2015-06-03 12:36:47 -04:00
Diana Huang
dae137feaa Convert all tabs to the new plugin framework. 2015-06-02 15:05:16 -04:00
Andy Armstrong
94e1c42314 Add extensible course view types for edX platform 2015-06-02 13:12:40 -04:00
Chris
c5d2dd7536 Upgrading Font Awesome vendor files from 3.2.1 to 4.2.0
* updating vendor files
* updating class syntax (to new FA-based classes) for all UI elements
* correcting broken tests
2015-01-06 15:24:12 -05:00
Kevin Luo
5734131769 Fix help modal css selector 2014-11-14 16:32:18 -08:00
Adam Palay
ac862b7a97 only load tabs if user is enrolled in course (TNL-286)
add tests for static tabs
2014-09-19 10:19:23 -04:00
Calen Pennington
d5029abfdc Make course ids and usage ids opaque to LMS and Studio [partial commit]
This commit updates lms/templates.

These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).

For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.

Co-Author: Andy Armstrong <andya@edx.org>
Co-Author: Christina Roberts <christina@edx.org>
Co-Author: David Baumgold <db@edx.org>
Co-Author: Diana Huang <dkh@edx.org>
Co-Author: Don Mitchell <dmitchell@edx.org>
Co-Author: Julia Hansbrough <julia@edx.org>
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org>
Co-Author: Sarina Canelake <sarina@edx.org>

[LMS-2370]
2014-05-07 12:49:55 -04:00
Sarina Canelake
9a352b9125 Unicode support for course names in reverification flow 2014-04-08 13:11:41 -04:00
Sarina Canelake
2d08b3a394 Fix i18n'd strings to be easier for translators to understand
Signup modal

Just translate discussion sr text

Markdown editor help

Help modal and reverify dash
2014-04-08 13:09:07 -04:00
Nimisha Asthagiri
e86b4a12dc Changes for viewing built-in tabs in studio
Changed "Status Page" -> "Page".

UX:
    support for displaying built-in tabs
    restored drag and drop on Studio Pages
    additional styling for fixed state on Studio Pages
    add a new page action added to bottom of Studio Pages

Dev
    changes for viewing tabs in studio,
    refactored the tab code,
    decoupled the code from django layer.
    is_hideable flag on tabs
    get_discussion method is needed to continue to support
external_discussion links for now since used by 6.00x course.
    override the __eq__ operator to support comparing with
dict-type tabs.

Test
    moved test code to common,
    added acceptance test for built-in pages
    added additional unit tests for tabs.
    changed test_split_modulestore test to support serializing objects
that are fields in a Course.

Env:
    updated environment configuration settings so they are
    consistent for both cms and lms.
2014-03-21 13:58:01 -04:00
Giulio Gratta
1cd5a80d1e replace unicode 'X' with font-awesome 'remove' 2014-03-11 12:48:58 -07:00
Giulio Gratta
2ae18c005f change 'modal' wording to something more general and less jargony 2014-03-11 11:05:42 -07:00
Chris Dodge
aa43689a93 This PR addresses the open feedback on the Microsites feature 2014-02-28 16:27:12 -05:00
Frances Botsford
25833471d4 adding a little styling to the language note on the LMS help modal 2014-02-27 15:32:56 -05:00
Sarina Canelake
f061c00292 Add change for help modal in anticipation of i18n support 2014-02-27 08:57:47 -05:00
Brian Talbot
a6f147afa5 LMS: revising modal UI to support translators 2014-02-14 22:35:08 +00:00
Chris Dodge
a3211a7405 Introduction of the Microsite feature which allows for limited multi-tenant branding on a subdomain basis, e.g. foo.edx.org and bar.edx.org
fix errorenous logic when running a microsite that could reside in a hosting environment with a marketing site in front of it

pep8/pylint fixes

address PR feedback, remove underscore from test hostname

more pep8/pylint cleanup. Skip test_microsites test, it works on localdev, not on Jenkins. Need to talk with QA team

manually add Ned's single-to-double quote fix

change aws.py runtimes so that the microsite_dir that is read from configuration is changed to a python path

Conflicts:
	lms/templates/help_modal.html
2014-01-14 14:36:01 -05:00
David Ormsbee
ff192935d8 Removing JS gettext() in favor of server-side substitution.
[LMS-1680]
2014-01-09 10:24:09 -05:00
David Baumgold
f3f4af8087 settings.MITX_FEATURES => settings.FEATURES 2013-12-03 15:34:55 -05:00
Brian Talbot
96cd85d824 LMS: converts close modal controls to use HTML <button> element 2013-10-16 16:14:29 -04:00
Adam Palay
9affd38d2b fix focus management for help modal 2013-09-25 16:24:24 -04:00
Adam Palay
1fe982fb16 fix a11y error in help modal 2013-09-25 15:56:45 -04:00
Adam Palay
5d386db55e mark help dialog with with proper ARIA diolog 2013-09-17 17:38:20 -04:00
Adam Palay
2e3a0c4d46 add labels and aria-required attributes to help-modal inputs 2013-09-17 17:38:09 -04:00
Xavier Antoviaque
8d2297eb62 accessibility: Allow to close help modal with "escape" key (LMS-581)
Users should be able to close the modal with the "escape" key.
2013-09-09 18:14:59 -03:00
Xavier Antoviaque
aee5af5332 accessibility: Manage keyboard focus on help modal dialog (LMS-581)
Modal dialogs should manage keyboard focus, ensuring that users can't
tab out of the modal dialog and back into the page itself (effectively
moving “behind” the dimmed modal). On the last focusable element of the
dialog, return focus back to the first focusable element.

Also move the close button to the start of the dialog's section, making
it the first focusable URL, to ensure focus matches the visual
representation of the dialog.
2013-09-09 18:14:53 -03:00
Xavier Antoviaque
23eab5c5bd accessibility: Replace close modal button <div> by <a> link (LMS-582)
The close button for the modal dialog was marked up as a paragraph,
containing a graphical text character, inside two div elements, with an
associated click event. This made the button unusable for keyboard
users.

Replaced <divs> with a link element (<a role="button"), adapted the CSS
accordingly, and updated the existing <a> modal close buttons.
2013-09-09 16:43:44 -03:00
Xavier Antoviaque
4629ce73f6 accessibility: Add aria-hidden attribute to the help modal (LMS-584)
Added a 'aria-hidden="true"' attribute to the modal initially, then
toggle the value of that attribute to "false" when the modal is shown.
Also remove the attribute when the modal is closed, whether it's through
a click on the close button or on the overlay.
2013-09-09 15:26:39 -03:00
Xavier Antoviaque
9147051e7a accessibility: Focus on error messages in Help modal (LMS-584)
> To make this change explicit to assistive technology, focus should be
> moved programmatically to this div after it has been made visible. To
> allow the div to be focused via scripting (without adding it to the
> regular focus order that keyboard users cycle through), a tabindex=”-1”
> should be added.

> In addition, the invalid fields should be given a an
> aria-invalid="true" attribute.
2013-09-09 14:10:29 -03:00
Adam Palay
cb3429570c set first FAQ link to mktg webiste too 2013-08-19 16:34:17 -04:00
Adam Palay
307d27db9a fix syntax error in help_modal 2013-08-13 16:13:42 -04:00