MDL-67001 question: alignment and form spaces.
This commit is contained in:
@@ -118,7 +118,7 @@ class category_condition extends condition {
|
||||
echo \html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'recurse',
|
||||
'value' => 0, 'id' => 'recurse_off'));
|
||||
echo \html_writer::checkbox('recurse', '1', $this->recurse, get_string('includesubcategories', 'question'),
|
||||
array('id' => 'recurse_on', 'class' => 'searchoptions'));
|
||||
array('id' => 'recurse_on', 'class' => 'searchoptions mr-1'));
|
||||
echo \html_writer::end_div() . "\n";
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ class category_condition extends condition {
|
||||
protected function display_category_form($contexts, $pageurl, $current) {
|
||||
echo \html_writer::start_div('choosecategory');
|
||||
$catmenu = question_category_options($contexts, true, 0, true);
|
||||
echo \html_writer::label(get_string('selectacategory', 'question'), 'id_selectacategory');
|
||||
echo \html_writer::label(get_string('selectacategory', 'question'), 'id_selectacategory', true, array("class" => "mr-1"));
|
||||
echo \html_writer::select($catmenu, 'category', $current, array(),
|
||||
array('class' => 'searchoptions custom-select', 'id' => 'id_selectacategory'));
|
||||
echo \html_writer::end_div() . "\n";
|
||||
@@ -170,7 +170,7 @@ class category_condition extends condition {
|
||||
$formatoptions = new \stdClass();
|
||||
$formatoptions->noclean = true;
|
||||
$formatoptions->overflowdiv = true;
|
||||
echo \html_writer::start_div('boxaligncenter categoryinfo');
|
||||
echo \html_writer::start_div('boxaligncenter categoryinfo pl-0');
|
||||
if (isset($this->maxinfolength)) {
|
||||
echo shorten_text(format_text($category->info, $category->infoformat, $formatoptions, $this->course->id),
|
||||
$this->maxinfolength);
|
||||
|
||||
@@ -62,7 +62,7 @@ class hidden_condition extends condition {
|
||||
echo \html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'showhidden',
|
||||
'value' => '0', 'id' => 'showhidden_off'));
|
||||
echo \html_writer::checkbox('showhidden', '1', (! $this->hide), get_string('showhidden', 'question'),
|
||||
array('id' => 'showhidden_on', 'class' => 'searchoptions'));
|
||||
array('id' => 'showhidden_on', 'class' => 'searchoptions mr-1'));
|
||||
echo \html_writer::end_div() . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -652,8 +652,8 @@ class view {
|
||||
echo '<div>';
|
||||
echo \html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'qbshowtext',
|
||||
'value' => 0, 'id' => 'qbshowtext_off'));
|
||||
echo \html_writer::checkbox('qbshowtext', '1', $showquestiontext, get_string('showquestiontext', 'question'),
|
||||
array('id' => 'qbshowtext_on', 'class' => 'searchoptions'));
|
||||
echo \html_writer::checkbox('qbshowtext', '1', $showquestiontext, ' ' . get_string('showquestiontext', 'question'),
|
||||
array('id' => 'qbshowtext_on', 'class' => 'searchoptions mr-1'));
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
|
||||
@@ -619,6 +619,10 @@ body.path-question-type {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.questionbankwindow .form-autocomplete-selection {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#page-mod-quiz-edit div.editq div.question div.content {
|
||||
background-color: $body-bg;
|
||||
border: 1px solid #ddd;
|
||||
|
||||
@@ -14275,6 +14275,9 @@ body.path-question-type {
|
||||
.questionbankwindow .module {
|
||||
width: auto; }
|
||||
|
||||
.questionbankwindow .form-autocomplete-selection {
|
||||
margin-left: 0; }
|
||||
|
||||
#page-mod-quiz-edit div.editq div.question div.content {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd;
|
||||
|
||||
@@ -14530,6 +14530,9 @@ body.path-question-type {
|
||||
.questionbankwindow .module {
|
||||
width: auto; }
|
||||
|
||||
.questionbankwindow .form-autocomplete-selection {
|
||||
margin-left: 0; }
|
||||
|
||||
#page-mod-quiz-edit div.editq div.question div.content {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd;
|
||||
|
||||
Reference in New Issue
Block a user