Commit Graph

77 Commits

Author SHA1 Message Date
Bas Brands 57581a1980 MDL-72278 theme_boost: open drawer with fake blocks on first visit 2021-10-07 16:14:37 +02:00
Paul Holden fe53a6262f MDL-72597 course: use formatted course module name in context header. 2021-10-04 14:19:58 +01:00
Bas Brands a0bb51622c MDL-71610 theme_boost: remove edit button from Boost 2021-09-29 09:25:36 +02:00
abgreeve 56c34d71ef MDL-69588 theme_boost: Use partial templates in boost.
This moves away from using escaped html injected into the template
and uses partial templates instead.
2021-08-23 17:47:24 +08:00
Adrian Greeve 2d548e7433 MDL-69588 theme_boost: Change renderer to use templates.
This changes the existing context_header code copied from the
outputrenderers file and makes it use templates.
2021-08-23 17:47:24 +08:00
abgreeve 42e191cc4d MDL-72005 navigation: Change context header to switch breadcrumbs
- Part of: MDL-69588
This changes the context header to switch the breadcrumbs to the
top in boost. It also changes the context header in the modules
to have the activity name instead of the course name, and adds
an icon for the activity.
2021-08-23 17:46:40 +08:00
Adrian Greeve dbc014b2a6 MDL-70196 theme_boost: New navbar renderer for navbar alterations
- Part of: MDL-69588
2021-08-23 17:46:38 +08:00
Mathew May ddd387ef68 MDL-67924 core: Now show the editing button everywhere 2020-03-13 08:50:14 +08:00
Mathew May 847b0fa941 MDL-58428 renderer: Move renderer override from core
Also update all html_writer user to escape the namespace.
Also update the xpaths in behat
2019-02-26 12:56:14 +01:00
Mathew May 6a80186ebb MDL-58428 renderer: Move renderer override from blocks 2019-02-26 16:24:49 +08:00
Mathew May 0976e4cf5e MDL-58428 renderer: Move renderer override from maintenance 2019-02-26 16:24:49 +08:00
Mathew May 1c78866f44 MDL-58428 renderer: Move renderer override from grade report 2019-02-26 16:24:49 +08:00
Mathew May 2627162480 MDL-58428 renderer: Move renderer override from Question bank 2019-02-26 16:24:49 +08:00
Mathew May 9f0595c4fd MDL-58428 renderer: Move renderer override from course management 2019-02-26 16:24:49 +08:00
Mathew May f39111d0ea MDL-58428 renderer: Move renderer override from files 2019-02-26 16:24:49 +08:00
Mathew May 9825951bd8 MDL-58428 renderer: Move renderer override from course 2019-02-26 16:24:48 +08:00
Damyon Wiese 86dc15f26c MDL-64806 theme_boost: Do not label "More" icon
The icon is next to the text that says the same thing. Hide it from screenreaders.
2019-02-08 09:36:25 +08:00
Alexander Bias 3e24741d0a MDL-63442 login: Show MOODLEID cookie note only if needed
AMOS BEGIN
 CPY [cookiesenabled,core],[cookiesenabledonlysession,core]
AMOS END
2018-09-25 12:16:47 +02:00
David Monllao 72621d23ae Merge branch 'MDL-62347-master' of git://github.com/bmbrands/moodle 2018-09-04 14:05:41 +02:00
Marina Glancy 442f12f81a MDL-62742 core: rename coursecat->core_course_category
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Bas Brands f3df9f9f62 MDL-62347 course: move boost pagination renderer in core 2018-08-13 11:58:25 +02:00
Jun Pataleta a77beeb245 Merge branch 'MDL-62807-master' of git://github.com/damyon/moodle 2018-07-25 13:48:15 +08:00
Damyon Wiese 6a621b0ce7 MDL-62807 output: Support .list-unstyled class
Category management lists should not have bullets.

We support this class in "boost" theme but not in bootstrapbase and there are uses of it in core.
2018-07-16 14:03:42 +08:00
Luca Bösch aab977e0ce MDL-47899 forms: course search form info list bullet points alignment.
AMOS BEGIN
    MOV [searchhelp,moodle],[coursesearch_help,moodle]
AMOS END
2018-07-11 11:58:14 +02:00
Mihail Geshoski c3c42514a1 MDL-62656 course: Align elements in course and category management 2018-07-02 08:25:01 +08:00
Luca Bösch d29bde5943 MDL-42779 course: Pagination in management page preserves view action 2018-05-24 15:44:35 +02:00
Bas Brands 04b1bea112 MDL-62365 Theme Boost: default navigation item to empty
- use fa-fw as default navigation item (empty)
    - change indentation for 2nd level dropdown items
