Commit 9280f62e authored by Damyon Wiese's avatar Damyon Wiese
Browse files

MDL-56196 mod_lti: Fix popups and secret form in boost

parent 3d979f96
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -34,11 +34,11 @@ Y.extend(ALERT, M.core.notification.info, {
initializer: function() {
this._closeEvents = [];
this.publish('complete');
var yes = Y.Node.create('<input type="button" id="id_yuialertconfirm-' + this.get('COUNT') + '"' +
var yes = Y.Node.create('<input type="button" class="btn btn-primary" id="id_yuialertconfirm-' + this.get('COUNT') + '"' +
'value="' + this.get(CONFIRMYES) + '" />'),
content = Y.Node.create('<div class="confirmation-dialogue"></div>')
.append(Y.Node.create('<div class="confirmation-message">' + this.get('message') + '</div>'))
.append(Y.Node.create('<div class="confirmation-buttons"></div>')
.append(Y.Node.create('<div class="confirmation-buttons text-xs-right"></div>')
.append(yes));
this.get(BASE).addClass('moodle-dialogue-confirm');
this.setStdModContent(Y.WidgetStdMod.BODY, content, Y.WidgetStdMod.REPLACE);
......
......@@ -63,14 +63,14 @@ Y.extend(CONFIRM, M.core.notification.info, {
this.publish('complete');
this.publish('complete-yes');
this.publish('complete-no');
this._yesButton = Y.Node.create('<input type="button" id="id_yuiconfirmyes-' +
this._yesButton = Y.Node.create('<input type="button" class="btn btn-primary" id="id_yuiconfirmyes-' +
this.get('COUNT') + '" value="' + this.get(CONFIRMYES) + '" />');
this._noButton = Y.Node.create('<input type="button" id="id_yuiconfirmno-' +
this._noButton = Y.Node.create('<input type="button" class="btn btn-secondary m-l-1" id="id_yuiconfirmno-' +
this.get('COUNT') + '" value="' + this.get(CONFIRMNO) + '" />');
this._question = Y.Node.create('<div class="confirmation-message">' + this.get(QUESTION) + '</div>');
var content = Y.Node.create('<div class="confirmation-dialogue"></div>')
.append(this._question)
.append(Y.Node.create('<div class="confirmation-buttons"></div>')
.append(Y.Node.create('<div class="confirmation-buttons form-inline text-xs-right"></div>')
.append(this._yesButton)
.append(this._noButton));
this.get(BASE).addClass('moodle-dialogue-confirm');
......
......@@ -52,7 +52,7 @@
</div>
<div class="controls">
<input name="tool-key"
class="input-block-level"
class="input-block-level form-control"
type="text"
id="registration-key">
</div>
......@@ -66,12 +66,12 @@
</div>
<div class="controls">
<input name="tool-secret"
class="input-block-level"
class="input-block-level form-control"
type="text"
id="registration-secret">
</div>
</div>
<div class="control-group">
<div class="control-group m-t-1">
<div class="controls">
<button id="cartridge-registration-submit" type="submit" class="btn btn-success">
<span class="btn-text">{{#str}} savechanges {{/str}}</span>
......
......@@ -1293,18 +1293,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
border: 0;
}
.moodle-dialogue-confirm .confirmation-dialogue {
text-align: center;
}
.moodle-dialogue-confirm .confirmation-dialogue input {
text-align: center;
}
.moodle-dialogue-exception .moodle-exception-message {
text-align: center;
}
.moodle-dialogue-exception .moodle-exception-param label {
font-weight: bold;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment