Commit graph

357 commits

Author SHA1 Message Date
Andrew Nicols
0e606192ef MDL-68833 theme_boost: Add missing js tags 2020-06-03 16:33:43 +08:00
Bas Brands
355af8f84d MDL-68833 theme_boost: prevent having to call init on the loader
This was added in a previous master-only issue and breaks backwards compatability with child themes.

There is no need to have the init function here.
2020-06-03 09:21:48 +08:00
Bas Brands
91de0ed823 MDL-67874 theme_boost: make focus outline accessible 2020-05-26 09:54:12 +02:00
Bas Brands
6a4ce7b0a3 MDL-67386 theme_boost: upgrade bootstrap to version 4.5.0 2020-05-25 15:48:17 +02:00
Nicholas Hoobin
119a83f148 MDL-68041 core_theme: New admin settings in secure page layout
This adds two new admin settings to the theme appearance options.

Shows the lang menu in secure layout, langmenuinsecurelayout.
Shows the user's name in secure layout, logininfoinsecurelayout.

When the page layout is set to secure, these options will be in effect.
2020-05-11 17:23:17 +10:00
Alexander Bias
13b6b5dce8 MDL-58964 navigation: Add class attributes to Boost flat navigation 2020-03-19 20:34:24 +01:00
Bas Brands
8ad4255fbe MDL-67863 theme_boost: change keyboard tab order
Move navdrawer up in the dom for a more logical tab order
Hide navdrawer links for tab / screenreader when navdrawer is closed
2020-02-27 17:11:03 +01:00
Ferran Recio
1b5630a01f MDL-66463 theme_boost: go to top link 2020-01-31 12:37:10 +01:00
Andrew Nicols
37856e466e MDL-67544 theme: Ensure that search box is in valid li 2020-01-06 15:01:07 +08:00
Jake Dallimore
71e5dc3274 Merge branch 'MDL-66503-master' of git://github.com/abgreeve/moodle 2019-12-16 09:11:18 +08:00
Adrian Greeve
4d1d3eeade MDL-66503 themes: Set the embed page to display block. 2019-12-11 09:26:07 +08:00
Ferran Recio
e06f9a8385 MDL-67154 theme_boost: fixing firefox printing 2019-12-03 16:44:23 +01:00
Andrew Nicols
224ea04e68 MDL-66828 core: Add toast-style notifications
Part of MDL-66074
2019-10-30 10:23:41 +08:00
Andrew Madden
1ea3940c62 MDL-65406 theme_boost: Add list markup to nav drawer for accessibility
To take advantage of native accessibility features of lists such as counting
the number of items in the list for screen readers, the nav menu should
wrap it's links in unordered list markup.
2019-09-24 14:46:21 +10:00
Andrew Nicols
5034f0a12b MDL-66550 theme: Wrap JS calls in pendingJS 2019-09-12 20:58:10 +08:00
Shamim Rezaie
e240a0000a MDL-53140 forms: Added the float form element to the form API 2019-05-01 12:10:23 +10:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Mathew May
485932602d MDL-64506 theme: Move templates from lib/form 2019-04-03 10:07:41 +08:00
Luca Bösch
c430bed525 MDL-64706 theme_boost: Remove logo link in secure template 2019-03-05 04:24:53 +01:00
Mathew May
a48ff0dcf6 MDL-58428 theme: Add templates to Course 2019-02-26 12:56:14 +01:00
Mathew May
e686d12774 MDL-58428 theme: Move templates from admin/tool/usertours 2019-02-26 12:56:14 +01:00
Mathew May
f03acadc09 MDL-58428 theme: Move templates from admin/tool/lp 2019-02-26 12:56:14 +01:00
Mathew May
c53a22c434 MDL-58428 theme: Move templates from mod/forum 2019-02-26 12:56:14 +01:00
Mathew May
cce298035d MDL-58428 theme: Move templates from mod/assign 2019-02-26 12:56:14 +01:00
Mathew May
0c61ec476c MDL-58428 theme: Move templates from grade/grading/form/guide 2019-02-26 12:56:14 +01:00
Mathew May
08cefc7e31 MDL-58428 theme: Move templates from grade/report/singleview 2019-02-26 12:56:14 +01:00
Mathew May
6eebb09060 MDL-58428 theme: Move templates from grade/report/history 2019-02-26 12:56:14 +01:00
Mathew May
8460e3690b MDL-58428 theme: Move templates from grades 2019-02-26 12:56:14 +01:00
Mathew May
5638b57267 MDL-58428 theme: Move templates from calendar 2019-02-26 12:56:14 +01:00
Mathew May
56cc669c39 MDL-58428 theme: Move templates from admin 2019-02-26 12:56:14 +01:00
Mathew May
b13a453d25 MDL-58428 theme: Move templates from lib 2019-02-26 12:56:14 +01:00
Mathew May
c75aa5640f MDL-58428 theme: Move templates from blocks/settings 2019-02-26 12:56:14 +01:00
Mathew May
6c1967af54 MDL-58428 theme: Move templates from blocks/search_forums 2019-02-26 12:56:14 +01:00
Eloy Lafuente (stronk7)
88edfc77c1 Merge branch 'MDL-62008-master' of git://github.com/damyon/moodle 2019-02-19 17:23:41 +01:00
David Monllaó
7677a86cc0 Merge branch 'MDL-64570-master' of git://github.com/damyon/moodle 2019-02-19 06:45:21 +01:00
Damyon Wiese
2159983aff MDL-64570 accessibility: autocomplete user profile fields
Only if editing your own user details and not logged in as someone else.
2019-02-19 09:44:15 +08:00
Jun Pataleta
2baf5722ab Merge branch 'MDL-62142-master' of git://github.com/damyon/moodle 2019-02-18 14:28:09 +08:00
Damyon Wiese
9df03b1940 MDL-62142 navigation: accessibility
Set unique meaningful labels on all nav components rendered in the "boost" theme.
2019-02-18 14:09:48 +08:00
Damyon Wiese
fd7472370a MDL-62008 output: Help icon text is escaped
The argument to render the pix_icon template from the help_icon template should not
be escaped, they will be escaped by the pix_icon template when it generates the HTML.
2019-02-04 13:28:28 +08:00
Sara Arjona
479c681443 MDL-62514 form: Add missing data-tags attribute
The data-tags=1 attribute was missing for the autocomplete forms
without suggestions.
2019-01-31 13:50:00 +01:00
Andrew Nicols
e994dea0b3 MDL-62514 behat: Rewrite handling of autocomplete
This includes a minor restructure of the autocomplete JS to make use of
promises and improve tracking of pending JS.