2018-05-14 09:08:42 +02:00
Bas Brands 1801b90535 MDL-56511 Theme: behat fixes for theme clean 2018-04-20 06:18:21 +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
Alexander Bias 85d87d11c0 MDL-58174 themes: Make build_action_menu_from_navigation() protected 2017-07-17 11:17:26 +02:00
Alexander Bias 79675c05d0 MDL-58970 themes: Fix references to core/loginform template 2017-06-02 20:29:24 +02:00
Dan Poltawski a6c34f3298 Merge branch 'MDL-57510-master' of git://github.com/ankitagarwal/moodle 2017-03-27 09:41:27 +01:00
Ankit Agarwal 0fa21eb715 MDL-57510 questionbank: Add horizontal navigation 2017-03-24 19:07:15 +05:30
Damyon Wiese 7cf6ef7bbb MDL-40759 icons: Fix icons in action menus and links
Always use the pix icon helper in templates.
2017-03-17 15:51:29 +08:00
Damyon Wiese 95b06c13c6 MDL-40759 icons: Refactor icon system to be extensible. 2017-03-17 15:51:29 +08:00
Damyon Wiese a26ce2482a MDL-40759 themes: font awesome support
We add a new theme config so the theme can say it supports font-awesome.
If this is true, the pix_icon renderer will call a mapping function to map
from the moodle style t/edit to a font-awesome style fa-cog icon name. Then the renderer
will either render an image tag for old icons - or an accessible font-awesome <i> tag.

This mostly works - but there are some places where we don't use the pix icon renderer, and
we directly create image tags with pix_url image sources. These will need updating (Atto icons,
drag and drop move icons, editpdf icons).
2017-03-17 15:51:28 +08:00
Jake Dallimore b167b415a3 MDL-57287 themes: fix buttons in default dashboard page header
This fix modifies styling for pages having no navbar, such as the
dashboard, site home and default dashboard pages and fixes an overlap
problem with the buttons and context header.
2017-01-17 14:47:08 +08:00
Dan Poltawski c67e93b235 MDL-56640 templates: move select templates from boost to core 2016-12-19 12:23:54 +00:00
Ankit Agarwal 59def6f397 MDL-57284 boost: Fix booktool_print icons 2016-12-06 11:51:02 +05:30
Jun Pataleta 8ace7b6c34 MDL-57072 theme_boost: Render action menu for category management 2016-11-30 09:11:32 +08:00
Andrew Nicols 805659e1fa Merge branch 'MDL-56919-master' of git://github.com/junpataleta/moodle 2016-11-29 12:06:56 +08:00
Damyon Wiese 4d41cec8db MDL-57124 boost: Show pageheaderbutton when no navbar
Even if there is no navbar - if there is a pageheaderbutton we need to
show it (E.g. Customise this page on dashboard).
2016-11-29 10:07:16 +08:00
David Monllao c56c23720b Merge branch 'MDL-57124-master' of git://github.com/damyon/moodle 2016-11-28 15:22:46 +08:00
Damyon Wiese 7ad1d2da47 MDL-57124 Boost: Login page styles (and signup)
Center logo / site name.
Add padding to logo / site name.
Serve retina images and resize with css.
Add a line under the logo / site name.
Don't show site name if there is a logo.
Obey nonavbar option in core_renderer.
2016-11-28 15:20:35 +08:00
David Monllao dd106016ee Merge branch 'MDL-57122-master' of git://github.com/ankitagarwal/moodle 2016-11-28 11:31:05 +08:00
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
Jun Pataleta 894b1825f6 MDL-56919 boost: Render non-action menu items as disabled action links 2016-11-28 10:20:18 +08:00
Dan Poltawski c5c8f3a6f5 Merge branch 'MDL-57118-master' of git://github.com/damyon/moodle 2016-11-24 09:26:52 +00:00
Damyon Wiese a955cf531c MDL-57118 boost: Participants cog shows too much
Because 0 == 'participants' in php.
2016-11-24 15:27:17 +08:00
Damyon Wiese ea5084f7f1 MDL-56993 boost: Fix navigation for singleactivity format
The single activity course format has no course front page, so we need
to make a special case for it so it's possible to get to the course
admin menu and put the course nodes in the flat navigation.
2016-11-23 15:31:27 +08:00