Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
e06f9a83
Commit
e06f9a83
authored
Dec 03, 2019
by
Ferran Recio Calderó
Browse files
MDL-67154 theme_boost: fixing firefox printing
parent
800563e4
Changes
3
Hide whitespace changes
Inline
Side-by-side
theme/boost/templates/columns1.mustache
View file @
e06f9a83
...
...
@@ -41,12 +41,12 @@
<body
{{{
bodyattributes
}}}
>
{{>
core
/
local
/
toast
/
wrapper
}}
<div
id=
"page-wrapper"
>
<div
id=
"page-wrapper"
class=
"d-print-block"
>
{{{
output
.
standard_top_of_body_html
}}}
<div
id=
"page"
class=
"container-fluid"
>
<div
id=
"page-content"
class=
"row pb-3"
>
<div
id=
"page"
class=
"container-fluid
d-print-block
"
>
<div
id=
"page-content"
class=
"row pb-3
d-print-block
"
>
<div
id=
"region-main-box"
class=
"col-12"
>
<section
id=
"region-main"
aria-label=
"
{{#
str
}}
content
{{/
str
}}
"
>
{{{
output
.
course_content_header
}}}
...
...
theme/boost/templates/columns2.mustache
View file @
e06f9a83
...
...
@@ -53,16 +53,16 @@
<body
{{{
bodyattributes
}}}
>
{{>
core
/
local
/
toast
/
wrapper
}}
<div
id=
"page-wrapper"
>
<div
id=
"page-wrapper"
class=
"d-print-block"
>
{{{
output
.
standard_top_of_body_html
}}}
{{>
theme_boost
/
navbar
}}
<div
id=
"page"
class=
"container-fluid"
>
<div
id=
"page"
class=
"container-fluid
d-print-block
"
>
{{{
output
.
full_header
}}}
<div
id=
"page-content"
class=
"row pb-3"
>
<div
id=
"page-content"
class=
"row pb-3
d-print-block
"
>
<div
id=
"region-main-box"
class=
"col-12"
>
{{#
hasregionmainsettingsmenu
}}
<div
id=
"region-main-settings-menu"
class=
"d-print-none
{{#
hasblocks
}}
has-blocks
{{/
hasblocks
}}
"
>
...
...
theme/upgrade.txt
View file @
e06f9a83
This files describes API changes in /theme/* themes,
information provided here is intended especially for theme designer.
=== 3.9 ===
* Add class .d-print-block to #page, #page-wrapper and #page content to fix Firefox printing problems
=== 3.8 ===
* Moodle does not produce chunked CSS anymore, instead an unique css fils is generated and served (MDL-55751). This implies:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment