Jackson D'souza
d7b3d443aa
MDL-75571 theme_boost: Activity icon
...
* Use Activity get_icon_url helper method to fetch icon.
2022-12-09 15:51:33 +00:00
Paul Holden
9fc49012bd
MDL-74565 gradereport_grader: define capability required for editing.
2022-06-12 20:03:31 +01:00
Justus Dieckmann
bf68b2bc64
MDL-74498 output: Resolve correct icon for modules
...
Fixes the resolve_image_location function, which previously returned
the 'icon' or 'monologo' icon for modules, no matter the requested
image name.
Also fixes an incorrect pix_icon() call for the context header, which
was hidden by the faulty resolve function.
2022-04-14 01:54:28 +02:00
Andrew Nicols
4b388fc239
MDL-74235 core: Update core uses of activity icons to monologo
2022-04-07 12:56:14 +08:00
Mihail Geshoski
404eeff690
MDL-73532 theme_boost: Display the course name in single activity format
...
The module context header will display the full name of the course when
the course is using the single activity format header.
2022-02-14 09:40:27 +08:00
Bas Brands
5e8b258cac
MDL-73114 theme_boost: show page title on Dashboard page
...
replace the page title when the welcome message is shown
2022-01-19 17:36:54 +01:00
Bas Brands
47e63b518a
MDL-71457 theme_boost: page header icon styling
2021-12-20 15:02:24 +01:00
Bas Brands
f2ddd23ec1
MDL-71457 theme_boost: activity icon styling
2021-12-20 15:02:24 +01:00
Eloy Lafuente (stronk7)
71746122a5
Merge branch 'MDL-72287-master' of https://github.com/mihailges/moodle
2021-12-09 23:14:32 +01:00
abgreeve
b9d1aaaa3e
MDL-72287 theme_boost: Remove the breadcrumb for course context.
2021-12-09 22:46:57 +08:00
Bas Brands
26a0091d3c
MDL-72981 theme_boost: homogenise logo display
2021-12-06 09:38:21 +01:00
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
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
Bas Brands
f3df9f9f62
MDL-62347 course: move boost pagination renderer in core
2018-08-13 11:58:25 +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
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
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
Damyon Wiese
5d03ab36b5
MDL-55838 theme_boost: Fix secure layout
...
It was out of date with the columns2 layout and had links outside it's content.
2016-11-22 10:22:17 +08:00
Ankit Agarwal
40e24fda5b
MDL-57004: boost: Show action menu on section pages
2016-11-17 16:31:50 +05:30
Damyon Wiese
cf199b4448
MDL-56834 boost: Be cautious about nodes in the navbar
...
Some pages (fresh install) don't have the navbar yet, so check for null.
2016-11-14 17:18:29 +08:00
David Monllao
9444636cb8
Merge branch 'MDL-56834-master' of git://github.com/damyon/moodle
2016-11-14 14:00:45 +08:00
Damyon Wiese
a7bebd0638
MDL-56834 boost: Nav for participants page
...
On the participants page, hide the small cog and put a region main
settings menu with all the nodes from the "Users" branch in the settings
block.
2016-11-14 10:40:41 +08:00
Damyon Wiese
6fe0b5bd9b
MDL-56769 boost: Change last link in settings menu
...
Was: "Course/Frontpage administration"
Now: "More..."
2016-11-10 15:20:53 +08:00