MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css

This commit is contained in:
Bas Brands 2020-01-27 15:06:29 +01:00
parent a0fc902eb1
commit 4394f9e358
113 changed files with 958 additions and 1403 deletions

View file

@ -115,7 +115,7 @@ if (!empty($CFG->enabledevicedetection) && empty($device)) {
$screenshoturl = new moodle_url('/theme/image.php',
array('theme' => $themename, 'image' => 'screenshot', 'component' => 'theme'));
// Contents of the screenshot/preview cell.
$screenshotcell = html_writer::empty_tag('img', array('class' => 'img-responsive img-fluid',
$screenshotcell = html_writer::empty_tag('img', array('class' => 'img-fluid',
'src' => $screenshoturl, 'alt' => $strthemename));
// Show the name of the picked theme.
$headingthemename = $OUTPUT->heading($strthemename, 3);
@ -209,7 +209,7 @@ if (!empty($CFG->enabledevicedetection) && empty($device)) {
$screenshotpath = new moodle_url('/theme/image.php',
array('theme' => $themename, 'image' => 'screenshot', 'component' => 'theme'));
// Contents of the first screenshot/preview cell.
$row[] = html_writer::empty_tag('img', array('class' => 'img-responsive img-fluid',
$row[] = html_writer::empty_tag('img', array('class' => 'img-fluid',
'src' => $screenshotpath, 'alt' => $strthemename));
// Contents of the second cell.
$infocell = $OUTPUT->heading($strthemename, 3);