Commit graph

1397 commits

Author SHA1 Message Date
Damyon Wiese
7f20e8e7cb MDL-55074 theme_boost: Custom renderer fails on book
Handle nav tree nodes with action_links in them.
2016-10-21 12:40:05 +08:00
Damyon Wiese
fe009bdeaa MDL-55074 theme_boost: Workaround for popovers
The custom-interaction events have a bug where if they are used twice, they fire 2 events.

The bug still exists - this is a workaround.
2016-10-21 12:40:05 +08:00
Damyon Wiese
6afd1c60c0 MDL-55074 theme_boost: Fix weird text wrapping in block titles 2016-10-21 12:40:05 +08:00
Damyon Wiese
e85d09635d MDL-55074 theme_boost: Rename default only block region 2016-10-21 12:40:05 +08:00
Damyon Wiese
a42a065a20 MDL-55074 theme_boost: Do not show flatnav by default before login 2016-10-21 12:37:33 +08:00
Damyon Wiese
cbdbe7d812 MDL-55074 theme_boost: Current flat nav node should be subtle 2016-10-21 12:37:33 +08:00
Damyon Wiese
0a58ec243d MDL-55074 theme_boost: Move blocks back into the page 2016-10-21 12:37:33 +08:00
Damyon Wiese
5004baaad4 MDL-55074 theme_boost: Only show activity edit menu on first page 2016-10-21 12:37:33 +08:00
Damyon Wiese
e226461dab MDL-55074 navigation: Add editing links back to nav
In theme boost - don't support edit_buttons in the page.
2016-10-21 12:37:33 +08:00
Damyon Wiese
598b3f095f MDL-55074 theme_boost: Make sections different in flat nav 2016-10-21 12:37:33 +08:00
Damyon Wiese
8a2ab5f72d MDL-55074 navigation: Always show dashboard/home in flat nav 2016-10-21 12:37:33 +08:00
Damyon Wiese
0f73f3ab42 MDL-55074 blocks: navigation and settings blocks optional
This is a theme config setting.
They are forced on for behat always.
2016-10-21 12:37:33 +08:00
Damyon Wiese
4a3d8169f3 MDL-55074 theme_boost: Prevent page scrolling when scrolling in a drawer 2016-10-21 12:37:33 +08:00
Damyon Wiese
99061152af MDL-55074 theme_boost: Navigation and blocks
This patch includes a big set of changes that are all designed to work together to provide
a better way to navigate in the new theme, and a different way of working with blocks.

Blocks have been moved to a "drawer" that can be opened and closed (this is remembered in a user pref).

A new "flat navigation" element is also available in a drawer - which should let you do 90% of things
without needing to open the "blocks" drawer.

The flat navigation is build from specific parts of the nav tree - the top nodes like "calendar, dashboard" are
hand picked. There is a mycourses node listing your enrolled courses.

There is a node for the current course, built from the top nodes in the current course node in the nav tree.

Administrators have a link to the Site admin settings here too.

These nav elements are used by the templates for the new theme, which also has a resigned layout for login and signup.

There have also been some additional fixes / improvements to the scss for the new theme which goes along with these
layout changes.

This set of changes is a collaboration between Martin, Damyon and Alberto (thanks!).
2016-10-21 12:37:33 +08:00
Mark Nelson
c7ef6d8f3b MDL-54781 core_theme: removed unused message styles 2016-10-21 11:26:01 +08:00
Ryan Wyllie
54d83992b4 MDL-56252 message: clean message text in message area
Remove the HTML tags from any message in the message area when updating
the last message on the contact otherwise the styling breaks and also
allows <script> tags to be added to the page.
2016-10-20 06:49:26 +00:00
Damyon Wiese
058f2fb68e MDL-56156 theme_boost: enrol_users filter form styles
Allow wrapping any mform in a "form-inline" div to make it a responsive inline form.
Use this for the enrol users filter for and get rid of a good chunk of custom styles.
2016-10-19 17:10:22 +08:00
David Monllao
c66027cf4e Merge branch 'MDL-52777-master' of git://github.com/andrewnicols/moodle 2016-10-19 09:59:27 +08:00
Andrew Nicols
001fc061bd MDL-52777 tool_usertours: Add the new User Tours plugin 2016-10-19 09:48:03 +08:00
David Monllao
27f01529ab Merge branch 'MDL-56218-master' of git://github.com/FMCorz/moodle 2016-10-19 09:33:06 +08:00
Dan Poltawski
0022812b71 Merge branch 'MDL-55736-master' of git://github.com/FMCorz/moodle 2016-10-18 13:48:46 +01:00
Dan Poltawski
c70b9e8451 Merge branch 'MDL-56081-master' of git://github.com/andrewnicols/moodle 2016-10-18 11:24:36 +01:00
David Monllao
d244cf1fd7 MDL-56277 theme_boost: Converting EOLs to unix style 2016-10-18 17:14:11 +08:00
David Monllao
b7676ef92c Merge branch 'MDL-56277-master' of git://github.com/FMCorz/moodle 2016-10-18 16:33:21 +08:00
David Monllao
51607c7ea3 Merge branch 'MDL-56214-master' of git://github.com/FMCorz/moodle 2016-10-18 15:02:41 +08:00
Andrew Nicols
6e39d07e4d MDL-56468 theme_boost: Correct heading level of modal dialogue 2016-10-18 14:19:13 +08:00
Gareth J Barnard
8deec8835f MDL-55913 themes: Long week names overflow main region. 2016-10-17 22:42:10 +01:00
Eloy Lafuente (stronk7)
087476c711 Merge branch 'MDL-56440-master' of git://github.com/danpoltawski/moodle 2016-10-17 20:55:23 +02:00
Eloy Lafuente (stronk7)
cfe55553e0 Merge branch 'MDL-56005-master' of git://github.com/FMCorz/moodle 2016-10-17 18:12:33 +02:00
Dan Poltawski
2ee939fb19 Merge branch 'MDL-56262-master' of git://github.com/FMCorz/moodle 2016-10-17 11:01:27 +01:00
David Monllao
99218e916b Merge branch 'MDL-56393-master' of git://github.com/ryanwyllie/moodle 2016-10-17 15:32:33 +08:00
Ryan Wyllie
fd8eab572d MDL-56415 message: style toggle contact button on user profile page
Changed the styles in theme_bootstrapbase for the ajax toggle
button so that the loading icon is overlaid on the element
rather than replacing it to stop the interface jarring.

