MDL-71244 enrol_manual: Add bootstrap classes to buttons

This commit is contained in:
Luca Bösch 2021-03-30 16:49:17 +02:00
parent a5f0b354e7
commit 6ab749558e

View file

@ -188,7 +188,9 @@ $removeenabled = $canunenrol ? '' : 'disabled="disabled"';
</td> </td>
<td id="buttonscell"> <td id="buttonscell">
<div id="addcontrols"> <div id="addcontrols">
<input name="add" <?php echo $addenabled; ?> id="add" type="submit" value="<?php echo $OUTPUT->larrow().'&nbsp;'.get_string('add'); ?>" title="<?php print_string('add'); ?>" /><br /> <input class="btn btn-secondary" name="add" <?php echo $addenabled; ?> id="add" type="submit"
value="<?php echo $OUTPUT->larrow() . '&nbsp;' . get_string('add'); ?>"
title="<?php print_string('add'); ?>" /><br />
<div class="enroloptions"> <div class="enroloptions">
@ -205,7 +207,9 @@ $removeenabled = $canunenrol ? '' : 'disabled="disabled"';
</div> </div>
<div id="removecontrols"> <div id="removecontrols">
<input name="remove" id="remove" <?php echo $removeenabled; ?> type="submit" value="<?php echo get_string('remove').'&nbsp;'.$OUTPUT->rarrow(); ?>" title="<?php print_string('remove'); ?>" /> <input class="btn btn-secondary" name="remove" id="remove" <?php echo $removeenabled; ?> type="submit"
value="<?php echo get_string('remove') . '&nbsp;' . $OUTPUT->rarrow(); ?>"
title="<?php print_string('remove'); ?>" />
</div> </div>
</td> </td>
<td id="potentialcell"> <td id="potentialcell">