Commit graph

357 commits

Author SHA1 Message Date
Bas Brands
54cbfbca8a MDL-62295 Theme boost: duration form field alignment 2018-05-07 11:39:57 +02:00
Andrew Nicols
c9b29e6b98 Merge branch 'MDL-62171-master' of git://github.com/bmbrands/moodle 2018-05-07 13:10:34 +08:00
Bas Brands
ae0629d284 MDL-62171 Theme boost: modal accessibility focus 2018-05-03 11:54:26 +02:00
Jun Pataleta
d16be43c05 Merge branch 'MDL-60414-master' of https://github.com/lucaboesch/moodle 2018-05-03 09:33:20 +08:00
Luca Bösch
000355f223 MDL-60414 theme_boost: bootstrap dropdown menu html spec char rendering 2018-05-02 11:40:51 +02:00
Jun Pataleta
030c58dcb9 Merge branch 'MDL-62189-master' of git://github.com/bmbrands/moodle 2018-05-02 12:24:20 +08:00
Bas Brands
d42139ace6 MDL-62189 Theme boost: add filepicker container fix padding 2018-05-01 09:05:44 +02:00
David Monllao
258bf5c4e8 Merge branch 'MDL-62024-master' of git://github.com/bmbrands/moodle 2018-04-26 11:34:00 +02:00
Bas Brands
c706699a0e MDL-62024 Theme boost: fix icon alignment for actionmenu 2018-04-23 21:09:26 +02:00
David Monllao
c5a8065258 Merge branch 'MDL-61028-master' of https://github.com/sammarshallou/moodle 2018-04-23 13:09:53 +02:00
sam marshall
a97c937033 MDL-61028 core_form: Autocomplete field to support HTML selection
When using the AJAX autocomplete field, it allows JavaScript to add
custom HTML to selected options. For example, the user field from
the assign roles page includes an icon and other information by the
user's name.

Once you submit the form and the page reloads, there was no way to
provide this information back to the autocomplete field. HTML
<option> tag was used for the value names but it may only contain
text, not tags, so including it in the normal value did not work.

This change adds a new option for the autocomplete field that lets
you include HTML to override the default (text-only) value of the
label used to represent each option.
2018-04-20 16:42:54 +01:00
David Monllao
8787ffaa40 MDL-56511 behat: Fix failing behat tests (again) 2018-04-20 15:52:58 +02:00
Bas Brands
1801b90535 MDL-56511 Theme: behat fixes for theme clean 2018-04-20 06:18:21 +02:00
David Monllao
f5779bb101 MDL-56511 theme_boost: Fixing minor behat failures
Related to MDL-56511 markup changes.
2018-04-18 18:24:20 +02:00
Bas Brands
3ec69c2ece MDL-56511 theme_boost: Update to Bootstrap 4 stable
Behat fixes by David Monllao <davidm@moodle.com>
    - Blocks
    - Modals
    - Messaging styling
    - Breadcrumb
    - Pagination
    - Course & categories management
2018-04-18 09:31:53 +08:00
Eloy Lafuente (stronk7)
66434106ed MDL-60548 test: Change modified lang string to get tests back to pass
Also modified a template example use, so there aren't courrencies
of the old string in codebase.
2018-04-10 23:24:17 +02:00
Kathrin Osswald
64448e1ea9 MDL-61298 theme Boost: Nav drawer icon improvements. 2018-04-10 15:31:12 +02:00
David Monllao
e7d10540d9 Merge branch 'MDL-61343-master' of git://github.com/Kathrin84/moodle 2018-04-10 08:29:39 +02:00
Adrian Greeve
5aeadf0b7b MDL-61127 filepicker: Added aria-selected attribute to repos.
The repository list in the file picker now as aria-selected
added to denote which repository is selected.
2018-04-03 16:25:40 +08:00
Kathrin Osswald
ea91e4f97d MDL-61343 theme Boost: Harmonise the structure of flat navigation. 2018-03-26 09:46:56 +02:00
David Monllao
6dca3ddc71 MDL-61620 output: New action_menu options 2018-03-14 11:38:08 +01:00
Andrew Nicols
1e9016d8d8 Merge branch 'MDL-61423-master' of git://github.com/mihailges/moodle 2018-03-08 15:26:30 +08:00
Mihail Geshoski
25dbbdf90b MDL-61423 authentication: Add digital minor verification upon signup 2018-03-08 15:01:25 +08:00
Jesse Ritchey
c91a59ac42 MDL-60445 theme_boost: remove fieldset tag 2018-03-07 11:08:42 +01:00
Zig Tan
6976c8e1b5 MDL-56945 assign: Add 'View all submissions' link to PDF feedback/grader 2017-12-29 09:47:40 +08:00
Andrew Nicols
2f920d9be8 Merge branch 'wip-MDL-56864-master' of git://github.com/marinaglancy/moodle 2017-12-12 13:36:32 +08:00
Damyon Wiese
992c5ccfbf MDL-60526 forms: Button elements should have type
The mform "buttons" should be of type "button", instead it's not specified so they get
the default of "submit". This is causing behat fails.
2017-11-22 13:24:32 +01:00
Marina Glancy
be2e38ed92 MDL-56864 forms: boost templates don't allow remove last tag 2017-11-21 15:29:02 +08:00
Ryan Wyllie
4397da0c4d MDL-59936 boost: improve focus outline on modal header 2017-10-31 02:38:29 +00:00
Ryan Wyllie
8f730872a7 MDL-59936 calendar: use event colour in summary modal header 2017-10-30 08:34:26 +08:00
Luca Bösch
09dd58a504 MDL-60527 templates: missing spaces round attribute and aria-labelledby 2017-10-22 22:08:10 +01:00
Andrew Nicols
19c0da47e0 Merge branch 'wip-MDL-60268-master' of https://github.com/Beedell/moodle 2017-10-12 13:44:16 +08:00
John Beedell
4a8dfef030 MDL-60268 User tours: Improve placement of Reset tour on page link 2017-10-06 11:52:19 +01:00
Abdullah Albanyan
b56dc2a109 MDL-60002 js: Added a 'Save and show next' button to grading interface. 2017-10-04 13:39:33 -07:00
Eloy Lafuente (stronk7)
2c821c1b82 Merge branch 'wip-MDL-59775-master' of git://github.com/marinaglancy/moodle 2017-09-12 11:44:47 +02:00
Andrew Nicols
c8b6e9ab34 MDL-59392 calendar: Switch to templates in the cal block
This commit adds a set of templates for the calendar month block, and
the events filter. The same data exporters used in the main calendar
view are utilised and the same logic.

Some additional data was added to the exporters, and in the long term
this will be used in the main monthly view so I did not feel it was
prudent to strip it out into a different view of the model.

AMOS BEGIN
 MOV [monthnext,access],[monthnext,calendar]
AMOS END
2017-09-11 12:45:46 +08:00
Marina Glancy
032674eebc MDL-59775 forms: add femptylabel class to els without labels
This class was present in clean/more but was forgotted in boost
2017-09-11 10:33:48 +08:00
Andrew Nicols
85419c5b2e Merge branch 'MDL-59828-master' of git://github.com/damyon/moodle 2017-08-29 11:56:28 +08:00
Damyon Wiese
d8e57f02a7 MDL-59828 autocomplete: Sizing issues on themes
We want to avoid page jumps wherever possible. This change uses the original select element as a "proxy" to reserve the space
in the DOM for the enhanced auto-complete when the JS runs.

It uses visibility: hidden to make the select not rendered - but still take up space.

The exact sizing for the CSS was determined by testing and reverse engineering the bootstrap calculations.

The size of user pictures in selectors was reduced to avoid flicker when switching between no selection and a selected user. I
could have reserved a larger amount of space, but it looks worse for pickers with no pictures.
2017-08-25 15:07:40 +08:00
Davo Smith
766d6f9a61 MDL-53848 form: hide entire group if hideIf test is applied to the group 2017-08-17 14:52:10 +01:00
Ryan Wyllie
0a501e1b2e MDL-59749 form: revert setting id on inline form elements
Revert the change I made in MDL-59382 to correctly set the id for inline
form elements because it's breaking a bunch of different places that had
already worked around the problem.
2017-08-08 03:28:36 +00:00
Andrew Nicols
c6de3bd68f Merge branch 'MDL-59382-master-4' of git://github.com/ryanwyllie/moodle 2017-08-03 09:31:44 +08:00
Ryan Wyllie
159a2bc1fe MDL-59382 theme_boost: add title block to modal template 2017-08-02 04:47:43 +00:00
Ryan Wyllie
6973baa31e MDL-59382 form: fix name in template context 2017-08-02 04:47:42 +00:00
Mark Nelson
585146f0ab MDL-59612 core: edit 'frametop' layout so links display for LTI
Part of MDL-59313.
2017-07-31 12:03:28 +08:00
Mark Nelson
d8cb461529 MDL-59612 core: added previous and next links to activities
Part of MDL-59313.
2017-07-31 12:03:28 +08:00
Alexander Bias
d7d2a72faf MDL-59425 themes: Expose navigation node properties in boost flat nav 2017-07-17 10:46:45 +02:00
Damyon Wiese
a60e8ba51e MDL-59365 enrol_manual: Rewrite the yui enrolment popup in amd
The add/roles thing was only converted to bootstrap 2/4 markup and the yui left in place.

The modal for adding users to a course was unsavable so I rewrote it with an mform in a popup, still calling
the same (barely) modified ajax script.

The webservice for searching cohorts was taken from admin/tool/lp and moved into /cohort. I added a generic "cohort"
mform element at the same time.

The webservice for searching for users was taken from the original ajax script.
2017-07-11 13:47:26 +01:00
Eloy Lafuente (stronk7)
46e9afecf3 Merge branch 'MDL-58985-master-bluebubbles' of git://github.com/mudrd8mz/moodle 2017-06-21 00:45:07 +02:00
Jake Dallimore
0cd6e1bfec MDL-58248 theme: use pix icon for side panel menu icon instead of char
Replaces the trigram for heaven char with the fa-bars pix icon for
improved support with all screen readers.
2017-06-15 09:57:52 +08:00