Also ported those same styles to theme_boost for consistency.
2016-10-17 03:07:15 +00:00
Ryan Wyllie
8387932ddd MDL-56393 themes: unread notification style in popover 2016-10-14 07:52:04 +00:00
Dan Poltawski
e816b872ad MDL-56440 theme_boost: fix logic errors in templates 2016-10-14 08:43:22 +01:00
Dan Poltawski
c8303131be Merge branch 'MDL-54682_master' of git://github.com/markn86/moodle 2016-10-11 12:53:11 +01:00
Eloy Lafuente (stronk7)
1e1dbc669f Merge branch 'MDL-56147-master' of git://github.com/FMCorz/moodle 2016-10-11 12:49:56 +02:00
Ryan Wyllie
963ba88970 MDL-56234 message: fix messaging UI in theme boost 2016-10-11 14:39:24 +08:00
Eloy Lafuente (stronk7)
6bf8e9b021 Merge branch 'MDL-55835-master' of git://github.com/danpoltawski/moodle 2016-10-11 01:21:14 +02:00
Dan Poltawski
bd296fc280 Merge branch 'MDL-56209-master' of git://github.com/FMCorz/moodle 2016-10-10 15:18:24 +01:00
Dan Poltawski
6a694f9a95 Merge branch 'MDL-56178-master' of git://github.com/FMCorz/moodle 2016-10-10 11:22:16 +01:00
Frédéric Massart
5d2f105e50 MDL-56178 theme_boost: Display drop zones labels
The markup has changed so we now need to target .sr-only rather
than just .accesshide. I did keep the latter in case it's still used
somewhere, in a custom form field for instance.

The ideal solution was to tell QuickForm to display the labels of
those elements in the group. That works for Boost, but that did not
work for Clean. The rendering mechanics of QuickForm decides to not
print the label, unless it's set as hidden... the CSS hack remains.
2016-10-10 11:32:08 +02:00
Dan Poltawski
80156d01c4 Merge branch 'MDL-56095-master-2nd' of git://github.com/FMCorz/moodle 2016-10-10 10:09:46 +01:00
Frédéric Massart
258143e34d MDL-56005 output: Support prepending SCSS code instead of variables only 2016-10-10 10:59:52 +02:00
David Monllao
47e863bb73 Merge branch 'MDL-56162-master' of git://github.com/FMCorz/moodle 2016-10-10 16:48:07 +08:00
David Monllao
96d2a6fd5f Merge branch 'MDL-56254-master' of git://github.com/FMCorz/moodle 2016-10-10 13:01:40 +08:00
David Monllao
cf489b75ef Merge branch 'MDL-56216-master' of git://github.com/danpoltawski/moodle 2016-10-10 12:49:07 +08:00
Frédéric Massart
7001a3b273 MDL-56081 theme_boost: Adjust user menu for switched role and login as 2016-10-10 10:22:43 +08:00
Frédéric Massart
ba92a049f4 MDL-55736 theme_boost: Subtle highlighting of a section 2016-10-07 16:54:27 +02:00
Frédéric Massart
82b945dbbe MDL-56095 output: Make the progress bar templatable
The order of inclusion of weblib and outputlib had to change
as the progress_bar (weblib) uses interfaces defined in outputlib.
2016-10-07 16:40:38 +02:00
Frédéric Massart
ff274ab0e5 MDL-56277 theme_boost: Define core maintenance renderer 2016-10-07 11:38:36 +02:00