Merge branch 'MDL-73147-master_take2' of https://github.com/lucaboesch/moodle

This commit is contained in:
Sara Arjona 2021-12-01 14:50:08 +01:00
commit 284c27ca4a
6 changed files with 2 additions and 73 deletions

View File

@ -148,7 +148,7 @@ class custom_view extends \core_question\local\bank\view {
$canuseall = has_capability('moodle/question:useall', $catcontext);
echo \html_writer::start_tag('div', ['class' => 'modulespecificbuttonscontainer']);
echo \html_writer::start_tag('div', ['class' => 'pt-2']);
if ($canuseall) {
// Add selected questions to the quiz.
$params = array(

View File

@ -975,16 +975,6 @@ table#categoryquestions {
font-size: 100%;
}
.modulespecificbuttonscontainer {
padding-left: 0.3em;
padding-right: 0.3em;
}
.questionbankformforpopup .modulespecificbuttonscontainer {
padding-top: 10px;
padding-left: 0;
}
.quizquestionlistcontrols {
text-align: center;
}

View File

@ -30,7 +30,7 @@
}
}}
<div class="btn-group dropup mt-2 modulespecificbuttonscontainer" id="bulkactionsui-container">
<div class="btn-group dropup mt-2" id="bulkactionsui-container">
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="bulkactionsui-selector">
{{#str}} withselected, question{{/str}}
</button>

View File

@ -585,35 +585,6 @@ body.jsenabled .questionflag input[type=checkbox] {
padding: 0.3em 0;
}
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer {
padding: 0;
strong {
display: block;
}
hr,
br {
display: none;
}
strong {
margin-left: -0.3em;
}
strong label {
margin-left: 0.3em;
}
input {
margin-left: 0;
}
input + input {
margin-left: 5px;
}
}
.questionbankwindow .module {
width: auto;
}

View File

@ -16642,22 +16642,6 @@ body.jsenabled .questionflag input[type=checkbox] {
#page-mod-quiz-edit div.questionbank .categoryinfo {
padding: 0.3em 0; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer {
padding: 0; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer strong {
display: block; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer hr,
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer br {
display: none; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer strong {
margin-left: -0.3em; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer strong label {
margin-left: 0.3em; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer input {
margin-left: 0; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer input + input {
margin-left: 5px; }
.questionbankwindow .module {
width: auto; }

View File

@ -16642,22 +16642,6 @@ body.jsenabled .questionflag input[type=checkbox] {
#page-mod-quiz-edit div.questionbank .categoryinfo {
padding: 0.3em 0; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer {
padding: 0; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer strong {
display: block; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer hr,
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer br {
display: none; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer strong {
margin-left: -0.3em; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer strong label {
margin-left: 0.3em; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer input {
margin-left: 0; }
#page-mod-quiz-edit div.questionbank .modulespecificbuttonscontainer input + input {
margin-left: 5px; }
.questionbankwindow .module {
width: auto; }