MDL-64506 theme: Update BSB references and upgrade texts

This commit is contained in:
Mathew May 2019-03-01 14:14:47 +08:00
parent cf89ac3d1a
commit a5a6df54cc
6 changed files with 5 additions and 9 deletions

View File

@ -2554,8 +2554,8 @@ class theme_config {
}
}
// Last resort, try the bootstrapbase theme for names
return get_string('region-' . $region, 'theme_bootstrapbase');
// Last resort, try the boost theme for names
return get_string('region-' . $region, 'theme_boost');
}
/**

View File

@ -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();
});

View File

@ -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);

View File

@ -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.

View File

@ -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;

View File

@ -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 ===