mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
This commit is contained in:
parent
a0fc902eb1
commit
4394f9e358
113 changed files with 958 additions and 1403 deletions
|
@ -2317,7 +2317,7 @@ class lesson extends lesson_base {
|
|||
if ($instancename) {
|
||||
return html_writer::link(new moodle_url('/mod/'.$modname.'/view.php',
|
||||
array('id' => $this->properties->activitylink)), get_string('activitylinkname',
|
||||
'lesson', $instancename), array('class' => 'centerpadded lessonbutton standardbutton p-r-1'));
|
||||
'lesson', $instancename), array('class' => 'centerpadded lessonbutton standardbutton pr-3'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4261,7 +4261,7 @@ abstract class lesson_page extends lesson_base {
|
|||
$options->attemptid = isset($attempt) ? $attempt->id : null;
|
||||
|
||||
$result->feedback .= $OUTPUT->box(format_text($this->get_contents(), $this->properties->contentsformat, $options),
|
||||
'generalbox boxaligncenter p-y-1');
|
||||
'generalbox boxaligncenter py-3');
|
||||
$result->feedback .= '<div class="correctanswer generalbox"><em>'
|
||||
. get_string("youranswer", "lesson").'</em> : <div class="studentanswer mt-2 mb-2">';
|
||||
|
||||
|
|
|
@ -620,7 +620,8 @@ class mod_lesson_renderer extends plugin_renderer_base {
|
|||
$output .= $this->box_end(); // End of Lesson button to Continue.
|
||||
|
||||
if ($data->reviewlesson !== false) {
|
||||
$output .= html_writer::link($data->reviewlesson, get_string('reviewlesson', 'lesson'), array('class' => 'centerpadded lessonbutton standardbutton p-r-1'));
|
||||
$output .= html_writer::link($data->reviewlesson, get_string('reviewlesson', 'lesson'),
|
||||
array('class' => 'centerpadded lessonbutton standardbutton pr-3'));
|
||||
}
|
||||
if ($data->modattemptsnoteacher !== false) {
|
||||
$output .= $this->paragraph(get_string("modattemptsnoteacher", "lesson"), 'centerpadded');
|
||||
|
@ -632,13 +633,13 @@ class mod_lesson_renderer extends plugin_renderer_base {
|
|||
|
||||
$url = new moodle_url('/course/view.php', array('id' => $course->id));
|
||||
$output .= html_writer::link($url, get_string('returnto', 'lesson', format_string($course->fullname, true)),
|
||||
array('class' => 'centerpadded lessonbutton standardbutton p-r-1'));
|
||||
array('class' => 'centerpadded lessonbutton standardbutton pr-3'));
|
||||
|
||||
if (has_capability('gradereport/user:view', context_course::instance($course->id))
|
||||
&& $course->showgrades && $lesson->grade != 0 && !$lesson->practice) {
|
||||
$url = new moodle_url('/grade/index.php', array('id' => $course->id));
|
||||
$output .= html_writer::link($url, get_string('viewgrades', 'lesson'),
|
||||
array('class' => 'centerpadded lessonbutton standardbutton p-r-1'));
|
||||
array('class' => 'centerpadded lessonbutton standardbutton pr-3'));
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue