mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-77112 quiz: Align some elements in quiz reports better.
This commit is contained in:
parent
0780e87f06
commit
dda015f855
@ -158,7 +158,7 @@ class quiz_overview_report extends attempts_report {
|
||||
get_string('regradeall', 'quiz_overview');
|
||||
}
|
||||
$displayurl = new moodle_url($options->get_url(), ['sesskey' => sesskey()]);
|
||||
echo '<div class="mdl-align">';
|
||||
echo '<div class="regradebuttons">';
|
||||
echo '<form action="'.$displayurl->out_omit_querystring().'">';
|
||||
echo '<div>';
|
||||
echo html_writer::input_hidden_params($displayurl);
|
||||
@ -176,7 +176,7 @@ class quiz_overview_report extends attempts_report {
|
||||
// Print information on the grading method.
|
||||
if ($strattempthighlight = quiz_report_highlighting_grading_method(
|
||||
$quiz, $this->qmsubselect, $options->onlygraded)) {
|
||||
echo '<div class="quizattemptcounts">' . $strattempthighlight . '</div>';
|
||||
echo '<div class="quizattemptcounts mt-3">' . $strattempthighlight . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -326,19 +326,6 @@ body.path-mod-quiz table tbody tr.gradedattempt > td {
|
||||
background-color: #d9edf7;
|
||||
}
|
||||
|
||||
.quizattemptcounts {
|
||||
clear: left;
|
||||
text-align: center;
|
||||
display: inline;
|
||||
margin-left: 20%;
|
||||
}
|
||||
|
||||
#page-mod-quiz-view .quizattemptcounts {
|
||||
display: block;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/** Mod quiz summary **/
|
||||
#page-mod-quiz-summary #content {
|
||||
text-align: center;
|
||||
@ -405,7 +392,6 @@ table.quizreviewsummary td.cell {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#page-mod-quiz-report div#commands,
|
||||
#page-mod-quiz-report .controls {
|
||||
text-align: center;
|
||||
}
|
||||
@ -423,10 +409,6 @@ table.quizreviewsummary td.cell {
|
||||
border: medium solid pink;
|
||||
}
|
||||
|
||||
#page-mod-quiz-report .toggleincludeauto {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-mod-quiz-report .gradetheselink {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
@ -456,7 +438,6 @@ table.quizreviewsummary td.cell {
|
||||
|
||||
#page-mod-quiz-report table#attempts {
|
||||
clear: both;
|
||||
width: 80%;
|
||||
margin: 0.2em auto;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user