MDL-64506 templates: Move BS2 btns' to BS4 btns'
authorMathew May <mathewm@hotmail.co.nz>
Thu, 7 Mar 2019 01:54:01 +0000 (09:54 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Wed, 3 Apr 2019 11:34:20 +0000 (19:34 +0800)
well bs2 class is now card in bs4

48 files changed:
admin/tool/analytics/templates/models_list.mustache
admin/tool/dataprivacy/classes/output/crud_element.php
admin/tool/dataprivacy/classes/output/data_registry_page.php
admin/tool/dataprivacy/templates/data_deletion.mustache
admin/tool/dataprivacy/templates/defaults_display.mustache
admin/tool/dataprivacy/templates/request_details.mustache
admin/tool/langimport/templates/langimport.mustache
admin/tool/lp/templates/course_competency_statistics.mustache
admin/tool/lp/templates/evidence_summary.mustache
admin/tool/lp/templates/template_competencies_page.mustache
admin/tool/policy/templates/page_nopermission.mustache
availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-debug.js
availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-min.js
availability/yui/build/moodle-core_availability-form/moodle-core_availability-form.js
availability/yui/src/form/js/form.js
blocks/login/block_login.php
course/classes/management_renderer.php
group/templates/index.mustache
lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-debug.js
lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-min.js
lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button.js
lib/editor/atto/plugins/charmap/yui/src/button/js/button.js
lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-debug.js
lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-min.js
lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button.js
lib/editor/atto/plugins/equation/yui/src/button/js/button.js
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-debug.js
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-min.js
lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button.js
lib/editor/atto/plugins/image/yui/src/button/js/button.js
lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button-debug.js
lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button-min.js
lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button.js
lib/editor/atto/plugins/link/yui/src/button/js/button.js
lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button-debug.js
lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button-min.js
lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button.js
lib/editor/atto/plugins/media/yui/src/button/js/button.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-debug.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-min.js
lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button.js
lib/editor/atto/plugins/table/yui/src/button/js/button.js
mod/feedback/view.php
mod/lti/styles.css
mod/lti/templates/cartridge_registration_form.mustache
mod/scorm/player.php
question/behaviour/rendererbase.php
report/competency/templates/user_course_navigation.mustache

index bd11e0b..b49c9e2 100644 (file)
 
 <div class="box">
     <div class="top-nav d-flex">
-        <a href="{{createmodelurl}}" class="btn btn-default mr-2">{{#str}}createmodel, tool_analytics{{/str}}</a>
-        <a href="{{importmodelurl}}" class="btn btn-default">{{#str}}importmodel, tool_analytics{{/str}}</a>
+        <a href="{{createmodelurl}}" class="btn btn-secondary mr-2">{{#str}}createmodel, tool_analytics{{/str}}</a>
+        <a href="{{importmodelurl}}" class="btn btn-secondary">{{#str}}importmodel, tool_analytics{{/str}}</a>
     </div>
     <table class="generaltable fullwidth">
         <caption>{{#str}}analyticmodels, tool_analytics{{/str}}</caption>
index 87d8ce9..738f9b8 100644 (file)
@@ -49,7 +49,7 @@ abstract class crud_element {
             new \moodle_url('/admin/tool/dataprivacy/dataregistry.php'),
             get_string('back'),
             null,
-            ['class' => 'btn btn-default']
+            ['class' => 'btn btn-primary']
         );
         return [$back];
     }
index be0e996..7249adf 100644 (file)
@@ -80,12 +80,12 @@ class data_registry_page implements renderable, templatable {
             new \moodle_url('/admin/tool/dataprivacy/defaults.php'),
             get_string('setdefaults', 'tool_dataprivacy'),
             null,
-            ['class' => 'btn btn-default']
+            ['class' => 'btn btn-primary']
         );
         $data->defaultsbutton = $defaultsbutton->export_for_template($output);
 
         $actionmenu = new \action_menu();
-        $actionmenu->set_menu_trigger(get_string('edit'), 'btn btn-default');
+        $actionmenu->set_menu_trigger(get_string('edit'), 'btn btn-primary');
         $actionmenu->set_owner_selector('dataregistry-actions');
         $actionmenu->set_alignment(\action_menu::TL, \action_menu::BL);
 
index cbf5ed3..49d750e 100644 (file)
@@ -65,7 +65,7 @@
         </div>
         {{#existingcontexts}}
             <div class="pull-right">
-                <button data-action="markfordeletion" class="btn btn-default">{{#str}}deleteselected, moodle{{/str}}</button>
+                <button data-action="markfordeletion" class="btn btn-secondary">{{#str}}deleteselected, moodle{{/str}}</button>
             </div>
         {{/existingcontexts}}
     </div>
@@ -75,7 +75,7 @@
     <div class="row" data-region="bottom-nav">
         {{#existingcontexts}}
             <div class="pull-right">
-                <button data-action="markfordeletion" class="btn btn-default">{{#str}}deleteselected, moodle{{/str}}</button>
+                <button data-action="markfordeletion" class="btn btn-secondary">{{#str}}deleteselected, moodle{{/str}}</button>
             </div>
         {{/existingcontexts}}
     </div>
index 8a006d5..44f3824 100644 (file)
@@ -62,7 +62,7 @@
     </div>
     <div class="col-md-3 align-self-center">
     {{#canedit}}
-        <button class="btn btn-default" {{!
+        <button class="btn btn-secondary" {{!
             }}data-action="edit-level-defaults" {{!
             }}data-contextlevel="{{contextlevel}}" {{!
             }}data-category="{{categoryid}}" {{!
index c8e9dc1..47c4f98 100644 (file)
@@ -79,7 +79,7 @@
             </span>
             </div>
             {{#canreview}}
-                <!--a href="{{reviewurl}}" class="btn btn-default">{{#str}}reviewdata, tool_dataprivacy{{/str}}</a-->
+                <!--a href="{{reviewurl}}" class="btn btn-secondary">{{#str}}reviewdata, tool_dataprivacy{{/str}}</a-->
             {{/canreview}}
         </div>
     </div>
index 4f316da..04464ba 100644 (file)
@@ -79,7 +79,7 @@
                     </div>
                     <div class="form-group">
                         <input type="hidden" name="sesskey" value="{{sesskey}}">
-                        <input id="languninstallbutton" type="submit" value="{{#str}}uninstall, tool_langimport{{/str}}" class="btn btn-default">
+                        <input id="languninstallbutton" type="submit" value="{{#str}}uninstall, tool_langimport{{/str}}" class="btn btn-secondary">
                     </div>
                 </fieldset>
             </form>
@@ -87,7 +87,7 @@
                 <div>
                     <form id="updateform" action="{{updateurl}}" method="post">
                         <fieldset>
-                            <input type="submit" value="{{#str}}updatelangs, tool_langimport{{/str}}" class="btn btn-default">
+                            <input type="submit" value="{{#str}}updatelangs, tool_langimport{{/str}}" class="btn btn-secondary">
                         </fieldset>
                     </form>
                 </div>
                         </div>
                         <div class="form-group">
                             <input type="hidden" name="sesskey" value="{{sesskey}}">
-                            <input type="submit" value="{{#str}}install, tool_langimport{{/str}}" class="btn btn-default">
+                            <input type="submit" value="{{#str}}install, tool_langimport{{/str}}" class="btn btn-secondary">
                         </div>
                     </fieldset>
                 </form>
index 9891b57..31260af 100644 (file)
@@ -49,7 +49,7 @@
     Template statistics template.
 }}
 {{#competencycount}}
-<div data-region="coursecompetencystatistics" class="well">
+<div data-region="coursecompetencystatistics" class="card">
     {{#canbegradedincourse}}
         {{< tool_lp/progress_bar}}
             {{$progresstext}}
index 128fd9c..06d7ca0 100644 (file)
@@ -44,7 +44,7 @@
       "id": 1
     }
 }}
-<div class="well well-small evidence" data-region="evidence" data-id="{{id}}">
+<div class="card well-small evidence" data-region="evidence" data-id="{{id}}">
     {{#candelete}}
         <div class="pull-xs-right">
             <a href="#" data-action="delete-evidence">{{#pix}}t/delete{{/pix}}</a>
index a380d29..0b6a4c7 100644 (file)
@@ -41,7 +41,7 @@
             <div class="drag-parentnode">
                 {{#competencies}}
                 <div class="drag-samenode" data-id="{{competency.id}}">
-                    <div class="well">
+                    <div class="card">
                         {{#canmanagetemplatecompetencies}}
                         <span class="drag-handlecontainer pull-left"></span>
                         <div class="pull-xs-right">
index f01feaa..ad06c19 100644 (file)
@@ -62,7 +62,7 @@
     </div>
 
     <p class="m-t-3">{{#str}}nopermissiontoagreedocscontact, tool_policy{{/str}}</p>
-    <div class="agreedoc-officer well">
+    <div class="agreedoc-officer card">
         <div>
             <p class="m-b-0">{{{supportname}}}</p>
             <p class="m-b-0"><a href="mailto:{{supportemail}}">{{supportemail}}</a></p>
index 1a7586a..eea5b3d 100644 (file)
Binary files a/availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-debug.js and b/availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-debug.js differ
index 3f3c424..23da9be 100644 (file)
Binary files a/availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-min.js and b/availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-min.js differ
index 1a7586a..eea5b3d 100644 (file)
Binary files a/availability/yui/build/moodle-core_availability-form/moodle-core_availability-form.js and b/availability/yui/build/moodle-core_availability-form/moodle-core_availability-form.js differ
index 8c93223..66c7186 100644 (file)
@@ -413,7 +413,7 @@ M.core_availability.List = function(json, root, parentRoot) {
     }
 
     // Create the button and add it.
-    var button = Y.Node.create('<button type="button" class="btn btn-default m-t-1">' +
+    var button = Y.Node.create('<button type="button" class="btn btn-secondary m-t-1">' +
             M.util.get_string('addrestriction', 'availability') + '</button>');
     button.on("click", function() {
         this.clickAdd();
@@ -671,7 +671,7 @@ M.core_availability.List.prototype.clickAdd = function() {
     var content = Y.Node.create('<div>' +
             '<ul class="list-unstyled container-fluid"></ul>' +
             '<div class="availability-buttons mdl-align">' +
-            '<button type="button" class="btn btn-default">' + M.util.get_string('cancel', 'moodle') +
+            '<button type="button" class="btn btn-secondary">' + M.util.get_string('cancel', 'moodle') +
             '</button></div></div>');
     var cancel = content.one('button');
 
@@ -687,7 +687,7 @@ M.core_availability.List.prototype.clickAdd = function() {
         // Add entry for plugin.
         li = Y.Node.create('<li class="clearfix row"></li>');
         id = 'availability_addrestriction_' + type;
-        button = Y.Node.create('<div class="col-6"><button type="button" class="btn btn-default w-100"' +
+        button = Y.Node.create('<div class="col-6"><button type="button" class="btn btn-secondary w-100"' +
                 'id="' + id + '">' + M.util.get_string('title', 'availability_' + type) + '</button></div>');
         button.on('click', this.getAddHandler(type, dialogRef), this);
         li.appendChild(button);
@@ -699,7 +699,7 @@ M.core_availability.List.prototype.clickAdd = function() {
     // Extra entry for lists.
     li = Y.Node.create('<li class="clearfix row"></li>');
     id = 'availability_addrestriction_list_';
-    button = Y.Node.create('<div class="col-6"><button type="button" class="btn btn-default w-100"' +
+    button = Y.Node.create('<div class="col-6"><button type="button" class="btn btn-secondary w-100"' +
             'id="' + id + '">' + M.util.get_string('condition_group', 'availability') + '</button></div>');
     button.on('click', this.getAddHandler(null, dialogRef), this);
     li.appendChild(button);
index 8247355..8e75282 100644 (file)
@@ -114,7 +114,7 @@ class block_login extends block_base {
                 $this->content->text .= '<div class="potentialidplist">';
                 foreach ($potentialidps as $idp) {
                     $this->content->text .= '<div class="potentialidp">';
-                    $this->content->text .= '<a class="btn btn-default btn-block" ';
+                    $this->content->text .= '<a class="btn btn-secondary btn-block" ';
                     $this->content->text .= 'href="' . $idp['url']->out() . '" title="' . s($idp['name']) . '">';
                     if (!empty($idp['iconurl'])) {
                         $this->content->text .= '<img src="' . s($idp['iconurl']) . '" width="24" height="24" class="m-r-1"/>';
index c0f25d0..d9b5c55 100644 (file)
@@ -332,7 +332,7 @@ class core_course_management_renderer extends plugin_renderer_base {
 
         if ($cancreatecategory) {
             $url = new moodle_url('/course/editcategory.php', array('parent' => $category->id));
-            $actions[] = html_writer::link($url, get_string('createnewcategory'), array('class' => 'btn btn-default'));
+            $actions[] = html_writer::link($url, get_string('createnewcategory'), array('class' => 'btn btn-secondary'));
         }
         if (core_course_category::can_approve_course_requests()) {
             $actions[] = html_writer::link(new moodle_url('/course/pending.php'), get_string('coursespending'));
@@ -660,7 +660,7 @@ class core_course_management_renderer extends plugin_renderer_base {
         $actions = array();
         if ($category->can_create_course()) {
             $url = new moodle_url('/course/edit.php', array('category' => $category->id, 'returnto' => 'catmanage'));
-            $actions[] = html_writer::link($url, get_string('createnewcourse'), array('class' => 'btn btn-default'));
+            $actions[] = html_writer::link($url, get_string('createnewcourse'), array('class' => 'btn btn-secondary'));
         }
         if ($category->can_request_course()) {
             // Request a new course.
index a86b15a..e768a12 100644 (file)
                     </select>
                 </div>
                 <div class="form-group">
-                    <input type="submit" name="act_updatemembers" id="updatemembers" value="{{#str}}showmembersforgroup, group{{/str}}" class="btn btn-default" />
+                    <input type="submit" name="act_updatemembers" id="updatemembers" value="{{#str}}showmembersforgroup, group{{/str}}" class="btn btn-secondary" />
                 </div>
                 <div class="form-group">
-                    <input type="submit" name="act_showgroupsettingsform" id="showeditgroupsettingsform" value="{{#str}}editgroupsettings, group{{/str}}" {{#editgroupsettingsdisabled}}disabled="disabled"{{/editgroupsettingsdisabled}} class="btn btn-default" />
+                    <input type="submit" name="act_showgroupsettingsform" id="showeditgroupsettingsform" value="{{#str}}editgroupsettings, group{{/str}}" {{#editgroupsettingsdisabled}}disabled="disabled"{{/editgroupsettingsdisabled}} class="btn btn-secondary" />
                 </div>
                 <div class="form-group">
-                    <input type="submit" name="act_deletegroup" id="deletegroup" value="{{#str}}deleteselectedgroup, group{{/str}}" {{#deletegroupdisabled}}disabled="disabled"{{/deletegroupdisabled}} class="btn btn-default" />
+                    <input type="submit" name="act_deletegroup" id="deletegroup" value="{{#str}}deleteselectedgroup, group{{/str}}" {{#deletegroupdisabled}}disabled="disabled"{{/deletegroupdisabled}} class="btn btn-secondary" />
                 </div>
                 <div class="form-group">
-                    <input type="submit" name="act_showcreateorphangroupform" id="showcreateorphangroupform" value="{{#str}}creategroup, group{{/str}}" class="btn btn-default" />
+                    <input type="submit" name="act_showcreateorphangroupform" id="showcreateorphangroupform" value="{{#str}}creategroup, group{{/str}}" class="btn btn-secondary" />
                 </div>
                 <div class="form-group">
-                    <input type="submit" name="act_showautocreategroupsform" id="showautocreategroupsform" value="{{#str}}autocreategroups, group{{/str}}" class="btn btn-default" />
+                    <input type="submit" name="act_showautocreategroupsform" id="showautocreategroupsform" value="{{#str}}autocreategroups, group{{/str}}" class="btn btn-secondary" />
                 </div>
                 <div class="form-group">
-                    <input type="submit" name="act_showimportgroups" id="showimportgroups" value="{{#str}}importgroups, group{{/str}}" class="btn btn-default" />
+                    <input type="submit" name="act_showimportgroups" id="showimportgroups" value="{{#str}}importgroups, group{{/str}}" class="btn btn-secondary" />
                 </div>
             </div>
             <div class="col-md-6 m-b-1">
                     </select>
                 </div>
                 <div class="form-group">
-                    <input type="submit" value="{{#str}}adduserstogroup, group{{/str}}" class="btn btn-default" {{#addmembersdisabled}}disabled="disabled"{{/addmembersdisabled}} name="act_showaddmembersform" id="showaddmembersform"/>
+                    <input type="submit" value="{{#str}}adduserstogroup, group{{/str}}" class="btn btn-secondary" {{#addmembersdisabled}}disabled="disabled"{{/addmembersdisabled}} name="act_showaddmembersform" id="showaddmembersform"/>
                 </div>
             </div>
         </div>
index 422e2d8..43f1310 100644 (file)
Binary files a/lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-debug.js and b/lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-debug.js differ
index 339dad4..1e1561d 100644 (file)
Binary files a/lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-min.js and b/lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button-min.js differ
index 422e2d8..43f1310 100644 (file)
Binary files a/lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button.js and b/lib/editor/atto/plugins/charmap/yui/build/moodle-atto_charmap-button/moodle-atto_charmap-button.js differ
index 397f1fe..395edf4 100644 (file)
@@ -377,7 +377,7 @@ Y.namespace('M.atto_charmap').Button = Y.Base.create('button', Y.M.editor_atto.E
             '<div class="{{CSS.CHARMAP}}">' +
                 '{{#each CHARMAP}}' +
                     '{{#if this.[2]}}' +
-                    '<button class="btn btn-default btn-sm {{../../CSS.BUTTON}}" ' +
+                    '<button class="btn btn-secondary btn-sm {{../../CSS.BUTTON}}" ' +
                         'aria-label="{{get_string this.[3] ../../component}}" ' +
                         'title="{{get_string this.[3] ../../component}}" ' +
                         'data-character="{{this.[0]}}" ' +
index fdc94ce..32b7e01 100644 (file)
Binary files a/lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-debug.js and b/lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-debug.js differ
index 00d0781..21075fd 100644 (file)
Binary files a/lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-min.js and b/lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button-min.js differ
index 1274071..1897b0b 100644 (file)
Binary files a/lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button.js and b/lib/editor/atto/plugins/equation/yui/build/moodle-atto_equation-button/moodle-atto_equation-button.js differ
index 6db2cb8..cb75f7c 100644 (file)
@@ -65,7 +65,7 @@ var COMPONENTNAME = 'atto_equation',
                 '<div id="{{elementid}}_cursorinfo">{{get_string "cursorinfo" component}}</div>' +
                 '<div class="mdl-align">' +
                     '<br/>' +
-                    '<button class="btn btn-default {{CSS.SUBMIT}}">{{get_string "saveequation" component}}</button>' +
+                    '<button class="btn btn-secondary {{CSS.SUBMIT}}">{{get_string "saveequation" component}}</button>' +
                 '</div>' +
             '</form>',
         LIBRARY: '' +
@@ -86,7 +86,7 @@ var COMPONENTNAME = 'atto_equation',
                         'id="{{../elementid}}_{{../CSS.LIBRARY_GROUP_PREFIX}}_{{@key}}">' +
                             '<div role="toolbar">' +
                             '{{#split "\n" elements}}' +
-                                '<button class="btn btn-default" tabindex="-1" data-tex="{{this}}"' +
+                                '<button class="btn btn-secondary" tabindex="-1" data-tex="{{this}}"' +
                                     'aria-label="{{this}}" title="{{this}}">' +
                                     '{{../../DELIMITERS.START}}{{this}}{{../../DELIMITERS.END}}' +
                                 '</button>' +
index 6d8d350..4b40ea5 100644 (file)
Binary files a/lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-debug.js and b/lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-debug.js differ
index f3ca213..882c239 100644 (file)
Binary files a/lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-min.js and b/lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button-min.js differ
index 6f0b146..e08468b 100644 (file)
Binary files a/lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button.js and b/lib/editor/atto/plugins/image/yui/build/moodle-atto_image-button/moodle-atto_image-button.js differ
index cafa5e4..f2f1445 100644 (file)
@@ -103,7 +103,7 @@ var CSS = {
                             '<input class="form-control {{CSS.INPUTURL}}" type="url" ' +
                             'id="{{elementid}}_{{CSS.INPUTURL}}" size="32"/>' +
                             '<span class="input-group-append">' +
-                                '<button class="btn btn-default {{CSS.IMAGEBROWSER}}" type="button">' +
+                                '<button class="btn btn-secondary {{CSS.IMAGEBROWSER}}" type="button">' +
                                 '{{get_string "browserepositories" component}}</button>' +
                             '</span>' +
                         '</div>' +
@@ -178,7 +178,8 @@ var CSS = {
                 '</div>' +
 
                 // Add the submit button and close the form.
-                '<button class="btn btn-default {{CSS.INPUTSUBMIT}}" type="submit">{{get_string "saveimage" component}}</button>' +
+                '<button class="btn btn-secondary {{CSS.INPUTSUBMIT}}" type="submit">' + '' +
+                    '{{get_string "saveimage" component}}</button>' +
                 '</div>' +
             '</form>',
 
index 34a1222..cb91471 100644 (file)
Binary files a/lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button-debug.js and b/lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button-debug.js differ
index cf5d382..fe26a4c 100644 (file)
Binary files a/lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button-min.js and b/lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button-min.js differ
index 34a1222..cb91471 100644 (file)
Binary files a/lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button.js and b/lib/editor/atto/plugins/link/yui/build/moodle-atto_link-button/moodle-atto_link-button.js differ
index 2388453..315ee0c 100644 (file)
@@ -47,7 +47,7 @@ var COMPONENTNAME = 'atto_link',
                         '<input class="form-control url {{CSS.URLINPUT}}" type="url" ' +
                         'id="{{elementid}}_atto_link_urlentry"/>' +
                         '<span class="input-group-append">' +
-                            '<button class="btn btn-default openlinkbrowser" type="button">' +
+                            '<button class="btn btn-secondary openlinkbrowser" type="button">' +
                             '{{get_string "browserepositories" component}}</button>' +
                         '</span>' +
                     '</div>' +
@@ -66,7 +66,7 @@ var COMPONENTNAME = 'atto_link',
                 '</div>' +
                 '<div class="mdl-align">' +
                     '<br/>' +
-                    '<button type="submit" class="btn btn-default submit">{{get_string "createlink" component}}</button>' +
+                    '<button type="submit" class="btn btn-secondary submit">{{get_string "createlink" component}}</button>' +
                 '</div>' +
             '</form>';
 Y.namespace('M.atto_link').Button = Y.Base.create('button', Y.M.editor_atto.EditorPlugin, [], {
index 895858e..45318fe 100644 (file)
Binary files a/lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button-debug.js and b/lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button-debug.js differ
index 49dc812..99a3243 100644 (file)
Binary files a/lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button-min.js and b/lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button-min.js differ
index 895858e..45318fe 100644 (file)
Binary files a/lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button.js and b/lib/editor/atto/plugins/media/yui/build/moodle-atto_media-button/moodle-atto_media-button.js differ
index 042db25..cce997e 100644 (file)
@@ -146,7 +146,7 @@ var COMPONENTNAME = 'atto_media',
                 '</div>' +
                 '<div class="mdl-align">' +
                     '<br/>' +
-                    '<button class="btn btn-default submit" type="submit">{{get_string "createmedia" component}}</button>' +
+                    '<button class="btn btn-secondary submit" type="submit">{{get_string "createmedia" component}}</button>' +
                 '</div>' +
             '</form>',
         TAB_PANES: {
@@ -215,7 +215,7 @@ var COMPONENTNAME = 'atto_media',
                         '<div class="input-group input-append w-100">' +
                             '<input id="url-input" class="form-control {{CSS.URL_INPUT}}" type="url" size="32"/>' +
                             '<span class="input-group-append">' +
-                                '<button class="btn btn-default openmediabrowser" type="button">' +
+                                '<button class="btn btn-secondary openmediabrowser" type="button">' +
                                 '{{get_string "browserepositories" component}}</button>' +
                             '</span>' +
                         '</div>' +
index 8624a7b..4be5b4e 100644 (file)
Binary files a/lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-debug.js and b/lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-debug.js differ
index 3039fcd..686aa89 100644 (file)
Binary files a/lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-min.js and b/lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button-min.js differ
index 8624a7b..4be5b4e 100644 (file)
Binary files a/lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button.js and b/lib/editor/atto/plugins/table/yui/build/moodle-atto_table-button/moodle-atto_table-button.js differ
index 5a36fa9..b3b5284 100644 (file)
@@ -206,10 +206,10 @@ var COMPONENT = 'atto_table',
             '<div class="mdl-align">' +
             '<br/>' +
             '{{#if edit}}' +
-                '<button class="btn btn-default submit" type="submit">{{get_string "updatetable" component}}</button>' +
+                '<button class="btn btn-secondary submit" type="submit">{{get_string "updatetable" component}}</button>' +
             '{{/if}}' +
             '{{#if nonedit}}' +
-                '<button class="btn btn-default submit" type="submit">{{get_string "createtable" component}}</button>' +
+                '<button class="btn btn-secondary submit" type="submit">{{get_string "createtable" component}}</button>' +
             '{{/if}}' +
             '</div>' +
         '</form>',
index a2a9b60..fe2ef8b 100644 (file)
@@ -139,7 +139,7 @@ if ($feedbackcompletion->can_complete()) {
         } else {
             $label = get_string('complete_the_form', 'feedback');
         }
-        echo html_writer::div(html_writer::link($completeurl, $label, array('class' => 'btn btn-default')), 'complete-feedback');
+        echo html_writer::div(html_writer::link($completeurl, $label, array('class' => 'btn btn-secondary')), 'complete-feedback');
     } else {
         // Feedback was already submitted.
         echo $OUTPUT->notification(get_string('this_feedback_is_already_submitted', 'feedback'));
index 199bcf6..268131e 100644 (file)
     min-height: 260px;
 }
 
-#registration-form-container .well {
+#registration-form-container .card {
     margin-bottom: 0;
 }
 
     margin-bottom: 0;
 }
 
-#registration-choice-container .well {
+#registration-choice-container .card {
     text-align: center;
 }
 
index 1f75a14..d49d052 100644 (file)
@@ -39,7 +39,7 @@
 
 }}
 <div class="centered-menu">
-    <div class="well">
+    <div class="card">
         <form id="cartridge-registration-form" class="form-horizontal">
             <p class="lead text-center">{{#str}} enterkeyandsecret, mod_lti {{/str}}</p>
             <p class="text-center">{{#str}} enterkeyandsecret_help, mod_lti {{/str}}</p>
index d6fc8da..07bf5b5 100644 (file)
@@ -169,7 +169,7 @@ if (empty($scorm->popup) || $displaymode == 'popup') {
         $exiturl = course_get_url($course, $cm->sectionnum);
     }
 
-    $exitlink = html_writer::link($exiturl, $strexit, array('title' => $strexit, 'class' => 'btn btn-default'));
+    $exitlink = html_writer::link($exiturl, $strexit, array('title' => $strexit, 'class' => 'btn btn-secondary'));
     $PAGE->set_button($exitlink);
 }
 
index 416826a..7cf92b9 100644 (file)
@@ -234,7 +234,7 @@ abstract class qbehaviour_renderer extends plugin_renderer_base {
             'id' => $qa->get_behaviour_field_name('submit'),
             'name' => $qa->get_behaviour_field_name('submit'),
             'value' => get_string('check', 'question'),
-            'class' => 'submit btn btn-default',
+            'class' => 'submit btn btn-secondary',
         );
         if ($options->readonly) {
             $attributes['disabled'] = 'disabled';
index 89cef39..447b269 100644 (file)
@@ -1,4 +1,4 @@
-<div class="pull-right well">
+<div class="pull-right card">
 <p>{{{groupselector}}}</p>
 <form class="user-competency-course-navigation">
 {{#hasusers}}