mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-61894 tag: Modal buttons style.
This commit is contained in:
parent
9e7c397889
commit
e6914883ed
2
lib/amd/build/tag.min.js
vendored
2
lib/amd/build/tag.min.js
vendored
File diff suppressed because one or more lines are too long
@ -150,8 +150,8 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/str'
|
||||
]).done(function(s) {
|
||||
var el = $('<div><form id="combinetags_form" class="form-inline">' +
|
||||
'<p class="description"></p><p class="options"></p>' +
|
||||
'<p class="mdl-align"><input type="submit" id="combinetags_submit"/>' +
|
||||
'<input type="button" id="combinetags_cancel"/></p>' +
|
||||
'<p class="mdl-align"><input type="submit" class="btn btn-primary" id="combinetags_submit"/>' +
|
||||
'<input type="button" class="btn btn-secondary" id="combinetags_cancel"/></p>' +
|
||||
'</form></div>');
|
||||
el.find('.description').html(s[1]);
|
||||
el.find('#combinetags_submit').attr('value', s[2]);
|
||||
@ -223,8 +223,8 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/str'
|
||||
'<input type="hidden" name="sesskey" value="' + M.cfg.sesskey + '"/>' +
|
||||
'<p><label for="id_tagslist">' + s[1] + '</label>' +
|
||||
'<input type="text" id="id_tagslist" name="tagslist"/></p>' +
|
||||
'<p class="mdl-align"><input type="submit" id="addtags_submit"/>' +
|
||||
'<input type="button" id="addtags_cancel"/></p>' +
|
||||
'<p class="mdl-align"><input type="submit" class="btn btn-primary" id="addtags_submit"/>' +
|
||||
'<input type="button" class="btn btn-secondary" id="addtags_cancel"/></p>' +
|
||||
'</form></div>');
|
||||
el.find('#addtags_form').attr('action', window.location.href);
|
||||
el.find('#addtags_submit').attr('value', s[2]);
|
||||
@ -295,8 +295,8 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/str'
|
||||
'<input id="addtagcoll_name" type="text"/></p>' +
|
||||
'<p><label for="addtagcoll_searchable"></label>: ' +
|
||||
'<input id="addtagcoll_searchable" type="checkbox" value="1" checked/></p>' +
|
||||
'<p class="mdl-align"><input type="submit" id="addtagcoll_submit"/>' +
|
||||
'<input type="button" id="addtagcoll_cancel"/></p>' +
|
||||
'<p class="mdl-align"><input type="submit" class="btn btn-primary" id="addtagcoll_submit"/>' +
|
||||
'<input type="button" class="btn btn-secondary" id="addtagcoll_cancel"/></p>' +
|
||||
'</form></div>');
|
||||
el.find('label[for="addtagcoll_name"]').html(s[1]);
|
||||
el.find('label[for="addtagcoll_searchable"]').html(s[2]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user