Style Moodle H5P admin upgrade form.

pull/61/head
Luca Bösch 2019-05-28 12:43:27 +02:00
parent b9a1e5f404
commit 467a8c49ed
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
// Add "go" button
$('<button/>', {
class: 'h5p-admin-upgrade-button',
class: 'h5p-admin-upgrade-button btn btn-primary ml-1',
text: info.buttonLabel,
click: function () {
// Start new content upgrade
@ -39,7 +39,7 @@
html += '<option value="' + id + '">' + versions[id] + '</option>';
}
if (html !== '') {
html = '<select>' + html + '</select>';
html = '<select class="form-control form-inline custom-select">' + html + '</select>';
return html;
}
};