Commit graph

8 commits

Author SHA1 Message Date
Ankit Agarwal
2adf5ef946 MDL-57122 boost: Don't escape strings twice
Strings should always be escaped in templates not before
2016-11-28 08:22:41 +05:30
Damyon Wiese
f93bdccab7 MDL-56803 boost: hide region-main settings menu on 1 col layouts 2016-11-14 16:02:55 +08:00
Damyon Wiese
d8cfd61145 MDL-56582 theme_boost: Insert a proxy div for settings menu
This forces text in the page to wrap around the settings cog. Also
notifications background color goes underneath the div for the
settings cog - so we give it a background color.
2016-11-02 15:40:17 +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
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
Dan Poltawski
d5d0a8028d MDL-55071 theme_boost: prevent phpcs complaints
The commenting rule is a bit weird, but we can get round it easily.
2016-09-23 10:57:54 +01:00
Damyon Wiese
e584e6ae46 MDL-55071 theme/output: PHPCS fixes for new theme branch
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
2ede86d797 MDL-55996 theme_boost: Rename theme noname to theme boost
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Renamed from theme/noname/layout/columns1.php (Browse further)