Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M4.2: StudentQuiz- The position of Navigation buttons and Change stat… #464

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ public function render_pagination_bar($pagevars, $baseurl, $totalnumber, $page,
'name' => 'changepagesize',
'value' => 1,
]);
$pagingbaroutput .= \html_writer::div($selectionperpage, 'pull-right form-inline pagination m-t-1');
$pagingbaroutput .= \html_writer::div($selectionperpage, 'float-right form-inline pagination m-t-1');
}
$pagingbaroutput .= $this->output->render($pagingbar);
$pagingbaroutput .= html_writer::end_div();
Expand Down Expand Up @@ -1796,7 +1796,7 @@ public function render_navigation_bar($hasprevious, $hasnext, $hasanswered) {
]);
}

$content1 = html_writer::div(html_writer::div($col1content, 'pull-left'), 'col-md-4');
$content1 = html_writer::div(html_writer::div($col1content, 'float-left'), 'col-md-4');

// The abort button can always be shown, except when the question has been answered and it is the last question
// in the list.
Expand All @@ -1821,7 +1821,7 @@ public function render_navigation_bar($hasprevious, $hasnext, $hasanswered) {
'class' => 'btn btn-primary'
]);
}
$content3 = html_writer::div(html_writer::div($col3content, 'pull-right'), 'col-md-4');
$content3 = html_writer::div(html_writer::div($col3content, 'float-right'), 'col-md-4');

return html_writer::div($content1 . $content2 . $content3, 'mod-studentquiz-attempt-nav row');
}
Expand Down
Loading