mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-58986 mod_quiz: add CSS classes to buttons on comment page
This commit is contained in:
parent
17fb1d84a2
commit
f3dc7a171a
@ -122,7 +122,7 @@ echo $attemptobj->render_question_for_commenting($slot);
|
||||
<div>
|
||||
<div class="fitem fitem_actionbuttons fitem_fsubmit">
|
||||
<fieldset class="felement fsubmit">
|
||||
<input id="id_submitbutton" type="submit" name="submit" value="<?php
|
||||
<input id="id_submitbutton" type="submit" name="submit" class="btn btn-primary" value="<?php
|
||||
print_string('save', 'quiz'); ?>"/>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
@ -37,7 +37,7 @@ M.mod_quiz.init_review_form = function(Y) {
|
||||
|
||||
M.mod_quiz.init_comment_popup = function(Y) {
|
||||
// Add a close button to the window.
|
||||
var closebutton = Y.Node.create('<input type="button" />');
|
||||
var closebutton = Y.Node.create('<input type="button" class="btn btn-secondary" />');
|
||||
closebutton.set('value', M.util.get_string('cancel', 'moodle'));
|
||||
Y.one('#id_submitbutton').ancestor().append(closebutton);
|
||||
Y.on('click', function() { window.close() }, closebutton);
|
||||
|
Loading…
x
Reference in New Issue
Block a user