In particular it improves the way in which throttled text input is
handled to ensure that the behat does not continue until:
- typing is fully complete; and
- all possible ajax requests have been sent; and
- all possible ajax requests complete; and
- the suggestions are updated.

A number of conditions existed where behat would move on to the next
step too early in a race condition effect between Behat and Autocomplete.
2019-01-30 08:24:32 +08:00
Eloy Lafuente (stronk7)
20ef705577 Merge branch 'MDL-62963-master' of git://github.com/damyon/moodle 2019-01-24 00:35:37 +01:00
Luca Bösch
df0a2e21dd MDL-64360 mod_assign: Add help icon to notify students checkbox. 2019-01-18 00:02:49 +01:00
Damyon Wiese
65834189e9 MDL-64570 accessibility: purpose login fields
Provide the autocomplete attribute and username / current-password values to username
and password fields in login forms.

https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose.html
2019-01-14 16:16:34 +08:00
Jake Dallimore
574861588a MDL-62550 core_form: bring back the form item unique ids to fix js fails
This id matches the id seen on the clean theme elements and is needed by
the forms js.
2019-01-09 11:34:26 +08:00
Damyon Wiese
064f15033f MDL-60474 assign: Consistent user filters
Use the current filters and sorting on the user grading table in the single
page grading app when it is possible.

This replaces the popover used to configure the filters to one that closely matches the
one from the grading table. It supports standard filters, workflow filters and allocated marker filters.

It will also support group filtering and suspended user filtering but we don't show the controls for those in
the single grading page.
2018-12-19 10:10:23 +08:00
Damyon Wiese
56fb4e81df MDL-62963 boost: Increase contrast btn-secondary
The background colour of these buttons is too light, so they don't look like buttons.
2018-12-17 15:45:49 +08:00
Bas Brands
c8ff3ce496 MDL-63223 theme_boost: flexbox for login pagin footer 2018-11-26 16:06:30 +01:00
Ryan Wyllie
c75559cfff MDL-63303 message: move message drawer to end of <body>
Fix some of the behat tests that are looking for generic button
names that match some of the buttons in the message drawer which
happen to appear earlier in the DOM.
2018-11-15 14:43:22 +08:00
Damyon Wiese
ba3b0cc6ac Merge branch 'wip-MDL-63894-master' of https://github.com/kwiliarty/moodle 2018-11-09 09:48:39 +08:00