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
a5a6df54
Commit
a5a6df54
authored
Mar 01, 2019
by
Mathew May
Browse files
MDL-64506 theme: Update BSB references and upgrade texts
parent
cf89ac3d
Changes
6
Hide whitespace changes
Inline
Side-by-side
lib/outputlib.php
View file @
a5a6df54
...
...
@@ -2554,8 +2554,8 @@ class theme_config {
}
}
// Last resort, try the boo
t
st
rapbase
theme for names
return
get_string
(
'region-'
.
$region
,
'theme_boo
t
st
rapbase
'
);
// Last resort, try the boost theme for names
return
get_string
(
'region-'
.
$region
,
'theme_boost'
);
}
/**
...
...
lib/templates/copy_box.mustache
View file @
a5a6df54
...
...
@@ -33,7 +33,7 @@
}}
<input
type=
"text"
class=
"copy_box"
value=
"
{{{
text
}}}
"
readonly=
"readonly"
size=
"48"
{{#
id
}}
id=
{{#
quote
}}{{{
id
}}}
-
{{{
uniqid
}}}{{/
quote
}}{{/
id
}}
/>
{{#
js
}}
require(['jquery'
, 'theme_bootstrapbase/bootstrap'
], function($) {
require(['jquery'], function($) {
$('.copy_box').on('click', function() {
$(this).select();
});
...
...
mod/book/tool/print/index.php
View file @
a5a6df54
...
...
@@ -54,9 +54,6 @@ if ($chapterid) {
$PAGE
->
set_url
(
'/mod/book/print.php'
,
array
(
'id'
=>
$id
,
'chapterid'
=>
$chapterid
));
// Use "embedded" instead of "print" because Bootstrapbase shows top
// header bar and navbar even on print style - which is inconsistent
// with extant behaviour.
$PAGE
->
set_pagelayout
(
"embedded"
);
unset
(
$id
);
...
...
theme/boost/scss/fontawesome/readme_moodle.txt
View file @
a5a6df54
...
...
@@ -4,4 +4,3 @@ Font awesome comes in 3 parts relating to Moodle.
1. The font. Put the woff font in lib/fonts_core/fontawesome-webfont.woff. Update lib/thirdpartylibs.xml.
2. SCSS. Replace the SCSS in this folder (/theme/boost/scss/fontawesome). Update theme/boost/thirdpartylibs.xml.
2. Less. Replace the Less in this folder (/theme/bootstrapbase/less/fontawesome). Update theme/bootstrapbase/thirdpartylibs.xml.
theme/boost/scss/moodle/undo.scss
View file @
a5a6df54
...
...
@@ -117,8 +117,7 @@ body:not(.jsenabled) .dropdown:hover > .dropdown-menu {
margin-top
:
-6px
;
// We need to move it up to counter the arrows as they introduce hover bugs.
}
// Extends bootstrapbase/less/bootstrap/navbar.less
// to enable scroll in the language menu.
// Enable scroll in the language menu.
body
:not
(
.jsenabled
)
.langmenu
:hover
>
.dropdown-menu
,
.langmenu.open
>
.dropdown-menu
{
display
:
block
;
...
...
theme/upgrade.txt
View file @
a5a6df54
...
...
@@ -7,6 +7,7 @@ information provided here is intended especially for theme designer.
* Renderers that were overridden by Boost are now in Bootstrapbase
* Core templates in Boost have now moved into core
* Templates that were overridden by boost are now located in Bootstrapbase
* Themes bootstrapbase, clean & more have now been removed.
=== 3.6 ===
...
...
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