MDL-64280 core_outcome: Add/remove outcome buttons style.
authorLuca Bösch <luca.boesch@bfh.ch>
Thu, 29 Nov 2018 12:44:13 +0000 (13:44 +0100)
committerLuca Bösch <luca.boesch@bfh.ch>
Mon, 10 Dec 2018 16:55:35 +0000 (17:55 +0100)
grade/edit/outcome/course_form.html

index 3eb01c9..baf056a 100644 (file)
@@ -7,7 +7,7 @@
         <td>
             <label for="removeoutcomes"><?php print_string('outcomescourse', 'grades'); ?></label>
             <br />
         <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').'">';
             <?php
             if ($co_standard_notused) {
                 echo '<optgroup label="'.get_string('outcomescoursenotused', 'grades').'">';
         <?php
         if (has_capability('moodle/grade:manageoutcomes', $context)) {
         ?>
         <?php
         if (has_capability('moodle/grade:manageoutcomes', $context)) {
         ?>
-        <td>
+        <td class="p-l-1 p-r-1">
             <p class="arrow_button">
             <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 />
                 <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 />
             </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) {
 
             <?php
             foreach ($standardoutcomes as $outcome) {