Skip to content

Commit

Permalink
MDL-64280 core_outcome: Add/remove outcome buttons style.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Dec 10, 2018
1 parent 44890bd commit d388e8e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions grade/edit/outcome/course_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<td>
<label for="removeoutcomes"><?php print_string('outcomescourse', 'grades'); ?></label>
<br />
<select id="removeoutcomes" size="20" name="removeoutcomes[]" multiple="multiple">
<select id="removeoutcomes" size="20" name="removeoutcomes[]" multiple="multiple" class="form-control input-block-level">
<?php
if ($co_standard_notused) {
echo '<optgroup label="'.get_string('outcomescoursenotused', 'grades').'">';
Expand Down Expand Up @@ -36,18 +36,20 @@
<?php
if (has_capability('moodle/grade:manageoutcomes', $context)) {
?>
<td>
<td class="p-l-1 p-r-1">
<p class="arrow_button">
<input name="add" id="add" type="submit" value="<?php echo '&nbsp; '.$OUTPUT->larrow().' &nbsp; &nbsp; '.get_string('add'); ?>" title="<?php print_string('add'); ?>" />
<input name="add" class="btn btn_secondary" id="add" type="submit" value="<?php echo '&nbsp; ' . $OUTPUT->larrow() . ' &nbsp; &nbsp; ' .
get_string('add'); ?>" title="<?php print_string('add'); ?>" />
<br />
<input name="remove" id="remove" type="submit" value="<?php echo '&nbsp;'.$OUTPUT->rarrow().' &nbsp; &nbsp; '.get_string('remove'); ?>" title="<?php print_string('remove'); ?>" />
<input name="remove" class="btn btn_secondary" id="remove" type="submit" value="<?php echo '&nbsp;' . get_string('remove') . ' &nbsp; &nbsp; ' .
$OUTPUT->rarrow(); ?>" title="<?php print_string('remove'); ?>" />
</p>
</td>
<?php } ?>
<td>
<label for="addoutcomes"><?php print_string('outcomesstandardavailable', 'grades'); ?></label>
<br />
<select id="addoutcomes" size="20" name="addoutcomes[]" multiple="multiple">
<select id="addoutcomes" size="20" name="addoutcomes[]" multiple="multiple" class="form-control input-block-level">

<?php
foreach ($standardoutcomes as $outcome) {
Expand Down

0 comments on commit d388e8e

Please sign in to comment.