mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-56651-master' of git://github.com/lameze/moodle
This commit is contained in:
commit
e0d5d8caed
@ -256,9 +256,9 @@ if ($action === 'view') {
|
||||
<input type="hidden" name="sesskey" value="<?php p(sesskey()) ?>" />
|
||||
<input type="hidden" name="return" value="<?php p($return); ?>" />
|
||||
<input type="hidden" name="resettype" value="none" />
|
||||
<div class="submit buttons">
|
||||
<input type="submit" name="savechanges" value="<?php p($submitlabel); ?>" />
|
||||
<input type="submit" name="cancel" value="<?php print_string('cancel'); ?>" />
|
||||
<div class="submitbuttons">
|
||||
<input type="submit" name="savechanges" class="btn btn-primary" value="<?php p($submitlabel); ?>" />
|
||||
<input type="submit" name="cancel" class="btn btn-secondary" value="<?php print_string('cancel'); ?>" />
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
@ -271,9 +271,9 @@ if ($action === 'view') {
|
||||
echo '</div>';
|
||||
} else {
|
||||
?>
|
||||
<div class="submit buttons">
|
||||
<input type="submit" name="savechanges" value="<?php p($submitlabel); ?>" />
|
||||
<input type="submit" name="cancel" value="<?php print_string('cancel'); ?>" />
|
||||
<div class="submitbuttons">
|
||||
<input type="submit" name="savechanges" class="btn btn-primary" value="<?php p($submitlabel); ?>" />
|
||||
<input type="submit" name="cancel" class="btn btn-secondary" value="<?php print_string('cancel'); ?>" />
|
||||
</div>
|
||||
</div></form>
|
||||
<?php
|
||||
|
@ -43,27 +43,3 @@ table#modules,
|
||||
table#permissions {
|
||||
@extend .table-hover;
|
||||
}
|
||||
|
||||
// colored buttons
|
||||
input.form-submit,
|
||||
input#id_submitbutton,
|
||||
input#id_submitbutton2,
|
||||
.path-admin .buttons input[type="submit"],
|
||||
td.submit input {
|
||||
@extend .btn-primary;
|
||||
}
|
||||
// override .btn-primary
|
||||
#notice .singlebutton + .singlebutton input,
|
||||
.submit.buttons input[name="cancel"] {
|
||||
@extend .btn;
|
||||
}
|
||||
|
||||
#notice .singlebutton + .singlebutton input,
|
||||
.submit.buttons input[name="cancel"] {
|
||||
@extend .btn-lineup;
|
||||
}
|
||||
|
||||
input[id="_clearbutton"],
|
||||
input[type="reset"] {
|
||||
@extend .btn-warning;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user