MDL-64506 templates: BS2 m-x-x to BS4 mx-x
authorMathew May <mathewm@hotmail.co.nz>
Fri, 29 Mar 2019 03:39:23 +0000 (11:39 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Wed, 3 Apr 2019 11:47:11 +0000 (19:47 +0800)
150 files changed:
admin/roles/module.js
admin/tool/analytics/classes/output/renderer.php
admin/tool/analytics/templates/invalid_analysables.mustache
admin/tool/customlang/templates/translator.mustache
admin/tool/dataprivacy/classes/output/expired_contexts_table.php
admin/tool/dataprivacy/templates/categories.mustache
admin/tool/dataprivacy/templates/contact_dpo.mustache
admin/tool/dataprivacy/templates/data_deletion.mustache
admin/tool/dataprivacy/templates/data_registry.mustache
admin/tool/dataprivacy/templates/data_requests.mustache
admin/tool/dataprivacy/templates/data_requests_bulk_actions.mustache
admin/tool/dataprivacy/templates/defaults_display.mustache
admin/tool/dataprivacy/templates/defaults_page.mustache
admin/tool/dataprivacy/templates/my_data_requests.mustache
admin/tool/dataprivacy/templates/purposes.mustache
admin/tool/dataprivacy/templates/request_details.mustache
admin/tool/dataprivacy/templates/request_filter.mustache
admin/tool/langimport/templates/langimport.mustache
admin/tool/lp/templates/action_selector.mustache
admin/tool/lp/templates/competency_grader.mustache
admin/tool/lp/templates/competency_picker.mustache
admin/tool/lp/templates/competency_picker_competencyform.mustache
admin/tool/lp/templates/competency_picker_user_plans.mustache
admin/tool/lp/templates/competency_rule_config.mustache
admin/tool/lp/templates/plan_page.mustache
admin/tool/lp/templates/scale_configuration_page.mustache
admin/tool/lp/templates/template_competencies_page.mustache
admin/tool/lp/templates/user_evidence_page.mustache
admin/tool/policy/classes/acceptances_table.php
admin/tool/policy/templates/acceptances_filter.mustache
admin/tool/policy/templates/page_agreedocs.mustache
admin/tool/policy/templates/page_nopermission.mustache
admin/tool/policy/templates/page_viewalldoc.mustache
admin/tool/policy/templates/page_viewdoc.mustache
auth/shibboleth/templates/login_form.mustache
availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-debug.js
availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-min.js
availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form.js
availability/condition/grade/yui/src/form/js/form.js
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
backup/util/ui/renderer.php
blocks/login/block_login.php
blocks/myoverview/templates/nav-display-selector.mustache
blocks/myoverview/templates/nav-grouping-selector.mustache
blocks/myoverview/templates/nav-sort-selector.mustache
blocks/myoverview/templates/placeholders.mustache
blocks/myoverview/templates/view-summary.mustache
blocks/recentlyaccessedcourses/templates/recentlyaccessedcourses-view.mustache
blocks/recentlyaccesseditems/templates/view-cards.mustache
blocks/rss_client/templates/item.mustache
blocks/timeline/templates/event-list-item.mustache
blocks/timeline/templates/event-list.mustache
blocks/timeline/templates/view-courses.mustache
calendar/renderer.php
calendar/templates/event_filter.mustache
calendar/templates/event_item.mustache
calendar/templates/event_list.mustache
calendar/templates/event_summary_body.mustache
calendar/templates/month_detailed.mustache
cohort/index.php
comment/lib.php
comment/locallib.php
course/classes/management_renderer.php
course/switchrole.php
course/templates/activity_navigation.mustache
course/templates/activityinstance.mustache
course/templates/bulkactivitycompletion.mustache
course/templates/defaultactivitycompletion.mustache
course/templates/editdefaultcompletion.mustache
course/templates/no-courses.mustache
enrol/renderer.php
enrol/yui/rolemanager/rolemanager.js
group/templates/index.mustache
lib/blocklib.php
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
lib/moodlelib.php
lib/outputrenderers.php
lib/templates/auth_digital_minor_page.mustache
lib/templates/auth_verify_age_location_page.mustache
lib/templates/paged_content.mustache
lib/templates/paged_content_paging_dropdown.mustache
lib/templates/paging_bar.mustache
mod/chat/gui_ajax/index.php
mod/chat/gui_basic/index.php
mod/choice/renderer.php
mod/choice/report.php
mod/data/edit.php
mod/data/field.php
mod/data/field/checkbox/field.class.php
mod/data/field/latlong/field.class.php
mod/data/field/multimenu/field.class.php
mod/data/field/radiobutton/field.class.php
mod/data/field/url/field.class.php
mod/data/lib.php
mod/data/renderer.php
mod/data/view.php
mod/forum/templates/forum_discussion.mustache
mod/glossary/view.php
mod/lesson/locallib.php
mod/lesson/report.php
mod/lti/templates/cartridge_registration_form.mustache
mod/quiz/amd/build/modal_add_random_question.min.js
mod/quiz/amd/src/modal_add_random_question.js
mod/quiz/classes/output/edit_renderer.php
mod/quiz/report/attemptsreport_table.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/styles.css
mod/quiz/templates/random_question_form_preview.mustache
mod/scorm/locallib.php
mod/scorm/report/interactions/classes/report.php
mod/scorm/report/objectives/classes/report.php
mod/wiki/editors/wikieditor.php
question/type/match/renderer.php
question/type/multichoice/renderer.php
question/type/truefalse/renderer.php
report/insights/templates/insight_details.mustache
report/insights/templates/insights_list.mustache
report/log/classes/renderer.php
report/participation/locallib.php
theme/boost/style/moodle.css
theme/boost/templates/flat_navigation.mustache
theme/classic/style/moodle.css
theme/classic/templates/core/footer.mustache
user/index.php
user/selector/module.js
user/templates/add_bulk_note.mustache
user/templates/unified_filter.mustache

index 243fd67..e161948 100644 (file)
@@ -51,7 +51,7 @@ M.core_role.init_cap_table_filter = function(Y, tableid, contextid) {
                 marginRight : 'auto'
             });
             // Create the capability search input.
-            this.input = Y.Node.create('<input class="form-control m-x-1" type="text"' +
+            this.input = Y.Node.create('<input class="form-control mx-1" type="text"' +
                 ' id="'+this.table.get('id')+'capabilitysearch" value="'+Y.Escape.html(filtervalue)+'" />');
             // Create a label for the search input.
             this.label = Y.Node.create('<label for="' + this.input.get('id') + '">' +
index 4201482..67c4406 100644 (file)
@@ -81,7 +81,7 @@ class renderer extends plugin_renderer_base {
         foreach ($results as $timesplittingid => $result) {
 
             if (!CLI_SCRIPT) {
-                $output .= $OUTPUT->box_start('generalbox m-b-3');
+                $output .= $OUTPUT->box_start('generalbox mb-3');
             }
 
             // Check that the array key is a string, not all results depend on time splitting methods (e.g. general errors).
@@ -177,7 +177,7 @@ class renderer extends plugin_renderer_base {
         }
 
         if ($predictresults || (!empty($predictlogs) && debugging())) {
-            $output .= $OUTPUT->heading(get_string('predictionresults', 'tool_analytics'), 3, 'main m-t-3');
+            $output .= $OUTPUT->heading(get_string('predictionresults', 'tool_analytics'), 3, 'main mt-3');
         }
 
         if ($predictresults) {
index 2b3ddd6..4312d30 100644 (file)
     <h3>{{#str}}modelinvalidanalysables, tool_analytics, {{modelname}}{{/str}}</h3>
     <div>{{#str}}invalidanalysablesinfo, tool_analytics{{/str}}</div>
     {{#noanalysables}}
-        <div class="m-t-2 m-b-1">
+        <div class="mt-2 mb-1">
             {{> core/notification_info}}
         </div>
     {{/noanalysables}}
     {{^noanalysables}}
-        <div class="m-t-2 m-b-1">
+        <div class="mt-2 mb-1">
             <span>{{#prev}}{{> core/single_button}}{{/prev}}</span>
             <span>{{#next}}{{> core/single_button}}{{/next}}</span>
         </div>
@@ -77,7 +77,7 @@
             {{/analysables}}
             </tbody>
         </table>
-        <div class="m-t-1 m-b-2">
+        <div class="mt-1 mb-2">
             <span>{{#prev}}{{> core/single_button}}{{/prev}}</span>
             <span>{{#next}}{{> core/single_button}}{{/next}}</span>
         </div>
index 8864f83..381c9db 100644 (file)
                         {{{ outdatedhelp}}}
                     </div>
                     {{#showoriginalvsmaster}}
-                    <div class="alert-secondary mt-3 m-t-1">
+                    <div class="alert-secondary mt-3 mt-1">
                         {{{ original }}}
                     </div>
                     {{/showoriginalvsmaster}}
index 312ee6e..9583d01 100644 (file)
@@ -131,7 +131,7 @@ class expired_contexts_table extends table_sql {
         }
         $infoicon = new pix_icon('i/info', implode(' / ', array_reverse($contextsinpath)));
         $infoiconhtml = $OUTPUT->render($infoicon);
-        $name = html_writer::span(get_string('nameandparent', 'tool_dataprivacy', $contextdata), 'm-r-1');
+        $name = html_writer::span(get_string('nameandparent', 'tool_dataprivacy', $contextdata), 'mr-1');
 
         return  $name . $infoiconhtml;
     }
@@ -158,7 +158,7 @@ class expired_contexts_table extends table_sql {
             }
             $infoicon = new pix_icon('i/info', implode(', ', $childnames));
             $infoiconhtml = $OUTPUT->render($infoicon);
-            $name = html_writer::span(get_string('nchildren', 'tool_dataprivacy', count($children)), 'm-r-1');
+            $name = html_writer::span(get_string('nchildren', 'tool_dataprivacy', count($children)), 'mr-1');
 
             return  $name . $infoiconhtml;
         }
index 6ddb7f1..c9ba549 100644 (file)
@@ -50,8 +50,8 @@
     {{> core/action_link}}
 {{/navigation}}
 
-<div data-region="categories" class="m-t-3 m-b-1">
-    <div class="m-y-1">
+<div data-region="categories" class="mt-3 mb-1">
+    <div class="my-1">
         <button class="btn btn-secondary" data-add-element="category" title="{{#str}}addcategory, tool_dataprivacy{{/str}}">
             {{#pix}}t/add, moodle, {{#str}}addcategory, tool_dataprivacy{{/str}}{{/pix}}
         </button>
index f0738ea..7dae8e9 100644 (file)
@@ -36,7 +36,7 @@
     }
 }}
 <div class="container">
-    <div class="row m-b-2">
+    <div class="row mb-2">
         <label class="col-md-3 col-form-label">{{#str}}replyto, tool_dataprivacy{{/str}}</label>
         <div class="col-md-9 col-form-label">{{replytoemail}}</div>
     </div>
index 49d750e..88e33d7 100644 (file)
@@ -69,7 +69,7 @@
             </div>
         {{/existingcontexts}}
     </div>
-    <div class="row m-t-1 m-b-1" data-region="expired-contexts-table">
+    <div class="row mt-1 mb-1" data-region="expired-contexts-table">
         {{{expiredcontexts}}}
     </div>
     <div class="row" data-region="bottom-nav">
index 077792a..d77c7cf 100644 (file)
         {{/actions}}
     </div>
     {{#info}}
-        <div class="m-t-1">
+        <div class="mt-1">
             {{> core/notification_info}}
         </div>
     {{/info}}
     {{#nosystemdefaults}}
-        <div class="m-t-1">
+        <div class="mt-1">
             {{> core/notification_warning}}
         </div>
     {{/nosystemdefaults}}
 
-    <div class="container-fluid m-t-2">
+    <div class="container-fluid mt-2">
         <div class="row">
             <div class="col-md-4 p-l-0 nav-pills context-tree">
                 {{#tree}}
index 594aaab..1e8fb90 100644 (file)
@@ -60,7 +60,7 @@
 {{/httpsite}}
 
 <div data-region="datarequests">
-    <div class="m-t-1 m-b-1">
+    <div class="mt-1 mb-1">
         <div class="pull-right">
             <a href="{{newdatarequesturl}}" class="btn btn-primary" data-action="new-request">
                 {{#str}}newrequest, tool_dataprivacy{{/str}}
@@ -71,7 +71,7 @@
         {{/filter}}
     </div>
 
-    <div class="m-t-1 m-b-1" data-region="data-requests-table">
+    <div class="mt-1 mb-1" data-region="data-requests-table">
         {{{datarequests}}}
     </div>
 </div>
index 2ec0473..f2f9e68 100644 (file)
@@ -44,7 +44,7 @@
         "perpage" : "<div class='singleselect'></div>"
     }
 }}
-<div class="m-t-1 d-inline-block w-100">
+<div class="mt-1 d-inline-block w-100">
     <div class="pull-left">
         <select id="bulk-action" class="select custom-select">
         {{#options}}
index 44f3824..43909e9 100644 (file)
@@ -41,9 +41,9 @@
         "contextlevel": 70
     }
 }}
-<div class="row-fluid rtl-compatible m-t-1 m-b-1">
+<div class="row-fluid rtl-compatible mt-1 mb-1">
     <div class="col-md-9 span9">
-        <div class="row-fluid rtl-compatible m-t-1 m-b-1">
+        <div class="row-fluid rtl-compatible mt-1 mb-1">
             <div class="col-md-3 span3">
                 <strong>{{#str}}category, tool_dataprivacy{{/str}}</strong>
             </div>
@@ -51,7 +51,7 @@
                 {{category}}
             </div>
         </div>
-        <div class="row-fluid rtl-compatible m-t-1 m-b-1">
+        <div class="row-fluid rtl-compatible mt-1 mb-1">
             <div class="col-md-3 span3">
                 <strong>{{#str}}purpose, tool_dataprivacy{{/str}}</strong>
             </div>
index bb531da..ce3249c 100644 (file)
                 {{/modemodule}}
             {{/canedit}}
             {{#modemodule}}
-            <table class="m-t-1 table table-striped">
+            <table class="mt-1 table table-striped">
                 <thead>
                     <tr>
                         <th>&nbsp;</th>
index 1f544ac..bb4cc65 100644 (file)
 {{/httpsite}}
 
 <div data-region="datarequests">
-    <div class="m-t-1 m-b-1">
+    <div class="mt-1 mb-1">
         <a href="{{newdatarequesturl}}" class="btn btn-primary" data-action="new-request">
             {{#str}}newrequest, tool_dataprivacy{{/str}}
         </a>
index 474d4a6..c43746f 100644 (file)
@@ -54,7 +54,7 @@
 }}
 
 {{#navigation}}
-    <div class="m-b-1">
+    <div class="mb-1">
         {{> core/action_link}}
     </div>
 {{/navigation}}
@@ -63,8 +63,8 @@
   {{#str}}purposeoverview, tool_dataprivacy{{/str}}
 </p>
 
-<div data-region="purposes" class="m-b-1">
-    <div class="m-y-1">
+<div data-region="purposes" class="mb-1">
+    <div class="my-1">
         <button class="btn btn-secondary" data-add-element="purpose" title="{{#str}}addpurpose, tool_dataprivacy{{/str}}">
             {{#pix}}t/add, moodle, {{#str}}addpurpose, tool_dataprivacy{{/str}}{{/pix}}
         </button>
index 41f6aff..fc35c91 100644 (file)
                  title="{{#str}}pictureof, moodle, {{foruser.fullname}}{{/str}}" />
         </div>
         <div class="media-body">
-            <h4 class="m-t-0 m-b-1">
+            <h4 class="mt-0 mb-1">
                 <a href="{{foruser.profileurl}}" title="{{#str}}viewprofile{{/str}}">{{foruser.fullname}}</a>
             </h4>
             <a href="mailto:{{foruser.email}}">{{foruser.email}}</a>
-            <div class="clearfix m-t-1 m-b-1">
-            <span class="pull-left m-r-1">
+            <div class="clearfix mt-1 mb-1">
+            <span class="pull-left mr-1">
                 <strong>{{#str}}daterequesteddetail, tool_dataprivacy{{/str}}</strong> {{#userdate}} {{timecreated}}, {{#str}} strftimedatetime {{/str}} {{/userdate}}
             </span>
-                <span class="pull-left m-r-1">
+                <span class="pull-left mr-1">
                 <strong>{{#str}}statusdetail, tool_dataprivacy{{/str}}</strong>
                 <span class="badge {{statuslabelclass}}">{{statuslabel}}</span>
             </span>
-            <span class="pull-left m-r-1">
+            <span class="pull-left mr-1">
                 <strong>{{#str}}requestbydetail, tool_dataprivacy{{/str}}</strong>
                 <span><a href="{{requestedbyuser.profileurl}}" title="{{#str}}viewprofile{{/str}}">{{requestedbyuser.fullname}}</a></span>
             </span>
@@ -84,7 +84,7 @@
         </div>
     </div>
     <hr>
-    <div class="m-b-1">
+    <div class="mb-1">
         <strong>{{#str}}messagelabel, tool_dataprivacy{{/str}}</strong>
     </div>
     <div>
index ea4f15d..66eeecc 100644 (file)
@@ -51,7 +51,7 @@
         ]
     }
 }}
-<form method="post" action="{{action}}" class="m-b-1" role="search" id="request_filter_form">
+<form method="post" action="{{action}}" class="mb-1" role="search" id="request_filter_form">
     <label for="request-filters" class="sr-only">{{#str}}filters{{/str}}</label>
     <select name="request-filters[]" id="request-filters" multiple="multiple" class="form-autocomplete-original-select">
         {{#filteroptions}}
index 04464ba..4b6b645 100644 (file)
@@ -66,7 +66,7 @@
 }}
 <div class="container-fluid langimport">
     <div class="row row-fluid rtl-compatible">
-        <div class="col-md-{{#caninstall}}6{{/caninstall}}{{^caninstall}}12{{/caninstall}} span{{#caninstall}}6{{/caninstall}}{{^caninstall}}12{{/caninstall}} m-b-1">
+        <div class="col-md-{{#caninstall}}6{{/caninstall}}{{^caninstall}}12{{/caninstall}} span{{#caninstall}}6{{/caninstall}}{{^caninstall}}12{{/caninstall}} mb-1">
             <form id="uninstallform" action="{{uninstallurl}}" method="post">
                 <fieldset>
                     <div class="form-group">
@@ -94,7 +94,7 @@
             {{/updateurl}}
         </div>
         {{#caninstall}}
-            <div class="col-md-6 m-b-1">
+            <div class="col-md-6 mb-1">
                 <form id="installform" action="{{installurl}}" method="post">
                     <fieldset>
                         <div class="form-group">
index 7ebb157..7086d34 100644 (file)
@@ -48,7 +48,7 @@
     </div><br>
     <div data-region="action-selector-radio-buttons">
        {{#choices}}
-        <input id="action-selection-option-{{value}}" type="radio" class="m-r-1" name="choice" value="{{value}}"/><label for="action-selection-option-{{value}}">{{text}}</label><br>
+        <input id="action-selection-option-{{value}}" type="radio" class="mr-1" name="choice" value="{{value}}"/><label for="action-selection-option-{{value}}">{{text}}</label><br>
        {{/choices}}
     </div><br>
     <div data-region="action_selector-buttons">
index 19d1ea0..add66f2 100644 (file)
@@ -45,9 +45,9 @@
                     {{/ratings}}
                 </select>
             </div>
-            <div data-region="comment" class="m-t-1">
+            <div data-region="comment" class="mt-1">
                 <label for="comment_{{uniqid}}">{{#str}}ratecomment, tool_lp{{/str}}</label>
-                <textarea name="comment" id="comment_{{uniqid}}" class="form-control m-b-1"></textarea>
+                <textarea name="comment" id="comment_{{uniqid}}" class="form-control mb-1"></textarea>
             </div>
         </div>
         <div data-region="footer" class="pull-xs-right">
index f9693d0..05c69a1 100644 (file)
@@ -60,7 +60,7 @@
 {{/frameworks}}
 </select>
 {{/singleFramework}}
-<h3 class="m-t-1">{{#str}}locatecompetency, tool_lp{{/str}}</h3>
+<h3 class="mt-1">{{#str}}locatecompetency, tool_lp{{/str}}</h3>
 
 <form data-region="filtercompetencies" class="form-inline" data-frameworkid="{{framework.id}}">
     <div class="form-group">
@@ -69,7 +69,7 @@
         <button class="btn btn-secondary">{{#pix}}a/search, ,{{#str}}search{{/str}}{{/pix}}</button>
     </div>
 </form>
-<ul data-enhance="linktree" style="display: none;" class="m-t-1 competency-tree">
+<ul data-enhance="linktree" style="display: none;" class="mt-1 competency-tree">
     <li><span>{{{framework.shortname}}}</span>
         <ul>
             {{#competencies}}
@@ -78,7 +78,7 @@
         </ul>
     </li>
 </ul>
-<div data-region="link-buttons" class="m-t-1 pull-xs-right">
+<div data-region="link-buttons" class="mt-1 pull-xs-right">
     <input type="button" class="btn btn-primary" data-action="add" value="{{#str}}add{{/str}}"/>
     <input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
 </div>
index 08b38ef..40758af 100644 (file)
@@ -51,7 +51,7 @@
         <button class="btn btn-secondary">{{#pix}}a/search, ,{{#str}}search{{/str}}{{/pix}}</button>
     </div>
 </form>
-<ul data-enhance="linktree" style="display: none;" class="m-t-1 competency-tree">
+<ul data-enhance="linktree" style="display: none;" class="mt-1 competency-tree">
     <li data-id="0"><span>{{{framework.shortname}}}</span>
         <ul>
             {{#competencies}}
@@ -60,7 +60,7 @@
         </ul>
     </li>
 </ul>
-<div data-region="link-buttons" class="m-t-1 pull-xs-right">
+<div data-region="link-buttons" class="mt-1 pull-xs-right">
     <input type="button" class="btn btn-primary" data-action="add" value="{{#str}}select{{/str}}"/>
     <input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
 </div>
index 7ee035d..af8ea14 100644 (file)
@@ -64,7 +64,7 @@
     </select>
 {{/singlePlan}}
 
-<h3 class="m-t-1">{{#str}}locatecompetency, tool_lp{{/str}}</h3>
+<h3 class="mt-1">{{#str}}locatecompetency, tool_lp{{/str}}</h3>
 
 <form data-region="filtercompetencies" data-planid="{{plan.id}}" class="form-inline">
     <div class="form-group">
@@ -74,7 +74,7 @@
     </div>
 </form>
 
-<ul data-enhance="linktree" style="display: none;" class="m-t-1 competency-tree">
+<ul data-enhance="linktree" style="display: none;" class="mt-1 competency-tree">
     <li><span>{{{plan.name}}}</span>
         <ul>
             {{#competencies}}
@@ -84,7 +84,7 @@
     </li>
 </ul>
 
-<div data-region="link-buttons" class="m-t-1 pull-xs-right">
+<div data-region="link-buttons" class="mt-1 pull-xs-right">
     <input type="button" class="btn btn-primary" data-action="add" value="{{#str}}add{{/str}}"/>
     <input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
 </div>
index 59f4d57..1e9bee9 100644 (file)
@@ -81,7 +81,7 @@
         {{/config}}
     </div>
 
-    <div data-region="footer" class="pull-xs-right m-t-1">
+    <div data-region="footer" class="pull-xs-right mt-1">
         {{#config}}
         <input type="button" class="btn btn-primary" data-action="save" value="{{#str}}savechanges{{/str}}"/>
         {{/config}}
index 96f13f0..8ec768c 100644 (file)
@@ -32,7 +32,7 @@
         </div>
     </div>
     {{/plan.canbeedited}}
-    <div data-region="plan-summary" class="m-t-1">
+    <div data-region="plan-summary" class="mt-1">
         {{{plan.description}}}
         <dl>
             <dt>{{#str}}status, tool_lp{{/str}}</dt>
     </div>
     {{#plan.commentarea}}
         {{#canpostorhascomments}}
-            <div data-region="comments" class="m-t-1">
+            <div data-region="comments" class="mt-1">
                 {{>tool_lp/comment_area}}
             </div>
         {{/canpostorhascomments}}
     {{/plan.commentarea}}
-    <div data-region="plan-competencies" class="m-t-1">
+    <div data-region="plan-competencies" class="mt-1">
         <h3>{{#str}}learningplancompetencies, tool_lp{{/str}}</h3>
         <table class="generaltable fullwidth managecompetencies">
             <thead>
index 3412c2e..3f1759e 100644 (file)
@@ -58,7 +58,7 @@
 </table>
 </div>
 
-<div data-region="scale-buttons" class="m-t-1 pull-xs-right">
+<div data-region="scale-buttons" class="mt-1 pull-xs-right">
     <input type="button" class="btn btn-secondary" data-action="close" value="{{#str}}closebuttontitle{{/str}}"/>
     <input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
 </div>
index 1273788..ddedfcb 100644 (file)
@@ -32,7 +32,7 @@
         </div>
     </div>
     {{/canmanagetemplatecompetencies}}
-    <h3 class="m-t-1">{{#str}}templatecompetencies, tool_lp{{/str}}</h3>
+    <h3 class="mt-1">{{#str}}templatecompetencies, tool_lp{{/str}}</h3>
     {{#statistics}}
         {{> tool_lp/template_statistics }}
     {{/statistics}}
index 4843cad..b1a4d6f 100644 (file)
@@ -40,7 +40,7 @@
     <div data-region="actions" class="clearfix">
         <div class="pull-left">
             {{#userhasplan}}
-                <button class="btn btn-secondary m-b-1" data-action="link-competency">{{#pix}}t/add{{/pix}} {{#str}}linkcompetencies, tool_lp{{/str}}</button>
+                <button class="btn btn-secondary mb-1" data-action="link-competency">{{#pix}}t/add{{/pix}} {{#str}}linkcompetencies, tool_lp{{/str}}</button>
             {{/userhasplan}}
         </div>
     </div>
index 35cce60..05a9297 100644 (file)
@@ -439,7 +439,7 @@ class acceptances_table extends \table_sql {
         if ($this->canagreeany) {
             echo \html_writer::empty_tag('input', ['type' => 'hidden', 'name' => 'action', 'value' => 'accept']);
             echo \html_writer::empty_tag('input', ['type' => 'submit', 'data-action' => 'acceptmodal',
-                'value' => get_string('consentbulk', 'tool_policy'), 'class' => 'btn btn-primary m-t-1']);
+                'value' => get_string('consentbulk', 'tool_policy'), 'class' => 'btn btn-primary mt-1']);
             $PAGE->requires->js_call_amd('tool_policy/acceptmodal', 'getInstance', [\context_system::instance()->id]);
         }
         echo "</form>\n";
index 27ee812..1aebf34 100644 (file)
@@ -51,7 +51,7 @@
         ]
     }
 }}
-<form method="post" action="{{action}}" class="m-b-1" role="search">
+<form method="post" action="{{action}}" class="mb-1" role="search">
     <label for="unified-filters" class="sr-only">{{#str}}filters , tool_policy{{/str}}</label>
     <select name="unified-filters[]" id="unified-filters" multiple="multiple" data-originaloptionsjson="{{originaloptionsjson}}" class="form-autocomplete-original-select">
         {{#filteroptions}}
index 07058da..14bfba8 100644 (file)
@@ -60,7 +60,7 @@
 
 {{#behalfuser}}
 <div class="clearfix">
-    <div class="pull-right m-b-2">
+    <div class="pull-right mb-2">
         {{# str }} viewconsentpageforuser, tool_policy, {{{ . }}} {{/ str }}
     </div>
 </div>
@@ -72,7 +72,7 @@
     </div>
 </div>
 
-<div class="clearfix m-t-2">
+<div class="clearfix mt-2">
     <h3>{{# str }}agreepolicies, tool_policy {{/ str }}</h3>
 </div>
 <hr>
 
 <input value="{{id}}" name="listdoc[]" type="hidden">
 
-<div class="agreedoc-policy clearfix m-t-2 m-b-1">
+<div class="agreedoc-policy clearfix mt-2 mb-1">
     <h3>{{{name}}}</h3>
     <div class="agreedoc-content">
-        <div class="agreedoc-summary m-b-2">
+        <div class="agreedoc-summary mb-2">
           {{{summary}}}
         </div>
         <div class="agreedoc-msg">
             {{# str }}refertofullpolicytext, tool_policy, {{{policymodal}}} {{/ str }}
         </div>
-        <div class="agreedoc-form m-t-1">
+        <div class="agreedoc-form mt-1">
             {{#optional}}
             <div class="agreedoc-radios">
                 <div class="agreedoc-radios-1">
index ad06c19..93b8296 100644 (file)
@@ -51,7 +51,7 @@
 
 {{^haspermissionagreedocs}}
     <h3>{{{messagetitle}}}</h3>
-    <p class="m-t-1 m-b-1">{{{messagedesc}}}</p>
+    <p class="mt-1 mb-1">{{{messagedesc}}}</p>
 
     <div class="policies">
         <ul>
         </ul>
     </div>
 
-    <p class="m-t-3">{{#str}}nopermissiontoagreedocscontact, tool_policy{{/str}}</p>
+    <p class="mt-3">{{#str}}nopermissiontoagreedocscontact, tool_policy{{/str}}</p>
     <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>
+            <p class="mb-0">{{{supportname}}}</p>
+            <p class="mb-0"><a href="mailto:{{supportemail}}">{{supportemail}}</a></p>
         </div>
     </div>
 {{/haspermissionagreedocs}}
index 3e4664c..7b83c94 100644 (file)
@@ -54,7 +54,7 @@
 }}
 
 {{#returnurl}}
-<div class="text-right m-b-1">
+<div class="text-right mb-1">
     <a href="{{returnurl}}">{{# str }} backtoprevious, tool_policy {{/ str }}</a>
 </div>
 {{/returnurl}}
 
 {{#policies }}
         <hr>
-    <div class="policy_version m-b-3">
-        <div class="clearfix m-t-2">
+    <div class="policy_version mb-3">
+        <div class="clearfix mt-2">
             <h2><a id="policy-{{id}}">{{{name}}}</a></h2>
         </div>
-        <div class="policy_document_summary clearfix m-b-1">
+        <div class="policy_document_summary clearfix mb-1">
             <h3>{{# str }} policydocsummary, tool_policy {{/ str }}</h3>
             {{{summary}}}
         </div>
-        <div class="policy_document_content m-t-2">
+        <div class="policy_document_content mt-2">
             <h3>{{# str }} policydoccontent, tool_policy {{/ str }}</h3>
             {{{content}}}
         </div>
index be3e5d2..0eaee05 100644 (file)
 
 
 {{# numpolicy }}
-    <div class="clearfix m-t-2">
+    <div class="clearfix mt-2">
         <h3>{{# str }}readpolicy, tool_policy, {{{policy.name}}} {{/ str }}</h3>
     </div>
 {{/ numpolicy }}
 
 <hr>
 
-<div class="policy_document m-t-1">
-    <div class="policy_document_summary clearfix m-b-1">
+<div class="policy_document mt-1">
+    <div class="policy_document_summary clearfix mb-1">
         {{{policy.summary}}}
     </div>
-    <div class="policy_document_content m-t-2">
+    <div class="policy_document_content mt-2">
         {{{policy.content}}}
     </div>
 </div>
index 230f615..b88e2cb 100644 (file)
@@ -68,7 +68,7 @@
             {{^loginname}}{{#str}}auth_shibboleth_login_long, auth_shibboleth{{/str}}{{/loginname}}
         </h2>
         <div class="card-body">
-            <div class="row justify-content-center m-l-1 m-r-1 m-b-1">
+            <div class="row justify-content-center ml-1 mr-1 mb-1">
                 <div class="col-md-5">
                     <form action="{{loginurl}}" method="post" id="login">
                         <div class="form-group">
                                     <option value="{{value}}" {{#selected}}selected{{/selected}}>{{name}}</option>
                                 {{/idps}}
                             </select>
-                            <div class="invalid-feedback text-danger m-b-1" {{#isvalid}}hidden{{/isvalid}}>
+                            <div class="invalid-feedback text-danger mb-1" {{#isvalid}}hidden{{/isvalid}}>
                                 {{#str}}auth_shibboleth_errormsg, auth_shibboleth{{/str}}
                             </div>
                         </div>
-                        <button type="submit" class="btn btn-primary btn-block m-b-1" accesskey="s">
+                        <button type="submit" class="btn btn-primary btn-block mb-1" accesskey="s">
                             {{#str}}select, moodle{{/str}}
                         </button>
-                        <p class="form-text text-muted m-t-1 m-b-1">
+                        <p class="form-text text-muted mt-1 mb-1">
                             {{#str}}auth_shib_contact_administrator, auth_shibboleth, {{adminemail}}{{/str}}
                         </p>
                     </form>
         </div>
     </div>
     {{#showinstructions}}
-    <div class="card m-t-1">
-        <div class="card-body m-l-1 m-r-1 m-b-1">
+    <div class="card mt-1">
+        <div class="card-body ml-1 mr-1 mb-1">
             <h2 class="card-title">{{#str}}firsttime, moodle{{/str}}</h2>
             <p>
                 {{{instructions}}}
index adb9f36..cc76dd5 100644 (file)
Binary files a/availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-debug.js and b/availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-debug.js differ
index 6df6554..50c96e9 100644 (file)
Binary files a/availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-min.js and b/availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form-min.js differ
index adb9f36..cc76dd5 100644 (file)
Binary files a/availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form.js and b/availability/condition/grade/yui/build/moodle-availability_grade-form/moodle-availability_grade-form.js differ
index 7769679..1957d9a 100644 (file)
@@ -44,16 +44,16 @@ M.availability_grade.form.getNode = function(json) {
         html += '<option value="' + grade.id + '">' + grade.name + '</option>';
     }
     html += '</select></span></label> <br><span class="availability-group form-group">' +
-            '<label><input type="checkbox" class="form-check-input m-x-1" name="min"/>' +
+            '<label><input type="checkbox" class="form-check-input mx-1" name="min"/>' +
             M.util.get_string('option_min', 'availability_grade') +
             '</label> <label><span class="accesshide">' + M.util.get_string('label_min', 'availability_grade') +
-            '</span><input type="text" class="form-control m-x-1" name="minval" title="' +
+            '</span><input type="text" class="form-control mx-1" name="minval" title="' +
             M.util.get_string('label_min', 'availability_grade') + '"/></label>%</span><br>' +
             '<span class="availability-group form-group">' +
-            '<label><input type="checkbox" class="form-check-input m-x-1" name="max"/>' +
+            '<label><input type="checkbox" class="form-check-input mx-1" name="max"/>' +
             M.util.get_string('option_max', 'availability_grade') +
             '</label> <label><span class="accesshide">' + M.util.get_string('label_max', 'availability_grade') +
-            '</span><input type="text" class="form-control m-x-1" name="maxval" title="' +
+            '</span><input type="text" class="form-control mx-1" name="maxval" title="' +
             M.util.get_string('label_max', 'availability_grade') + '"/></label>%</span>';
     var node = Y.Node.create('<div class="d-inline-block form-inline">' + html + '</div>');
 
index eea5b3d..ed45e94 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 23da9be..6411461 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 eea5b3d..ed45e94 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 66c7186..842b07f 100644 (file)
@@ -356,24 +356,24 @@ M.core_availability.List = function(json, root, parentRoot) {
     // Create DIV structure (without kids).
     this.node = Y.Node.create('<div class="availability-list"><h3 class="accesshide"></h3>' +
             '<div class="availability-inner">' +
-            '<div class="availability-header m-b-1"><span>' +
+            '<div class="availability-header mb-1"><span>' +
             M.util.get_string('listheader_sign_before', 'availability') + '</span>' +
             ' <label><span class="accesshide">' + M.util.get_string('label_sign', 'availability') +
-            ' </span><select class="availability-neg custom-select m-x-1"' +
+            ' </span><select class="availability-neg custom-select mx-1"' +
             ' title="' + M.util.get_string('label_sign', 'availability') + '">' +
             '<option value="">' + M.util.get_string('listheader_sign_pos', 'availability') + '</option>' +
             '<option value="!">' + M.util.get_string('listheader_sign_neg', 'availability') + '</option></select></label> ' +
             '<span class="availability-single">' + M.util.get_string('listheader_single', 'availability') + '</span>' +
             '<span class="availability-multi">' + M.util.get_string('listheader_multi_before', 'availability') +
             ' <label><span class="accesshide">' + M.util.get_string('label_multi', 'availability') + ' </span>' +
-            '<select class="availability-op custom-select m-x-1"' +
+            '<select class="availability-op custom-select mx-1"' +
             ' title="' + M.util.get_string('label_multi', 'availability') + '"><option value="&">' +
             M.util.get_string('listheader_multi_and', 'availability') + '</option>' +
             '<option value="|">' + M.util.get_string('listheader_multi_or', 'availability') + '</option></select></label> ' +
             M.util.get_string('listheader_multi_after', 'availability') + '</span></div>' +
             '<div class="availability-children"></div>' +
             '<div class="availability-none"><span class="p-x-1">' + M.util.get_string('none', 'moodle') + '</span></div>' +
-            '<div class="clearfix m-t-1"></div>' +
+            '<div class="clearfix mt-1"></div>' +
             '<div class="availability-button"></div></div><div class="clearfix"></div></div>');
     if (!root) {
         this.node.addClass('availability-childlist d-sm-flex align-items-center');
@@ -408,12 +408,12 @@ M.core_availability.List = function(json, root, parentRoot) {
         noneNode.appendChild(deleteIcon.span);
 
         // Also if it's not the root, none is actually invalid, so add a label.
-        noneNode.appendChild(Y.Node.create('<span class="m-t-1 label label-warning">' +
+        noneNode.appendChild(Y.Node.create('<span class="mt-1 label label-warning">' +
                 M.util.get_string('invalid', 'availability') + '</span>'));
     }
 
     // Create the button and add it.
-    var button = Y.Node.create('<button type="button" class="btn btn-secondary m-t-1">' +
+    var button = Y.Node.create('<button type="button" class="btn btn-secondary mt-1">' +
             M.util.get_string('addrestriction', 'availability') + '</button>');
     button.on("click", function() {
         this.clickAdd();
index 2bea83c..d307e54 100644 (file)
@@ -631,7 +631,7 @@ class core_backup_renderer extends plugin_renderer_base {
     public function render_restore_course_search(restore_course_search $component) {
         $url = $component->get_url();
 
-        $output = html_writer::start_tag('div', array('class' => 'restore-course-search form-inline m-b-1'));
+        $output = html_writer::start_tag('div', array('class' => 'restore-course-search form-inline mb-1'));
         $output .= html_writer::start_tag('div', array('class' => 'rcs-results w-75'));
 
         $table = new html_table();
@@ -791,7 +791,7 @@ class core_backup_renderer extends plugin_renderer_base {
     public function render_restore_category_search(restore_category_search $component) {
         $url = $component->get_url();
 
-        $output = html_writer::start_tag('div', array('class' => 'restore-course-search form-inline m-b-1'));
+        $output = html_writer::start_tag('div', array('class' => 'restore-course-search form-inline mb-1'));
         $output .= html_writer::start_tag('div', array('class' => 'rcs-results w-75'));
 
         $table = new html_table();
index 8e75282..23d9ee2 100644 (file)
@@ -117,7 +117,7 @@ class block_login extends block_base {
                     $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"/>';
+                        $this->content->text .= '<img src="' . s($idp['iconurl']) . '" width="24" height="24" class="mr-1"/>';
                     }
                     $this->content->text .= s($idp['name']) . '</a></div>';
                 }
index 8d28caf..ce8555b 100644 (file)
@@ -26,7 +26,7 @@
         "summary": false
     }
 }}
-<div class="dropdown m-b-1">
+<div class="dropdown mb-1">
     <button id="displaydropdown" type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
     aria-label="{{#str}} aria:displaydropdown, block_myoverview {{/str}}">
         {{#pix}} a/view_icon_active {{/pix}}
index 45605eb..fb56f6d 100644 (file)
@@ -27,7 +27,7 @@
         "past": false
     }
 }}
-<div class="dropdown m-b-1 mr-auto">
+<div class="dropdown mb-1 mr-auto">
     <button id="groupingdropdown" type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="{{#str}} aria:groupingdropdown, block_myoverview {{/str}}">
         {{#pix}} i/filter {{/pix}}
         <span class="d-sm-inline-block" data-active-item-text>
index 574b5e5..3289ea5 100644 (file)
@@ -26,7 +26,7 @@
     }
 }}
 
-<div class="m-b-1 mr-1 d-flex align-items-center">
+<div class="mb-1 mr-1 d-flex align-items-center">
     <div class="dropdown">
         <button id="sortingdropdown" type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown"  aria-haspopup="true" aria-expanded="false" aria-label="{{#str}} aria:sortingdropdown, block_myoverview {{/str}}">
             {{#pix}} t/sort_by {{/pix}}
index 8410211..022346e 100644 (file)
     </ul>
     {{/list}}
     {{#summary}}
-    <div class="course-summaryitem m-b-1 p-2">
+    <div class="course-summaryitem mb-1 p-2">
         <div class="d-flex">
             <div class="d-flex">
-                <div class="bg-pulse-grey rounded-circle m-0 p-0 m-r-1" style="height: 7rem; width: 7rem;"></div>
+                <div class="bg-pulse-grey rounded-circle m-0 p-0 mr-1" style="height: 7rem; width: 7rem;"></div>
             </div>
             <div class="d-flex w-100 flex-column">
-                <div class="bg-pulse-grey w-50 m-b-1" style="height: 1rem; margin: 0.5rem 0"></div>
+                <div class="bg-pulse-grey w-50 mb-1" style="height: 1rem; margin: 0.5rem 0"></div>
                 <div class="bg-pulse-grey w-100" style="height: 13rem"></div>
             </div>
         </div>
index 876a7ec..24e7cf6 100644 (file)
 }}
 <div role="list">
 {{#courses}}
-    <div class="course-summaryitem m-b-1 p-2" role="listitem"
+    <div class="course-summaryitem mb-1 p-2" role="listitem"
         data-region="course-content"
         data-course-id="{{{id}}}">
         <div class="d-flex">
             <a href="{{viewurl}}" tabindex="-1">
-                <div class="summaryimage rounded-circle m-r-1" style='background-image: url("{{{courseimage}}}");'>
+                <div class="summaryimage rounded-circle mr-1" style='background-image: url("{{{courseimage}}}");'>
                     <span class="sr-only">{{#str}}aria:courseimage, core_course{{/str}}</span>
                 </div>
             </a>
index bb894d7..9a0bdb4 100644 (file)
@@ -42,8 +42,8 @@
             {{$classes}}one-row fixed-width-cards justify-content-center overflow-hidden{{/classes}}
         {{/ core_course/coursecards }}
     </div>
-    <div class="hidden text-xs-center text-center m-t-3" data-region="empty-message">
-        <img class="empty-placeholder-image-lg m-t-1"
+    <div class="hidden text-xs-center text-center mt-3" data-region="empty-message">
+        <img class="empty-placeholder-image-lg mt-1"
             src="{{nocoursesimgurl}}"
             alt="{{#str}} nocourses, block_recentlyaccessedcourses {{/str}}"
             role="presentation">
index fd5a2ae..1f8d9fc 100644 (file)
@@ -42,7 +42,7 @@
 
 <div class="card-deck dashboard-card-deck one-row" role="list">
     {{#items}}
-        <a class="card dashboard-card m-b-1 py-2 coursename" href="{{{viewurl}}}">
+        <a class="card dashboard-card mb-1 py-2 coursename" href="{{{viewurl}}}">
             <div class="card-body course-info-container">
                 <div class="d-flex text-truncate">
                     <div class="d-flex align-self-center">
@@ -50,7 +50,7 @@
                     </div>
                     <div class="w-100 line-height-3 text-truncate ml-2">
                         <h6 class="mb-0 text-truncate">{{{name}}}</h6>
-                        <small class="text-muted text-truncate m-b-0">{{{coursename}}}</small>
+                        <small class="text-muted text-truncate mb-0">{{{coursename}}}</small>
                     </div>
                 </div>
             </div>
index 1d700ba..067f8eb 100644 (file)
@@ -52,7 +52,7 @@
 
     {{$content}}
         {{#description}}
-            <div class="date text-muted muted m-b-1">
+            <div class="date text-muted muted mb-1">
                 <small>{{{datepublished}}}</small>
             </div>
             <div class="description">
index 1ff653c..b89e808 100644 (file)
@@ -53,9 +53,9 @@
                title="{{name}}"
                aria-label='{{#str}} ariaeventlistitem, block_timeline, { "name": "{{name}}", "course": "{{course.fullnamedisplay}}", "date": "{{#userdate}} {{timesort}}, {{#str}} strftimedatetime, core_langconfig {{/str}} {{/userdate}}" } {{/str}}'
             ><h6 class="event-name text-truncate mb-0">{{{name}}}</h6></a>
-            <small class="text-muted text-truncate m-b-0">{{{course.fullnamedisplay}}}</small>
+            <small class="text-muted text-truncate mb-0">{{{course.fullnamedisplay}}}</small>
             {{#action.actionable}}
-            <h6 class="m-b-0 pt-2">
+            <h6 class="mb-0 pt-2">
                 <a href="{{{action.url}}}" aria-label="{{{action.name}}}" title="{{{action.name}}}" class="list-group-item-action">{{{action.name}}}</a>
             </h6>
             {{/action.actionable}}
index 9a640c4..83c3b8a 100644 (file)
@@ -50,6 +50,6 @@
             role="presentation"
             style="height: 70px; width: 70px"
         >
-        <p class="text-muted m-t-1">{{#str}} noevents, block_timeline {{/str}}</p>
+        <p class="text-muted mt-1">{{#str}} noevents, block_timeline {{/str}}</p>
     </div>
 </div>
index d4d1799..c3bfbe2 100644 (file)
@@ -27,7 +27,7 @@
         {{> block_timeline/course-item-loading-placeholder }}
         {{> block_timeline/course-item-loading-placeholder }}
     </ul>
-    <div class="bg-pulse-grey m-t-1" style="width: 100px; height: 30px; margin-left: auto; margin-right: auto"></div>
+    <div class="bg-pulse-grey mt-1" style="width: 100px; height: 30px; margin-left: auto; margin-right: auto"></div>
 </div>
 <ul class="list-group unstyled" data-region="courses-list"></ul>
 <div class="hidden text-xs-center text-center pt-3" data-region="more-courses-button-container">
@@ -45,5 +45,5 @@
         role="presentation"
         style="height: 70px; width: 70px"
     >
-    <p class="text-muted m-t-1">{{#str}} nocoursesinprogress, block_timeline {{/str}}</p>
+    <p class="text-muted mt-1">{{#str}} nocoursesinprogress, block_timeline {{/str}}</p>
 </div>
index e451b2f..5fed596 100644 (file)
@@ -205,9 +205,9 @@ class core_calendar_renderer extends plugin_renderer_base {
             $output .= html_writer::tag('div', $event->courselink);
         }
         if (!empty($event->time)) {
-            $output .= html_writer::tag('span', $event->time, array('class' => 'date pull-xs-right m-r-1'));
+            $output .= html_writer::tag('span', $event->time, array('class' => 'date pull-xs-right mr-1'));
         } else {
-            $attrs = array('class' => 'date pull-xs-right m-r-1');
+            $attrs = array('class' => 'date pull-xs-right mr-1');
             $output .= html_writer::tag('span', calendar_time_representation($event->timestart), $attrs);
         }
 
@@ -296,7 +296,7 @@ class core_calendar_renderer extends plugin_renderer_base {
             $label = get_string('listofcourses');
         }
 
-        $select = html_writer::label($label, 'course', false, ['class' => 'm-r-1']);
+        $select = html_writer::label($label, 'course', false, ['class' => 'mr-1']);
         $select .= html_writer::select($courseoptions, 'course', $selected, false, ['class' => 'cal_courses_flt']);
 
         return $select;
index 4e6e789..a15f2ff 100644 (file)
@@ -29,7 +29,7 @@
     {
     }
 }}
-<div id="event-filter-{{uniqid}}" class="calendar_filters m-t-2">
+<div id="event-filter-{{uniqid}}" class="calendar_filters mt-2">
     <ul>
         {{#eventtypes}}
             <li>
index f1fec54..c790e55 100644 (file)
@@ -59,7 +59,7 @@
             {{#icon}}<div class="d-inline-block mt-1 align-top">{{#pix}} {{key}}, {{component}}, {{alttext}} {{/pix}}</div>{{/icon}}
             <div class="d-inline-block">
                 <h3 class="name d-inline-block">{{{name}}}</h3>
-                <span class="date pull-xs-right m-r-1">{{{formattedtime}}}</span>
+                <span class="date pull-xs-right mr-1">{{{formattedtime}}}</span>
                 <div class="location">{{#location}}{{{location}}}{{/location}}</div>
             </div>
         </div>
index 7b6f28d..f75157a 100644 (file)
@@ -31,7 +31,7 @@
     {
     }
 }}
-<div class="eventlist m-y-1">
+<div class="eventlist my-1">
     {{#events}}
         {{> core_calendar/event_item }}
     {{/events}}
index be43e5f..22d8d27 100644 (file)
             <div class="col-xs-1">{{#pix}} i/calendareventtime, core, {{#str}} when, core_calendar {{/str}} {{/pix}}</div>
             <div class="col-xs-11">{{{formattedtime}}}</div>
         </div>
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/calendar, core, {{#str}} eventtype, core_calendar {{/str}} {{/pix}}</div>
             <div class="col-xs-11">{{eventtype}}</div>
         </div>
         {{#description}}
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/calendareventdescription, core, {{#str}} description {{/str}} {{/pix}}</div>
             <div class="description-content col-xs-11">{{{.}}}</div>
         </div>
         {{/description}}
         {{#location}}
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/location, core, {{#str}} location {{/str}} {{/pix}}</div>
             <div class="location-content col-xs-11">{{{.}}}</div>
         </div>
         {{/location}}
         {{#isactionevent}}
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}</div>
             <div class="col-xs-11"><a href="{{course.viewurl}}">{{{course.fullname}}}</a></div>
         </div>
         {{/isactionevent}}
         {{#iscategoryevent}}
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/categoryevent, core, {{#str}} category {{/str}} {{/pix}}</div>
             <div class="col-xs-11">{{{category.nestedname}}}</div>
         </div>
         {{/iscategoryevent}}
         {{#iscourseevent}}
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}</div>
             <div class="col-xs-11"><a href="{{url}}">{{{course.fullname}}}</a></div>
         </div>
         {{/iscourseevent}}
         {{#groupname}}
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/courseevent, core, {{#str}} course {{/str}} {{/pix}}</div>
             <div class="col-xs-11"><a href="{{url}}">{{{course.fullname}}}</a></div>
         </div>
-        <div class="row m-t-1">
+        <div class="row mt-1">
             <div class="col-xs-1">{{#pix}} i/groupevent, core, {{#str}} group {{/str}} {{/pix}}</div>
             <div class="col-xs-11">{{{groupname}}}</div>
         </div>
         {{/groupname}}
         {{#subscription}}
             {{#displayeventsource}}
-                <div class="row m-t-1">
+                <div class="row mt-1">
                     <div class="col-xs-1">{{#pix}} i/rss, core, {{#str}} eventsource, core_calendar {{/str}} {{/pix}}</div>
                     <div class="col-xs-11">
                         {{#subscriptionurl}}
index fbf3fde..5041ca2 100644 (file)
@@ -43,7 +43,7 @@
     {{> core_calendar/header }}
     {{> core_calendar/month_navigation }}
     {{> core/overlay_loading}}
-    <table id="month-detailed-{{uniqid}}" class="calendarmonth calendartable m-b-0">
+    <table id="month-detailed-{{uniqid}}" class="calendarmonth calendartable mb-0">
         <thead>
             <tr>
                 {{# daynames }}
index 24fa3e7..f611f98 100644 (file)
@@ -104,11 +104,11 @@ if ($editcontrols = cohort_edit_controls($context, $baseurl)) {
 
 // Add search form.
 $search  = html_writer::start_tag('form', array('id'=>'searchcohortquery', 'method'=>'get', 'class' => 'form-inline search-cohort'));
-$search .= html_writer::start_div('m-b-1');
+$search .= html_writer::start_div('mb-1');
 $search .= html_writer::label(get_string('searchcohort', 'cohort'), 'cohort_search_q', true,
-        array('class' => 'm-r-1')); // No : in form labels!
+        array('class' => 'mr-1')); // No : in form labels!
 $search .= html_writer::empty_tag('input', array('id' => 'cohort_search_q', 'type' => 'text', 'name' => 'search',
-        'value' => $searchquery, 'class' => 'form-control m-r-1'));
+        'value' => $searchquery, 'class' => 'form-control mr-1'));
 $search .= html_writer::empty_tag('input', array('type' => 'submit', 'value' => get_string('search', 'cohort'),
         'class' => 'btn btn-secondary'));
 $search .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'contextid', 'value'=>$contextid));
index 59536cf..f8e9f23 100644 (file)
@@ -220,7 +220,7 @@ class comment {
         // load template
         $this->template = html_writer::start_tag('div', array('class' => 'comment-message'));
 
-        $this->template .= html_writer::start_tag('div', array('class' => 'comment-message-meta m-r-3'));
+        $this->template .= html_writer::start_tag('div', array('class' => 'comment-message-meta mr-3'));
 
         $this->template .= html_writer::tag('span', '___picture___', array('class' => 'picture'));
         $this->template .= html_writer::tag('span', '___name___', array('class' => 'user')) . ' - ';
index d04182a..512ff49 100644 (file)
@@ -158,7 +158,7 @@ class comment_manager {
         $table = new html_table();
         $table->head = array (
             html_writer::checkbox('selectall', '', false, get_string('selectall'), array('id' => 'comment_select_all',
-                'class' => 'm-r-1')),
+                'class' => 'mr-1')),
             get_string('author', 'search'),
             get_string('content'),
             get_string('action')
index d9b5c55..83ba88a 100644 (file)
@@ -426,7 +426,7 @@ class core_course_management_renderer extends plugin_renderer_base {
                     'resortcategoriesby',
                     'name',
                     false,
-                    array('aria-label' => get_string('selectcategorysortby'), 'class' => 'm-t-1')
+                    array('aria-label' => get_string('selectcategorysortby'), 'class' => 'mt-1')
                 )
             );
             $form .= html_writer::div(
@@ -445,14 +445,14 @@ class core_course_management_renderer extends plugin_renderer_base {
                     'resortcoursesby',
                     'fullname',
                     false,
-                    array('aria-label' => get_string('selectcoursesortby'), 'class' => 'm-t-1')
+                    array('aria-label' => get_string('selectcoursesortby'), 'class' => 'mt-1')
                 )
             );
             $form .= html_writer::empty_tag('input', array('type' => 'submit', 'name' => 'bulksort',
-                'value' => get_string('sort'), 'class' => 'btn btn-secondary m-y-1'));
+                'value' => get_string('sort'), 'class' => 'btn btn-secondary my-1'));
             $form .= html_writer::end_div();
 
-            $html .= html_writer::start_div('detail-pair row yui3-g m-y-1');
+            $html .= html_writer::start_div('detail-pair row yui3-g my-1');
             $html .= html_writer::div(html_writer::span(get_string('sorting')), 'pair-key col-md-3 yui3-u-1-4');
             $html .= html_writer::div($form, 'pair-value col-md-9 yui3-u-3-4');
             $html .= html_writer::end_div();
@@ -468,7 +468,7 @@ class core_course_management_renderer extends plugin_renderer_base {
                 'movecategoriesto',
                 '',
                 array('' => 'choosedots'),
-                array('aria-labelledby' => 'moveselectedcategoriesto', 'class' => 'm-r-1')
+                array('aria-labelledby' => 'moveselectedcategoriesto', 'class' => 'mr-1')
             );
             $submit = array('type' => 'submit', 'name' => 'bulkmovecategories', 'value' => get_string('move'),
                 'class' => 'btn btn-secondary');
@@ -764,7 +764,7 @@ class core_course_management_renderer extends plugin_renderer_base {
                 'movecoursesto',
                 '',
                 array('' => 'choosedots'),
-                array('aria-labelledby' => 'moveselectedcoursesto', 'class' => 'm-r-1')
+                array('aria-labelledby' => 'moveselectedcoursesto', 'class' => 'mr-1')
             );
             $submit = array('type' => 'submit', 'name' => 'bulkmovecourses', 'value' => get_string('move'),
                 'class' => 'btn btn-secondary');
index b4840f9..f03ae95 100644 (file)
@@ -102,11 +102,11 @@ if ($switchrole > 0 && has_capability('moodle/role:switchroles', $context)) {
     foreach ($roles as $key => $role) {
         $url = new moodle_url('/course/switchrole.php', array('id' => $id, 'switchrole' => $key, 'returnurl' => $returnurl));
         // Button encodes special characters, apply htmlspecialchars_decode() to avoid double escaping.
-        echo $OUTPUT->container($OUTPUT->single_button($url, htmlspecialchars_decode($role)), 'm-x-3 m-b-1');
+        echo $OUTPUT->container($OUTPUT->single_button($url, htmlspecialchars_decode($role)), 'mx-3 mb-1');
     }
 
     $url = new moodle_url($returnurl);
-    echo $OUTPUT->container($OUTPUT->action_link($url, get_string('cancel')), 'm-x-3 m-b-1');
+    echo $OUTPUT->container($OUTPUT->action_link($url, get_string('cancel')), 'mx-3 mb-1');
 
     echo $OUTPUT->footer();
     exit;
index 5391a20..2dfc6dd 100644 (file)
@@ -64,7 +64,7 @@
         }
     }
 }}
-<div class="m-t-2 m-b-1 activity-navigation">
+<div class="mt-2 mb-1 activity-navigation">
 {{< core/columns-1to1to1}}
     {{$column1}}
         <div class="pull-left">
index 84169ae..88da302 100644 (file)
     }
 }}
 {{#activities}}
-<div class="row m-b-1 row-fluid">
+<div class="row mb-1 row-fluid">
     <div class="activityinstance col-xs-6 span6">
         <div class="mod-indent-outer"></div>
         <div>
             {{#canmanage}}
             <label class="accesshide" for="selectactivity_{{cmid}}">{{#str}}select, completion{{/str}} {{modname}}</label>
-            <input type="checkbox" id="selectactivity_{{cmid}}" class="m-r-1" name="cmid[]" data-section="{{sectionnumber}}" value="{{cmid}}" aria-label="{{#str}}checkactivity, completion, {{{modname}}}{{/str}}">
+            <input type="checkbox" id="selectactivity_{{cmid}}" class="mr-1" name="cmid[]" data-section="{{sectionnumber}}" value="{{cmid}}" aria-label="{{#str}}checkactivity, completion, {{{modname}}}{{/str}}">
             {{/canmanage}}
             <a href="{{url}}">
             <img src="{{icon}}" class="iconlarge activityicon" alt=" " role="presentation" />
@@ -53,7 +53,7 @@
                 {{{completionstatus.icon}}}
             {{/completionstatus.icon}}
             {{^completionstatus.icon}}
-                <span class="m-r-3"></span>
+                <span class="mr-3"></span>
             {{/completionstatus.icon}}
         </div>
         <div class="col-sm-11  p-l-0">
index e40bca8..723d657 100644 (file)
     }
 }}
 <div class="container-fluid">
-    <div class="row m-b-2">
+    <div class="row mb-2">
         <div class="col">{{#str}}bulkactivitydetail, core_completion{{/str}}</div>
     </div>
 <form method="post" action="editbulkcompletion.php" class="mform" id="theform">
-    <div class="row m-b-2">
+    <div class="row mb-2">
         <div class="col">
             <input type="submit" value="{{#str}}edit{{/str}}" class="btn btn-primary" name="submitbutton" aria-label="{{#str}}updateactivities, completion{{/str}}" disabled/>
         </div>
     </div>
-    <div class="row m-b-1">
+    <div class="row mb-1">
         <div class="col-xs-6 span6">
-            <input type="checkbox" class="mastercheck m-r-1" aria-label="{{#str}}checkall, completion{{/str}}">
+            <input type="checkbox" class="mastercheck mr-1" aria-label="{{#str}}checkall, completion{{/str}}">
             <label class="font-weight-bold">{{#str}}activitieslabel, core_completion{{/str}}</label>
         </div>
         <div class="col-xs-6 span6">
     <hr class="row">
     <div class="topics">
         {{#sections}}
-                <div class="m-b-1">
-                    <div class="row m-b-1 row-fluid">
+                <div class="mb-1">
+                    <div class="row mb-1 row-fluid">
                         <div class="col-sm-12">
-                            <input type="checkbox" data-section-master="{{sectionnumber}}" class="m-r-1" aria-label="{{#str}}checkallsection, completion, {{{name}}}{{/str}}">
+                            <input type="checkbox" data-section-master="{{sectionnumber}}" class="mr-1" aria-label="{{#str}}checkallsection, completion, {{{name}}}{{/str}}">
                             <h3 class="d-inline-block">{{{name}}}</h3>
                         </div>
                     </div>
index 4cccedb..14834ac 100644 (file)
     }
 }}
 <div class="container-fluid">
-    <div class="row m-b-2">
+    <div class="row mb-2">
         <div class="col">{{#str}}bulkactivitydetail, core_completion{{/str}}</div>
     </div>
 <form method="post" action="editdefaultcompletion.php" class="mform" id="theform">
-    <div class="row m-b-2">
+    <div class="row mb-2">
         <div class="col">
             <input type="submit" value="{{#str}}edit{{/str}}" class="btn btn-primary" name="submitbutton" aria-label="{{#str}}updateactivities, completion{{/str}}" disabled/>
         </div>
     </div>
-    <div class="row m-b-1">
+    <div class="row mb-1">
         <div class="col-xs-6 span6">
-            <input type="checkbox" class="mastercheck m-r-1" aria-label="{{#str}}checkall, completion{{/str}}">
+            <input type="checkbox" class="mastercheck mr-1" aria-label="{{#str}}checkall, completion{{/str}}">
             <label class="font-weight-bold">{{#str}}activitieslabel, core_completion{{/str}}</label>
         </div>
         <div class="col-xs-6 span6">
     <div class="modules">
         {{#modules}}
             {{#canmanage}}
-             <div class="m-b-1">
-                <div class="row m-b-1 row-fluid">
+             <div class="mb-1">
+                <div class="row mb-1 row-fluid">
                     <div class="col-xs-6 span6">
                         <label class="accesshide" for="modtype_{{id}}">{{#str}}select, core_completion{{/str}} {{formattedname}}</label>
-                        <input id="modtype_{{id}}" type="checkbox" class="m-r-1" name="modids[]" value="{{id}}" aria-label="{{#str}}checkactivity, completion, {{{formattedname}}}{{/str}}">
+                        <input id="modtype_{{id}}" type="checkbox" class="mr-1" name="modids[]" value="{{id}}" aria-label="{{#str}}checkactivity, completion, {{{formattedname}}}{{/str}}">
                         <img class="iconlarge activityicon" src="{{icon}}" alt=" " role="presentation" />
                         <span>{{{formattedname}}}</span>
                     </div>
@@ -73,7 +73,7 @@
                                 {{{completionstatus.icon}}}
                             {{/completionstatus.icon}}
                             {{^completionstatus.icon}}
-                                <span class="m-r-3"></span>
+                                <span class="mr-3"></span>
                             {{/completionstatus.icon}}
                         </div>
                         <div class="col-sm-11 p-l-0">
index 706761b..5058a51 100644 (file)
 {{{form}}}
 <p>{{#str}}affectedactivities, completion, {{modulescount}}{{/str}}</p>
 <div class="container-fluid">
-    <div class="modules m-b-1">
-        <div class="row m-b-1">
+    <div class="modules mb-1">
+        <div class="row mb-1">
             {{#modules}}
                 <div class="col-sm-2">
-                    <img src="{{icon}}" class="m-r-1 m-b-1" alt=" " role="presentation" />
+                    <img src="{{icon}}" class="mr-1 mb-1" alt=" " role="presentation" />
                     <span>{{{formattedname}}}</span>
                 </div>
             {{/modules}}
index 48c962c..67ae377 100644 (file)
@@ -24,8 +24,8 @@
         "nocoursesimgurl": "https://moodlesite/theme/image.php/boost/block_recentlyaccessedcourses/1535727318/courses"
     }
 }}
-<div class="text-xs-center text-center m-t-3" data-region="empty-message">
-    <img class="empty-placeholder-image-lg m-t-1"
+<div class="text-xs-center text-center mt-3" data-region="empty-message">
+    <img class="empty-placeholder-image-lg mt-1"
          src="{{nocoursesimg}}"
          alt="{{$nocoursestring}}{{#str}} nocourses, core {{/str}}{{/nocoursestring}}"
          role="presentation">
index 32c5c10..9bf0182 100644 (file)
@@ -41,7 +41,7 @@ class core_enrol_renderer extends plugin_renderer_base {
                             'value'    => $button->label,
                             'disabled' => $button->disabled ? 'disabled' : null,
                             'title'    => $button->tooltip,
-                            'class'    => 'btn btn-secondary m-y-1');
+                            'class'    => 'btn btn-secondary my-1');
 
         if ($button->actions) {
             $id = html_writer::random_id('single_button');
index 5542d12..b832c54 100644 (file)
@@ -374,7 +374,7 @@ YUI.add('moodle-enrol-rolemanager', function(Y) {
             var roles = m.get(ASSIGNABLEROLES);
             for (i in roles) {
                 var buttonid = 'add_assignable_role_' + roles[i].id;
-                var buttonhtml = '<input type="button" class="btn btn-secondary m-r-1" value="' +
+                var buttonhtml = '<input type="button" class="btn btn-secondary mr-1" value="' +
                                  roles[i].name + '" id="' + buttonid + '" />';
                 var button = Y.Node.create(buttonhtml);
                 button.on('click', this.submit, this, roles[i].id);
index e768a12..e4914ff 100644 (file)
@@ -78,7 +78,7 @@
 <form id="groupeditform" action="index.php" method="post">
     <div class="container-fluid groupmanagementtable">
         <div class="row row-fluid rtl-compatible">
-            <div class="col-md-6 m-b-1">
+            <div class="col-md-6 mb-1">
                 <input type="hidden" name="id" value="{{courseid}}">
                 <div class="form-group">
                     <label for="groups">
                     <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">
+            <div class="col-md-6 mb-1">
                 <div class="form-group">
                     <label for="members">
                         <span id="memberslabel">{{#str}}membersofselectedgroup, group{{/str}}</span>
index 3c428ba..60a3335 100644 (file)
@@ -1451,13 +1451,13 @@ class block_manager {
 
             if (!$addableblocks) {
                 echo $OUTPUT->box(get_string('noblockstoaddhere'));
-                echo $OUTPUT->container($OUTPUT->action_link($addpage->url, get_string('back')), 'm-x-3 m-b-1');
+                echo $OUTPUT->container($OUTPUT->action_link($addpage->url, get_string('back')), 'mx-3 mb-1');
             } else {
                 $url = new moodle_url($addpage->url, array('sesskey' => sesskey()));
                 echo $OUTPUT->render_from_template('core/add_block_body',
                     ['blocks' => array_values($addableblocks),
                      'url' => '?' . $url->get_query_string(false)]);
-                echo $OUTPUT->container($OUTPUT->action_link($addpage->url, get_string('cancel')), 'm-x-3 m-b-1');
+                echo $OUTPUT->container($OUTPUT->action_link($addpage->url, get_string('cancel')), 'mx-3 mb-1');
             }
 
             echo $OUTPUT->footer();
index 32b7e01..1b4fdf4 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 21075fd..ca8bb58 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 1897b0b..9e38bd2 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 cb75f7c..4c1cb08 100644 (file)
@@ -70,7 +70,7 @@ var COMPONENTNAME = 'atto_equation',
             '</form>',
         LIBRARY: '' +
             '<div class="{{CSS.LIBRARY}}">' +
-                '<ul class="root nav nav-tabs m-b-1" role="tablist">' +
+                '<ul class="root nav nav-tabs mb-1" role="tablist">' +
                     '{{#each library}}' +
                         '<li  class="nav-item">' +
                             '<a class="nav-link" href="#{{../elementid}}_{{../CSS.LIBRARY_GROUP_PREFIX}}_{{@key}}" ' +
@@ -80,7 +80,7 @@ var COMPONENTNAME = 'atto_equation',
                         '</li>' +
                     '{{/each}}' +
                 '</ul>' +
-                '<div class="tab-content m-b-1 {{CSS.LIBRARY_GROUPS}}">' +
+                '<div class="tab-content mb-1 {{CSS.LIBRARY_GROUPS}}">' +
                     '{{#each library}}' +
                         '<div data-medium-type="{{CSS.LINK}}" class="tab-pane" ' +
                         'id="{{../elementid}}_{{../CSS.LIBRARY_GROUP_PREFIX}}_{{@key}}">' +
index 4b40ea5..6e9752f 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 882c239..f9c0921 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 e08468b..93e07c3 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 f2f1445..0289f06 100644 (file)
@@ -97,7 +97,7 @@ var CSS = {
 
                 // Add the repository browser button.
                 '{{#if showFilepicker}}' +
-                    '<div class="m-b-1">' +
+                    '<div class="mb-1">' +
                         '<label for="{{elementid}}_{{CSS.INPUTURL}}">{{get_string "enterurl" component}}</label>' +
                         '<div class="input-group input-append w-100">' +
                             '<input class="form-control {{CSS.INPUTURL}}" type="url" ' +
@@ -109,7 +109,7 @@ var CSS = {
                         '</div>' +
                     '</div>' +
                 '{{else}}' +
-                    '<div class="m-b-1">' +
+                    '<div class="mb-1">' +
                         '<label for="{{elementid}}_{{CSS.INPUTURL}}">{{get_string "enterurl" component}}</label>' +
                         '<input class="form-control fullwidth {{CSS.INPUTURL}}" type="url" ' +
                         'id="{{elementid}}_{{CSS.INPUTURL}}" size="32"/>' +
@@ -117,10 +117,10 @@ var CSS = {
                 '{{/if}}' +
 
                 // Add the Alt box.
-                '<div style="display:none" role="alert" class="alert alert-warning m-b-1 {{CSS.IMAGEALTWARNING}}">' +
+                '<div style="display:none" role="alert" class="alert alert-warning mb-1 {{CSS.IMAGEALTWARNING}}">' +
                     '{{get_string "presentationoraltrequired" component}}' +
                 '</div>' +
-                '<div class="m-b-1">' +
+                '<div class="mb-1">' +
                 '<label for="{{elementid}}_{{CSS.INPUTALT}}">{{get_string "enteralt" component}}</label>' +
                 '<input class="form-control fullwidth {{CSS.INPUTALT}}" type="text" value="" ' +
                 'id="{{elementid}}_{{CSS.INPUTALT}}" size="32"/>' +
@@ -136,20 +136,20 @@ var CSS = {
                 '</div>' +
 
                 // Add the size entry boxes.
-                '<div class="m-b-1">' +
+                '<div class="mb-1">' +
                 '<label class="" for="{{elementid}}_{{CSS.INPUTSIZE}}">{{get_string "size" component}}</label>' +
                 '<div id="{{elementid}}_{{CSS.INPUTSIZE}}" class="form-inline {{CSS.INPUTSIZE}}">' +
                 '<label class="accesshide" for="{{elementid}}_{{CSS.INPUTWIDTH}}">{{get_string "width" component}}</label>' +
-                '<input type="text" class="form-control m-r-1 input-mini {{CSS.INPUTWIDTH}}" ' +
+                '<input type="text" class="form-control mr-1 input-mini {{CSS.INPUTWIDTH}}" ' +
                 'id="{{elementid}}_{{CSS.INPUTWIDTH}}" size="4"/> x' +
 
                 // Add the height entry box.
                 '<label class="accesshide" for="{{elementid}}_{{CSS.INPUTHEIGHT}}">{{get_string "height" component}}</label>' +
-                '<input type="text" class="form-control m-l-1 input-mini {{CSS.INPUTHEIGHT}}" ' +
+                '<input type="text" class="form-control ml-1 input-mini {{CSS.INPUTHEIGHT}}" ' +
                 'id="{{elementid}}_{{CSS.INPUTHEIGHT}}" size="4"/>' +
 
                 // Add the constrain checkbox.
-                '<div class="form-check m-l-2">' +
+                '<div class="form-check ml-2">' +
                 '<input type="checkbox" class="form-check-input {{CSS.INPUTCONSTRAIN}}" ' +
                 'id="{{elementid}}_{{CSS.INPUTCONSTRAIN}}"/>' +
                 '<label class="form-check-label" for="{{elementid}}_{{CSS.INPUTCONSTRAIN}}">' +
@@ -159,7 +159,7 @@ var CSS = {
                 '</div>' +
 
                 // Add the alignment selector.
-                '<div class="form-inline m-b-1">' +
+                '<div class="form-inline mb-1">' +
                 '<label class="for="{{elementid}}_{{CSS.INPUTALIGNMENT}}">{{get_string "alignment" component}}</label>' +
                 '<select class="custom-select {{CSS.INPUTALIGNMENT}}" id="{{elementid}}_{{CSS.INPUTALIGNMENT}}">' +
                     '{{#each alignments}}' +
index cb91471..5a76e2d 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 fe26a4c..6a30d70 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 cb91471..5a76e2d 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 315ee0c..e0c566c 100644 (file)
@@ -43,7 +43,7 @@ var COMPONENTNAME = 'atto_link',
             '<form class="atto_form">' +
                 '{{#if showFilepicker}}' +
                     '<label for="{{elementid}}_atto_link_urlentry">{{get_string "enterurl" component}}</label>' +
-                    '<div class="input-group input-append w-100 m-b-1">' +
+                    '<div class="input-group input-append w-100 mb-1">' +
                         '<input class="form-control url {{CSS.URLINPUT}}" type="url" ' +
                         'id="{{elementid}}_atto_link_urlentry"/>' +
                         '<span class="input-group-append">' +
@@ -52,7 +52,7 @@ var COMPONENTNAME = 'atto_link',
                         '</span>' +
                     '</div>' +
                 '{{else}}' +
-                    '<div class="m-b-1">' +
+                    '<div class="mb-1">' +
                         '<label for="{{elementid}}_atto_link_urlentry">{{get_string "enterurl" component}}</label>' +
                         '<input class="form-control fullwidth url {{CSS.URLINPUT}}" type="url" ' +
                         'id="{{elementid}}_atto_link_urlentry" size="32"/>' +
index 45318fe..3368bfc 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 99a3243..3b1a95d 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 45318fe..3368bfc 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 cce997e..c242b70 100644 (file)
@@ -116,7 +116,7 @@ var COMPONENTNAME = 'atto_media',
     TEMPLATES = {
         ROOT: '' +
             '<form class="mform atto_form atto_media" id="{{elementid}}_atto_media_form">' +
-                '<ul class="root nav nav-tabs m-b-1" role="tablist">' +
+                '<ul class="root nav nav-tabs mb-1" role="tablist">' +
                     '<li data-medium-type="{{CSS.LINK}}" class="nav-item">' +
                         '<a class="nav-link active" href="#{{elementid}}_{{CSS.LINK}}" role="tab" data-toggle="tab">' +
                             '{{get_string "link" component}}' +
@@ -207,7 +207,7 @@ var COMPONENTNAME = 'atto_media',
         FORM_COMPONENTS: {
             SOURCE: '' +
                 '<div class="{{CSS.SOURCE}} {{id}}">' +
-                    '<div class="m-b-1">' +
+                    '<div class="mb-1">' +
                         '<label for="url-input">' +
                         '{{#entersourcelabel}}{{get_string ../entersourcelabel ../component}}{{/entersourcelabel}}' +
                         '{{^entersourcelabel}}{{get_string "entersource" ../component}}{{/entersourcelabel}}' +
@@ -242,21 +242,21 @@ var COMPONENTNAME = 'atto_media',
                 '</div>',
             DISPLAY_OPTIONS: '' +
                 '<div class="{{CSS.DISPLAY_OPTIONS}}">' +
-                    '<div class="m-b-1">' +
+                    '<div class="mb-1">' +
                         '<label for="{{id}}_media-title-entry">{{get_string "entertitle" component}}</label>' +
                         '<input class="form-control fullwidth {{CSS.TITLE_INPUT}}" type="text" id="{{id}}_media-title-entry"' +
                             'size="32"/>' +
                     '</div>' +
                     '<div class="clearfix"></div>' +
                     '{{#mediatype_video}}' +
-                    '<div class="m-b-1">' +
+                    '<div class="mb-1">' +
                         '<label>{{get_string "size" component}}</label>' +
                         '<div class="form-inline {{CSS.POSTER_SIZE}}">' +
                             '<label class="accesshide">{{get_string "videowidth" component}}</label>' +
-                            '<input type="text" class="form-control m-r-1 {{CSS.WIDTH_INPUT}} input-mini" size="4"/>' +
+                            '<input type="text" class="form-control mr-1 {{CSS.WIDTH_INPUT}} input-mini" size="4"/>' +
                             ' x ' +
                             '<label class="accesshide">{{get_string "videoheight" component}}</label>' +
-                            '<input type="text" class="form-control m-l-1 {{CSS.HEIGHT_INPUT}} input-mini" size="4"/>' +
+                            '<input type="text" class="form-control ml-1 {{CSS.HEIGHT_INPUT}} input-mini" size="4"/>' +
                         '</div>' +
                     '</div>' +
                     '<div class="clearfix"></div>' +
@@ -357,7 +357,7 @@ var COMPONENTNAME = 'atto_media',
                     '</div>' +
                 '</div>',
             TRACK: '' +
-                '<div class="m-b-1 {{CSS.TRACK}}">' +
+                '<div class="mb-1 {{CSS.TRACK}}">' +
                     '{{renderPartial "form_components.source" context=this id=CSS.TRACK_SOURCE entersourcelabel=sourcelabel}}' +
                     '<div class="form-group">' +
                         '<label class="w-100" for="lang-input">{{get_string "srclang" component}}</label>' +
index 4be5b4e..399e93a 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 686aa89..6cd5b36 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 4be5b4e..399e93a 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 b3b5284..79ca755 100644 (file)
@@ -41,14 +41,14 @@ var COMPONENT = 'atto_table',
     },
     TEMPLATE = '' +
         '<form class="{{CSS.FORM}}">' +
-            '<div class="m-b-1 form-group row-fluid">' +
+            '<div class="mb-1 form-group row-fluid">' +
             '<div class="col-sm-4 span4">' +
             '<label for="{{elementid}}_atto_table_caption">{{get_string "caption" component}}</label>' +
             '</div><div class="col-sm-8 span8">' +
             '<input type="text" class="form-control {{CSS.CAPTION}}" id="{{elementid}}_atto_table_caption" required />' +
             '</div>' +
             '</div>' +
-            '<div class="m-b-1 form-group row-fluid">' +
+            '<div class="mb-1 form-group row-fluid">' +
             '<div class="col-sm-4 span4">' +
             '<label for="{{elementid}}_atto_table_captionposition">' +
             '{{get_string "captionposition" component}}</label>' +
@@ -60,7 +60,7 @@ var COMPONENT = 'atto_table',
             '</select>' +
             '</div>' +
             '</div>' +
-            '<div class="m-b-1 form-group row-fluid">' +
+            '<div class="mb-1 form-group row-fluid">' +
             '<div class="col-sm-4 span4">' +
             '<label for="{{elementid}}_atto_table_headers">{{get_string "headers" component}}</label>' +
             '</div><div class="col-sm-8 span8">' +
@@ -72,7 +72,7 @@ var COMPONENT = 'atto_table',
             '</div>' +
             '</div>' +
             '{{#if nonedit}}' +
-                '<div class="m-b-1 form-group row-fluid">' +
+                '<div class="mb-1 form-group row-fluid">' +
                 '<div class="col-sm-4 span4">' +
                 '<label for="{{elementid}}_atto_table_rows">{{get_string "numberofrows" component}}</label>' +
                 '</div><div class="col-sm-8 span8">' +
@@ -80,7 +80,7 @@ var COMPONENT = 'atto_table',
                 'id="{{elementid}}_atto_table_rows" size="8" min="1" max="50"/>' +
                 '</div>' +
                 '</div>' +
-                '<div class="m-b-1 form-group row-fluid">' +
+                '<div class="mb-1 form-group row-fluid">' +
                 '<div class="col-sm-4 span4">' +
                 '<label for="{{elementid}}_atto_table_columns" ' +
                 '>{{get_string "numberofcolumns" component}}</label>' +
@@ -95,7 +95,7 @@ var COMPONENT = 'atto_table',
                 '<fieldset>' +
                 '<legend class="mdl-align">{{get_string "appearance" component}}</legend>' +
                 '{{#if allowBorders}}' +
-                    '<div class="m-b-1 form-group row-fluid">' +
+                    '<div class="mb-1 form-group row-fluid">' +
                     '<div class="col-sm-4 span4">' +
                     '<label for="{{elementid}}_atto_table_borders">{{get_string "borders" component}}</label>' +
                     '</div><div class="col-sm-8 span8">' +
@@ -106,7 +106,7 @@ var COMPONENT = 'atto_table',
                     '</select>' +
                     '</div>' +
                     '</div>' +
-                    '<div class="m-b-1 form-group row-fluid">' +
+                    '<div class="mb-1 form-group row-fluid">' +
                     '<div class="col-sm-4 span4">' +
                     '<label for="{{elementid}}_atto_table_borderstyle">' +
                     '{{get_string "borderstyles" component}}</label>' +
@@ -119,20 +119,20 @@ var COMPONENT = 'atto_table',
                     '</select>' +
                     '</div>' +
                     '</div>' +
-                    '<div class="m-b-1 form-group row-fluid">' +
+                    '<div class="mb-1 form-group row-fluid">' +
                     '<div class="col-sm-4 span4">' +
                     '<label for="{{elementid}}_atto_table_bordersize">' +
                     '{{get_string "bordersize" component}}</label>' +
                     '</div><div class="col-sm-8 span8">' +
                     '<div class="form-inline">' +
                     '<input name="bordersize" id="{{elementid}}_atto_table_bordersize" ' +
-                    'class="form-control w-auto m-r-1 {{CSS.BORDERSIZE}}"' +
+                    'class="form-control w-auto mr-1 {{CSS.BORDERSIZE}}"' +
                     'type="number" value="1" size="8" min="1" max="50"/>' +
                     '<label>{{CSS.BORDERSIZEUNIT}}</label>' +
                     '</div>' +
                     '</div>' +
                     '</div>' +
-                    '<div class="m-b-1 form-group row-fluid">' +
+                    '<div class="mb-1 form-group row-fluid">' +
                     '<div class="col-sm-4 span4">' +
                     '<label for="{{elementid}}_atto_table_bordercolour">' +
                     '{{get_string "bordercolour" component}}</label>' +
@@ -159,7 +159,7 @@ var COMPONENT = 'atto_table',
                     '</div>' +
                 '{{/if}}' +
                 '{{#if allowBackgroundColour}}' +
-                    '<div class="m-b-1 form-group row-fluid">' +
+                    '<div class="mb-1 form-group row-fluid">' +
                     '<div class="col-sm-4 span4">' +
                     '<label for="{{elementid}}_atto_table_backgroundcolour">' +
                     '{{get_string "backgroundcolour" component}}</label>' +
@@ -187,14 +187,14 @@ var COMPONENT = 'atto_table',
                     '</div>' +
                 '{{/if}}' +
                 '{{#if allowWidth}}' +
-                    '<div class="m-b-1 form-group row-fluid">' +
+                    '<div class="mb-1 form-group row-fluid">' +
                     '<div class="col-sm-4 span4">' +
                     '<label for="{{elementid}}_atto_table_width">' +
                     '{{get_string "width" component}}</label>' +
                     '</div><div class="col-sm-8 span8">' +
                     '<div class="form-inline">' +
                     '<input name="width" id="{{elementid}}_atto_table_width" ' +
-                        'class="form-control w-auto m-r-1 {{CSS.WIDTH}}" size="8" ' +
+                        'class="form-control w-auto mr-1 {{CSS.WIDTH}}" size="8" ' +
                         'type="number" min="0" max="100"/>' +
                     '<label>{{CSS.WIDTHUNIT}}</label>' +
                     '</div>' +
index fc88a13..de6960d 100644 (file)
@@ -9285,7 +9285,7 @@ function get_performance_info() {
         // Attempt to avoid devs debugging peformance issues, when its caused by css building and so on.
         $info['html'] .= '<p><strong>Warning: Theme designer mode is enabled.</strong></p>';
     }
-    $info['html'] .= '<ul class="list-unstyled m-l-1 row">';         // Holds userfriendly HTML representation.
+    $info['html'] .= '<ul class="list-unstyled ml-1 row">';         // Holds userfriendly HTML representation.
 
     $info['realtime'] = microtime_diff($PERF->starttime, microtime());
 
@@ -9309,7 +9309,7 @@ function get_performance_info() {
         $info['txt']  .= 'memory_peak: '.$info['memory_peak'].'B (' . display_size($info['memory_peak']).') ';
     }
 
-    $info['html'] .= '</ul><ul class="list-unstyled m-l-1 row">';
+    $info['html'] .= '</ul><ul class="list-unstyled ml-1 row">';
     $inc = get_included_files();
     $info['includecount'] = count($inc);
     $info['html'] .= '<li class="included col-sm-4">Included '.$info['includecount'].' files</li> ';
@@ -9394,9 +9394,9 @@ function get_performance_info() {
 
     $info['html'] .= '</ul>';
     if ($stats = cache_helper::get_stats()) {
-        $html = '<ul class="cachesused list-unstyled m-l-1 row">';
+        $html = '<ul class="cachesused list-unstyled ml-1 row">';
         $html .= '<li class="cache-stats-heading font-weight-bold">Caches used (hits/misses/sets)</li>';
-        $html .= '</ul><ul class="cachesused list-unstyled m-l-1">';
+        $html .= '</ul><ul class="cachesused list-unstyled ml-1">';
         $text = 'Caches used (hits/misses/sets): ';
         $hits = 0;
         $misses = 0;
@@ -9416,7 +9416,7 @@ function get_performance_info() {
                     $mode = ' <span title="request cache">[r]</span>';
                     break;
             }
-            $html .= '<ul class="cache-definition-stats list-unstyled m-l-1 m-b-1 cache-mode-'.$modeclass.' card d-inline-block">';
+            $html .= '<ul class="cache-definition-stats list-unstyled ml-1 mb-1 cache-mode-'.$modeclass.' card d-inline-block">';
             $html .= '<li class="cache-definition-stats-heading p-t-1 card-header bg-dark bg-inverse font-weight-bold">' .
                 $definition . $mode.'</li>';
             $text .= "$definition {";
index b70ba01..27ee12d 100644 (file)
@@ -864,7 +864,7 @@ class core_renderer extends renderer_base {
         }
         if (!empty($CFG->debugvalidators)) {
             // NOTE: this is not a nice hack, $PAGE->url is not always accurate and $FULLME neither, it is not a bug if it fails. --skodak
-            $output .= '<div class="validators"><ul class="list-unstyled m-l-1">
+            $output .= '<div class="validators"><ul class="list-unstyled ml-1">
               <li><a href="http://validator.w3.org/check?verbose=1&amp;ss=1&amp;uri=' . urlencode(qualified_me()) . '">Validate HTML</a></li>
               <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=' . urlencode(qualified_me()) . '">Section 508 Check</a></li>
               <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;url1=' . urlencode(qualified_me()) . '">WCAG 1 (2,3) Check</a></li>
index a2fac7b..73bf40a 100644 (file)
@@ -45,8 +45,8 @@
                     </div>
                     <div class="p-t-1 p-b-2">
                         <p>{{#str}}digitalminor_desc{{/str}}</p>
-                        <p class="m-b-0">{{{supportname}}}</p>
-                        <p class="m-b-0">{{{supportemail}}}</p>
+                        <p class="mb-0">{{{supportname}}}</p>
+                        <p class="mb-0">{{{supportemail}}}</p>
                     </div>
                     <div class="backlink">
                         <a href="{{homelink}}">{{#str}}backtohome{{/str}}</a>
index c462587..a1659aa 100644 (file)
                     <div class="card-title">
                         <h3>{{#str}}agelocationverification{{/str}}</h3>
                     </div>
-                    <div class="m-t-2 m-b-2">
+                    <div class="mt-2 mb-2">
                         {{{formhtml}}}
                     </div>
                     <hr>
                     <div class="card-title">
                         <h3>{{#str}}whyisthisrequired{{/str}}</h3>
                     </div>
-                    <div class="m-t-1">
+                    <div class="mt-1">
                         <p >{{#str}}explanationdigitalminor{{/str}}</p>
                     </div>
                 </div>
index 953cbcc..c1b7202 100644 (file)
@@ -54,7 +54,7 @@
 }}
 <div id="paged-content-container-{{uniqid}}" data-region="paged-content-container">
     {{^controlplacementbottom}}
-        <div class="m-b-1">
+        <div class="mb-1">
             {{#pagingbar}}
                 {{> core/paged_content_paging_bar }}
             {{/pagingbar}}
@@ -65,7 +65,7 @@
     {{/controlplacementbottom}}
     {{> core/paged_content_pages }}
     {{#controlplacementbottom}}
-        <div class="m-t-1">
+        <div class="mt-1">
             {{#pagingbar}}
                 {{> core/paged_content_paging_bar }}
             {{/pagingbar}}
index 47cb9b3..cc9ca6a 100644 (file)
@@ -39,7 +39,7 @@
         ]
     }
 }}
-<div class="dropdown m-b-1"
+<div class="dropdown mb-1"
     id="paging-dropdown-{{uniqid}}"
     data-region="paging-dropdown-container">
 
index 93ef0f8..735b5cf 100644 (file)
@@ -1,6 +1,6 @@
 {{#haspages}}
     <nav aria-label="{{label}}" class="pagination pagination-centered justify-content-center">
-        <ul class="m-t-1 pagination ">
+        <ul class="mt-1 pagination ">
             {{#previous}}
                 <li class="page-item">
                     <a href="{{url}}" class="page-link" aria-label="Previous">
index c78f0c0..d1a15af 100644 (file)
@@ -100,7 +100,7 @@ $table->data = array(
     array('<div class="form-inline"><label class="accesshide" for="input-message">'.get_string('entermessage', 'chat').' </label>'.
           '<span class="form-group"><input type="text" disabled="true" class="form-control" ' .
           'id="input-message" value="Loading..." size="48" /></span>'.
-          '<span class="form-group"><input type="button" id="button-send" class="btn btn-secondary m-x-1" ' .
+          '<span class="form-group"><input type="button" id="button-send" class="btn btn-secondary mx-1" ' .
           'value="'.get_string('send', 'chat').'" /></span> <span class="form-group"><a id="choosetheme" href="###">'.
           get_string('themes').
           ' &raquo; </a></span></div>'));
index ea717a1..0c3f631 100644 (file)
@@ -150,16 +150,16 @@ echo '<div id="send">';
 echo '<form id="editing" method="post" action="index.php">';
 
 echo '<h2><label for="message">'.get_string('sendmessage', 'message').'</label></h2>';
-echo '<div class="m-b-1">';
+echo '<div class="mb-1">';
 echo '<input type="text" id="message" class="form-control" name="message" value="'.s($refreshedmessage, true).'" size="60" />';
-echo '</div><div class="m-b-1">';
+echo '</div><div class="mb-1">';
 echo '<input type="hidden" name="id" value="'.$id.'" />';
 echo '<input type="hidden" name="groupid" value="'.$groupid.'" />';
 echo '<input type="hidden" name="last" value="'.time().'" />';
 echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
 echo '<input type="submit" class="btn btn-primary" value="'.get_string('submit').'" />&nbsp;';
 echo '<input type="submit" class="btn btn-secondary" name="refresh" value="'.get_string('refresh').'" />';
-echo '<input type="checkbox" class="m-x-1" name="newonly" id="newonly" '.($newonly ? 'checked="checked" ' : '').'/>';
+echo '<input type="checkbox" class="mx-1" name="newonly" id="newonly" '.($newonly ? 'checked="checked" ' : '').'/>';
 echo '<label for="newonly">'.get_string('newonlymsg', 'message').'</label>';
 echo '</div>';
 echo '</form>';
index 7db9117..4e8d7e2 100644 (file)
@@ -59,7 +59,7 @@ class mod_choice_renderer extends plugin_renderer_base {
                 $option->attributes->type = 'radio';
             }
             $option->attributes->id = 'choice_'.$choicecount;
-            $option->attributes->class = 'm-x-1';
+            $option->attributes->class = 'mx-1';
 
             $labeltext = $option->text;
             if (!empty($option->attributes->disabled)) {
@@ -93,7 +93,7 @@ class mod_choice_renderer extends plugin_renderer_base {
                 if (!empty($options['allowupdate']) && ($options['allowupdate'])) {
                     $url = new moodle_url('view.php',
                             array('id' => $coursemoduleid, 'action' => 'delchoice', 'sesskey' => sesskey()));
-                    $html .= html_writer::link($url, get_string('removemychoice', 'choice'), array('class' => 'm-l-1'));
+                    $html .= html_writer::link($url, get_string('removemychoice', 'choice'), array('class' => 'ml-1'));
                 }
             } else {
                 $html .= html_writer::tag('label', get_string('havetologin', 'choice'));
@@ -240,12 +240,12 @@ class mod_choice_renderer extends plugin_renderer_base {
                                 $checkboxvalue = $user->id;
                             }
                             $checkbox .= html_writer::checkbox($checkboxname, $checkboxvalue, '', null,
-                                array('id' => $checkboxid, 'class' => 'm-r-1'));
+                                array('id' => $checkboxid, 'class' => 'mr-1'));
                         }
                         $userimage = $this->output->user_picture($user, array('courseid' => $choices->courseid, 'link' => false));
                         $profileurl = new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $choices->courseid));
                         $profilelink = html_writer::link($profileurl, $userimage . $userfullname);
-                        $data .= html_writer::div($checkbox . $profilelink, 'm-b-1');
+                        $data .= html_writer::div($checkbox . $profilelink, 'mb-1');
 
                         $optionusers .= $data;
                     }
index 9e187d5..5c3a5f0 100644 (file)
 
         $downloadlist = html_writer::tag('ul', implode('', $downloadoptions), array('class' => 'list-inline inline'));
         $downloadlist .= html_writer::tag('div', '', array('class' => 'clearfloat'));
-        echo html_writer::tag('div',$downloadlist, array('class' => 'downloadreport m-t-1'));
+        echo html_writer::tag('div',$downloadlist, array('class' => 'downloadreport mt-1'));
     }
     echo $OUTPUT->footer();
 
index d7ec1db..0bbdf97 100644 (file)
@@ -308,7 +308,7 @@ foreach ($generalnotifications as $notification) {
 }
 echo $newtext;
 
-echo '<div class="mdl-align m-t-1"><input type="submit" class="btn btn-primary" name="saveandview" ' .
+echo '<div class="mdl-align mt-1"><input type="submit" class="btn btn-primary" name="saveandview" ' .
      'value="' . get_string('saveandview', 'data') . '" />';
 if ($rid) {
     echo '&nbsp;<input type="submit" class="btn btn-primary" name="cancel" ' .
index f014bb1..c96261a 100644 (file)
@@ -360,7 +360,7 @@ if (($mode == 'new') && (!empty($newtype)) && confirm_sesskey()) {          ///
                      1 => get_string('descending', 'data'));
     echo html_writer::label(get_string('sortby'), 'menudefaultsortdir', false, array('class' => 'accesshide'));
     echo html_writer::select($options, 'defaultsortdir', $data->defaultsortdir, false, array('class' => 'custom-select'));
-    echo '<input type="submit" class="btn btn-secondary m-l-1" value="'.get_string('save', 'data').'" />';
+    echo '<input type="submit" class="btn btn-secondary ml-1" value="'.get_string('save', 'data').'" />';
     echo '</div>';
     echo '</form>';
     echo '</div>';
index d43728b..7c3a2cc 100644 (file)
@@ -66,7 +66,7 @@ class data_field_checkbox extends data_field_base {
             }
             $str .= '<input type="hidden" name="field_' . $this->field->id . '[]" value="" />';
             $str .= '<input type="checkbox" id="field_'.$this->field->id.'_'.$i.'" name="field_' . $this->field->id . '[]" ';
-            $str .= 'value="' . s($checkbox) . '" class="mod-data-input m-r-1" ';
+            $str .= 'value="' . s($checkbox) . '" class="mod-data-input mr-1" ';
 
             if (array_search($checkbox, $content) !== false) {
                 $str .= 'checked />';
@@ -94,7 +94,7 @@ class data_field_checkbox extends data_field_base {
 
         $str = '';
         $found = false;
-        $marginclass = ['class' => 'm-r-1'];
+        $marginclass = ['class' => 'mr-1'];
         foreach (explode("\n",$this->field->param1) as $checkbox) {
             $checkbox = trim($checkbox);
             if (in_array($checkbox, $content)) {
index 634778e..c5c9b34 100644 (file)
@@ -67,7 +67,7 @@ class data_field_latlong extends data_field_base {
         if ($this->field->required) {
             $str .= $OUTPUT->pix_icon('req', get_string('requiredelement', 'form'));
         }
-        $classes = 'form-control m-x-1';
+        $classes = 'form-control mx-1';
         $str .= '</label></td><td>';
         $str .= '<input class="' . $classes . '" type="text" name="field_'.$this->field->id.'_0" ';
         $str .= ' id="field_'.$this->field->id.'_0" value="';
@@ -78,7 +78,7 @@ class data_field_latlong extends data_field_base {
         if ($this->field->required) {
             $str .= $OUTPUT->pix_icon('req', get_string('requiredelement', 'form'));
         }
-        $classes = 'form-control m-x-1';
+        $classes = 'form-control mx-1';
         $str .= '</label></td><td><input class="' . $classes . '" type="text" ';
         $str .= 'name="field_'.$this->field->id.'_1" id="field_'.$this->field->id.'_1" value="';
         $str .= s($long).'" size="10" />°E</td>';
@@ -199,7 +199,7 @@ class data_field_latlong extends data_field_base {
                 }
                 // NB! If you are editing this, make sure you don't break the javascript reference "previousSibling"
                 //   which allows the "Go" button to refer to the drop-down selector.
-                $str .= '\n</select><input type="button" class="btn m-l-1 btn-secondary" value="' . get_string('go');
+                $str .= '\n</select><input type="button" class="btn ml-1 btn-secondary" value="' . get_string('go');
                 $str .= '" onclick="if(previousSibling.value){self.location=previousSibling.value}"/>';
                 $str .= '</form>';
             } else {
index fd9c16c..3585b18 100644 (file)
@@ -140,7 +140,7 @@ class data_field_multimenu extends data_field_base {
         $str .= '</select>';
 
         $str .= html_writer::checkbox('f_'.$this->field->id.'_allreq', null, $allrequired,
-            get_string('selectedrequired', 'data'), array('class' => 'm-r-1'));
+            get_string('selectedrequired', 'data'), array('class' => 'mr-1'));
 
         return $str;
 
index 416ccc6..d0cf7cc 100644 (file)
@@ -68,7 +68,7 @@ class data_field_radiobutton extends data_field_base {
                 continue; // skip empty lines
             }
             $str .= '<input type="radio" id="field_'.$this->field->id.'_'.$i.'" name="field_' . $this->field->id . '" ';
-            $str .= 'value="' . s($radio) . '" class="mod-data-input m-r-1" ';
+            $str .= 'value="' . s($radio) . '" class="mod-data-input mr-1" ';
 
             if ($content == $radio) {
                 // Selected by user.
index 05774f0..13a5ea0 100644 (file)
@@ -88,7 +88,7 @@ class data_field_url extends data_field_base {
             $str .= $label;
             $str .= '<input type="text" name="field_' . $this->field->id . '_0" id="' . $fieldid . '" value="' . s($url) . '" ' .
                     'size="40" class="form-control d-inline"/>';
-            $str .= '<button class="btn btn-secondary m-l-1" id="filepicker-button-' . $options->client_id . '" ' .
+            $str .= '<button class="btn btn-secondary ml-1" id="filepicker-button-' . $options->client_id . '" ' .
                     'style="display:none">' . $straddlink . '</button></td></tr>';
             $str .= '<tr><td align="right"><span class="mod-data-input">' . get_string('text', 'data') . ':</span></td><td>';
             $str .= '<input type="text" name="field_' . $this->field->id . '_1" id="field_' . $this->field->id . '_1" ' .
@@ -100,7 +100,7 @@ class data_field_url extends data_field_base {
             $str .= '<input type="text" name="field_'.$this->field->id.'_0" id="'.$fieldid.'" value="'.s($url).'"';
             $str .= ' size="40" class="mod-data-input form-control d-inline" />';
             if (count($options->repositories) > 0) {
-                $str .= '<button id="filepicker-button-' . $options->client_id . '" class="visibleifjs btn btn-secondary m-l-1">' .
+                $str .= '<button id="filepicker-button-' . $options->client_id . '" class="visibleifjs btn btn-secondary ml-1">' .
                         $straddlink . '</button>';
             }
         }
index eace6e7..37519ce 100644 (file)
@@ -1811,7 +1811,7 @@ function data_print_preference_form($data, $perpage, $search, $sort='', $order='
          'class="form-control" size="16" name="search" id= "pref_search" value="' . s($search) . '" /></div>';
     echo '&nbsp;&nbsp;&nbsp;<label for="pref_sortby">'.get_string('sortby').'</label> ';
     // foreach field, print the option
-    echo '<select name="sort" id="pref_sortby" class="custom-select m-r-1">';
+    echo '<select name="sort" id="pref_sortby" class="custom-select mr-1">';
     if ($fields = $DB->get_records('data_fields', array('dataid'=>$data->id), 'name')) {
         echo '<optgroup label="'.get_string('fields', 'data').'">';
         foreach ($fields as $field) {
@@ -1842,7 +1842,7 @@ function data_print_preference_form($data, $perpage, $search, $sort='', $order='
     echo '</optgroup>';
     echo '</select>';
     echo '<label for="pref_order" class="accesshide">'.get_string('order').'</label>';
-    echo '<select id="pref_order" name="order" class="custom-select m-r-1">';
+    echo '<select id="pref_order" name="order" class="custom-select mr-1">';
     if ($order == 'ASC') {
         echo '<option value="ASC" selected="selected">'.get_string('ascending','data').'</option>';
     } else {
@@ -1865,7 +1865,7 @@ function data_print_preference_form($data, $perpage, $search, $sort='', $order='
     echo '&nbsp;<input type="hidden" name="advanced" value="0" />';
     echo '&nbsp;<input type="hidden" name="filter" value="1" />';
     echo '&nbsp;<input type="checkbox" id="advancedcheckbox" name="advanced" value="1" ' . $checked . ' ' .
-         'onchange="showHideAdvSearch(this.checked);" class="m-x-1" />' .
+         'onchange="showHideAdvSearch(this.checked);" class="mx-1" />' .
          '<label for="advancedcheckbox">' . get_string('advancedsearch', 'data') . '</label>';
     echo '&nbsp;<input type="submit" class="btn btn-secondary" value="' . get_string('savesettings', 'data') . '" />';
 
@@ -1940,7 +1940,7 @@ function data_print_preference_form($data, $perpage, $search, $sort='', $order='
     echo '</td></tr>';
 
     echo '<tr><td colspan="4"><br/>' .
-         '<input type="submit" class="btn btn-primary m-r-1" value="' . get_string('savesettings', 'data') . '" />' .
+         '<input type="submit" class="btn btn-primary mr-1" value="' . get_string('savesettings', 'data') . '" />' .
          '<input type="submit" class="btn btn-secondary" name="resetadv" value="' . get_string('resetsettings', 'data') . '" />' .
          '</td></tr>';
     echo '</table>';
index 2056e6e..5f6be16 100644 (file)
@@ -73,7 +73,7 @@ class mod_data_renderer extends plugin_renderer_base {
 
         $html .= html_writer::start_tag('div', array('class'=>'overwritesettings'));
         $html .= html_writer::tag('label', get_string('overwritesettings', 'data'), array('for' => 'overwritesettings'));
-        $attrs = array('type' => 'checkbox', 'name' => 'overwritesettings', 'id' => 'overwritesettings', 'class' => 'm-l-1');
+        $attrs = array('type' => 'checkbox', 'name' => 'overwritesettings', 'id' => 'overwritesettings', 'class' => 'ml-1');
         $html .= html_writer::empty_tag('input', $attrs);
         $html .= html_writer::end_tag('div');
         $html .= html_writer::empty_tag('input', array('type' => 'submit', 'class' => 'btn btn-primary', 'value' => $strcontinue));
index f530a11..9657445 100644 (file)
@@ -512,19 +512,19 @@ if ($showactivity) {
                         'type' => 'button',
                         'id' => 'checkall',
                         'value' => get_string('selectall'),
-                        'class' => 'btn btn-secondary m-r-1'
+                        'class' => 'btn btn-secondary mr-1'
                     ));
                 echo html_writer::empty_tag('input', array(
                         'type' => 'button',
                         'id' => 'checknone',
                         'value' => get_string('deselectall'),
-                        'class' => 'btn btn-secondary m-r-1'
+                        'class' => 'btn btn-secondary mr-1'
                     ));
                 echo html_writer::empty_tag('input', array(
                         'class' => 'form-submit',
                         'type' => 'submit',
                         'value' => get_string('deleteselected'),
-                        'class' => 'btn btn-secondary m-r-1'
+                        'class' => 'btn btn-secondary mr-1'
                     ));
 
                 $module = array('name' => 'mod_data', 'fullpath' => '/mod/data/module.js');
index 40fa48f..5599310 100644 (file)
@@ -34,7 +34,7 @@
     {{{subscribe}}}
     {{{neighbourlinks}}}
 
-    <div class="d-flex flex-wrap m-b-1">
+    <div class="d-flex flex-wrap mb-1">
         <div>{{{exportdiscussion}}}</div>
         <div class="{{#exportdiscussion}}ml-2{{/exportdiscussion}}">{{{modeselectorform}}}</div>
         <div class="ml-2">{{{movediscussion}}}</div>
index 749be69..4c5c8fc 100644 (file)
@@ -380,7 +380,7 @@ if ($glossary->intro && $showcommonelements) {
 
 /// Search box
 if ($showcommonelements ) {
-    echo '<form method="post" class="form form-inline m-b-1" action="' . $CFG->wwwroot . '/mod/glossary/view.php">';
+    echo '<form method="post" class="form form-inline mb-1" action="' . $CFG->wwwroot . '/mod/glossary/view.php">';
 
 
     if ($mode == 'search') {
@@ -388,7 +388,7 @@ if ($showcommonelements ) {
     } else {
         echo '<input type="text" name="hook" size="20" value="" alt="'.$strsearch.'" class="form-control"/> ';
     }
-    echo '<input type="submit" value="'.$strsearch.'" name="searchbutton" class="btn btn-secondary m-r-1"/> ';
+    echo '<input type="submit" value="'.$strsearch.'" name="searchbutton" class="btn btn-secondary mr-1"/> ';
     if ($fullsearch || $mode != 'search') {
         $fullsearchchecked = 'checked="checked"';
     } else {
@@ -406,7 +406,7 @@ if ($showcommonelements ) {
 /// Show the add entry button if allowed
 if (has_capability('mod/glossary:write', $context) && $showcommonelements ) {
     echo '<div class="singlebutton glossaryaddentry">';
-    echo "<form class=\"form form-inline m-b-1\" id=\"newentryform\" method=\"get\" action=\"$CFG->wwwroot/mod/glossary/edit.php\">";
+    echo "<form class=\"form form-inline mb-1\" id=\"newentryform\" method=\"get\" action=\"$CFG->wwwroot/mod/glossary/edit.php\">";
     echo '<div>';
     echo "<input type=\"hidden\" name=\"cmid\" value=\"$cm->id\" />";
     echo '<input type="submit" value="'.get_string('addentry', 'glossary').'" class="btn btn-secondary" />';
index 95850cc..ed6addc 100644 (file)
@@ -4195,7 +4195,7 @@ abstract class lesson_page extends lesson_base {
                 $result->feedback .= $OUTPUT->box(format_text($this->get_contents(), $this->properties->contentsformat, $options),
                         'generalbox boxaligncenter p-y-1');
                 $result->feedback .= '<div class="correctanswer generalbox"><em>'
-                        . get_string("youranswer", "lesson").'</em> : <div class="studentanswer m-t-2 m-b-2">';
+                        . get_string("youranswer", "lesson").'</em> : <div class="studentanswer mt-2 mb-2">';
 
                 // Create a table containing the answers and responses.
                 $table = new html_table();
index 7280409..3604774 100644 (file)
@@ -153,7 +153,7 @@ if ($action === 'delete') {
         $checklinks .= '<a id="checknone" href="#">'.get_string('deselectall').'</a>';
         $checklinks .= html_writer::label('action', 'menuaction', false, array('class' => 'accesshide'));
         $options = array('delete' => get_string('deleteselected'));
-        $attributes = array('id' => 'actionid', 'class' => 'custom-select m-l-1');
+        $attributes = array('id' => 'actionid', 'class' => 'custom-select ml-1');
         $checklinks .= html_writer::select($options, 'action', 0, array('' => 'choosedots'), $attributes);
         $PAGE->requires->js_amd_inline("
         require(['jquery'], function($) {
index d49d052..5e41523 100644 (file)
@@ -71,7 +71,7 @@
                         id="registration-secret">
                 </div>
             </div>
-            <div class="control-group m-t-1">
+            <div class="control-group mt-1">
                 <div class="controls">
                     <button id="cartridge-registration-submit" type="submit" class="btn btn-success">
                         <span class="btn-text">{{#str}} savechanges {{/str}}</span>
index 3690bfb..28805b1 100644 (file)
Binary files a/mod/quiz/amd/build/modal_add_random_question.min.js and b/mod/quiz/amd/build/modal_add_random_question.min.js differ
index a47f3b6..8ff2742 100644 (file)
@@ -194,7 +194,7 @@ function(
      */
     ModalAddRandomQuestion.prototype.moveFormElementIntoTab = function(formElement, tabElement) {
         var submitButtons = formElement.find(SELECTORS.SUBMIT_BUTTON_ELEMENT);
-        var footer = $('<div class="modal-footer m-t-1" data-region="footer"></div>');
+        var footer = $('<div class="modal-footer mt-1" data-region="footer"></div>');
         // Hide the header because the tabs show us which part of the form we're
         // looking at.
         formElement.find(SELECTORS.FORM_HEADER).addClass('hidden');
@@ -230,7 +230,7 @@ function(
      * @param  {jquey} form The form element.
      */
     ModalAddRandomQuestion.prototype.moveCancelButtonToTabs = function(form) {
-        var cancelButton = form.find(SELECTORS.CANCEL_BUTTON_ELEMENT).addClass('m-l-1');
+        var cancelButton = form.find(SELECTORS.CANCEL_BUTTON_ELEMENT).addClass('ml-1');
         var tabFooters = form.find('[data-region="footer"]');
         // Remove the buttons container element.
         cancelButton.closest(SELECTORS.BUTTON_CONTAINER).remove();
index d1d1206..a8e5f46 100644 (file)
@@ -178,7 +178,7 @@ class edit_renderer extends \plugin_renderer_base {
                 'name' => 'maxgrade', 'size' => ($structure->get_decimal_places_for_grades() + 2),
                 'value' => $structure->formatted_quiz_grade(),
                 'class' => 'form-control'));
-        $output .= html_writer::empty_tag('input', array('type' => 'submit', 'class' => 'btn btn-secondary m-l-1',
+        $output .= html_writer::empty_tag('input', array('type' => 'submit', 'class' => 'btn btn-secondary ml-1',
                 'name' => 'savechanges', 'value' => get_string('save', 'quiz')));
         $output .= html_writer::end_tag('fieldset');
         $output .= html_writer::end_tag('form');
@@ -201,7 +201,7 @@ class edit_renderer extends \plugin_renderer_base {
             'name'  => 'repaginate',
             'id'    => 'repaginatecommand',
             'value' => get_string('repaginatecommand', 'quiz'),
-            'class' => 'btn btn-secondary m-b-1',
+            'class' => 'btn btn-secondary mb-1',
             'data-header' => $header,
             'data-form'   => $form,
         );
@@ -226,7 +226,7 @@ class edit_renderer extends \plugin_renderer_base {
             'name'  => 'selectmultiple',
             'id'    => 'selectmultiplecommand',
             'value' => get_string('selectmultipleitems', 'quiz'),
-            'class' => 'btn btn-secondary m-b-1'
+            'class' => 'btn btn-secondary mb-1'
         );
         if (!$structure->can_be_edited()) {
             $buttonoptions['disabled'] = 'disabled';
@@ -319,7 +319,7 @@ class edit_renderer extends \plugin_renderer_base {
             'type' => 'submit',
             'name' => 'repaginate',
             'value' => get_string('go'),
-            'class' => 'btn btn-secondary m-l-1'
+            'class' => 'btn btn-secondary ml-1'
         );
 
         $formcontent = html_writer::tag('form', html_writer::div(
index 109c487..7cb4206 100644 (file)
@@ -639,7 +639,7 @@ abstract class quiz_attempts_report_table extends table_sql {
     protected function submit_buttons() {
         global $PAGE;
         if (has_capability('mod/quiz:deleteattempts', $this->context)) {
-            echo '<input type="submit" class="btn btn-secondary m-r-1" id="deleteattemptsbutton" name="delete" value="' .
+            echo '<input type="submit" class="btn btn-secondary mr-1" id="deleteattemptsbutton" name="delete" value="' .
                     get_string('deleteselected', 'quiz_overview') . '"/>';
             $PAGE->requires->event_handler('#deleteattemptsbutton', 'click', 'M.util.show_confirm_dialog',
                     array('message' => get_string('deleteattemptcheck', 'quiz')));
index 1064975..c39f191 100644 (file)
@@ -213,7 +213,7 @@ class quiz_overview_table extends quiz_attempts_report_table {
 
     protected function submit_buttons() {
         if (has_capability('mod/quiz:regrade', $this->context)) {
-            echo '<input type="submit" class="btn btn-secondary m-r-1" name="regrade" value="' .
+            echo '<input type="submit" class="btn btn-secondary mr-1" name="regrade" value="' .
                     get_string('regradeselected', 'quiz_overview') . '"/>';
         }
         parent::submit_buttons();
index e5c0e93..c059656 100644 (file)
@@ -145,10 +145,10 @@ class quiz_overview_report extends quiz_attempts_report {
                     echo '<div>';
                     echo html_writer::input_hidden_params($displayurl);
                     echo '<input type="submit" class="btn btn-secondary" name="regradeall" value="'.$regradealllabel.'"/>';
-                    echo '<input type="submit" class="btn btn-secondary m-l-1" name="regradealldry" value="' .
+                    echo '<input type="submit" class="btn btn-secondary ml-1" name="regradealldry" value="' .
                             $regradealldrylabel . '"/>';
                     if ($regradesneeded) {
-                        echo '<input type="submit" class="btn btn-secondary m-l-1" name="regradealldrydo" value="' .
+                        echo '<input type="submit" class="btn btn-secondary ml-1" name="regradealldrydo" value="' .
                                 $regradealldrydolabel . '"/>';
                     }
                     echo '</div>';
index b40655a..fe023f6 100644 (file)
@@ -1198,7 +1198,7 @@ table#categoryquestions {
     display: none;
 }
 
-#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .edit-toolbar .m-b-1 {
+#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .edit-toolbar .mb-1 {
     display: none;
 }
 
index dbd7e4f..f90ec9f 100644 (file)
@@ -33,7 +33,7 @@
     Example context (json):
     {}
 }}
-<div class="m-t-2 position-relative" data-region="random-question-preview-container">
+<div class="mt-2 position-relative" data-region="random-question-preview-container">
     <div data-region="question-count-container"></div>
     <div data-region="question-list-container"></div>
     {{> core/overlay_loading}}
index 961df00..39fda98 100644 (file)
@@ -997,12 +997,12 @@ function scorm_print_launch ($user, $scorm, $action, $cm) {
         if ($scorm->hidebrowse == 0) {
             print_string('mode', 'scorm');
             echo ': '.html_writer::empty_tag('input', array('type' => 'radio', 'id' => 'b', 'name' => 'mode',
-                    'value' => 'browse', 'class' => 'm-r-1')).
+                    'value' => 'browse', 'class' => 'mr-1')).
                         html_writer::label(get_string('browse', 'scorm'), 'b');
             echo html_writer::empty_tag('input', array('type' => 'radio',
                                                         'id' => 'n', 'name' => 'mode',
                                                         'value' => 'normal', 'checked' => 'checked',
-                                                        'class' => 'm-x-1')).
+                                                        'class' => 'mx-1')).
                     html_writer::label(get_string('normal', 'scorm'), 'n');
 
         } else {
index 33da5ad..41c19fe 100644 (file)
@@ -612,21 +612,21 @@ class report extends \mod_scorm\report {
                                                                    array('download' => 'ODS') + $displayoptions),
                                                                    get_string('downloadods'),
                                                                    'post',
-                                                                   ['class' => 'm-t-1']);
+                                                                   ['class' => 'mt-1']);
                         echo \html_writer::end_tag('td');
                         echo \html_writer::start_tag('td');
                         echo $OUTPUT->single_button(new \moodle_url($PAGE->url,
                                                                    array('download' => 'Excel') + $displayoptions),
                                                                    get_string('downloadexcel'),
                                                                    'post',
-                                                                   ['class' => 'm-t-1']);
+                                                                   ['class' => 'mt-1']);
                         echo \html_writer::end_tag('td');
                         echo \html_writer::start_tag('td');
                         echo $OUTPUT->single_button(new \moodle_url($PAGE->url,
                                                                    array('download' => 'CSV') + $displayoptions),
                                                                    get_string('downloadtext'),
                                                                    'post',
-                                                                   ['class' => 'm-t-1']);
+                                                                   ['class' => 'mt-1']);
                         echo \html_writer::end_tag('td');
                         echo \html_writer::start_tag('td');
                         echo \html_writer::end_tag('td');
index c65c032..c8f889a 100644 (file)
@@ -611,21 +611,21 @@ class report extends \mod_scorm\report {
                                                                    array('download' => 'ODS') + $displayoptions),
                                                                    get_string('downloadods'),
                                                                    'post',
-                                                                   ['class' => 'm-t-1']);
+                                                                   ['class' => 'mt-1']);
                         echo \html_writer::end_tag('td');
                         echo \html_writer::start_tag('td');
                         echo $OUTPUT->single_button(new \moodle_url($PAGE->url,
                                                                    array('download' => 'Excel') + $displayoptions),
                                                                    get_string('downloadexcel'),
                                                                    'post',
-                                                                   ['class' => 'm-t-1']);
+                                                                   ['class' => 'mt-1']);
                         echo \html_writer::end_tag('td');
                         echo \html_writer::start_tag('td');
                         echo $OUTPUT->single_button(new \moodle_url($PAGE->url,
                                                                    array('download' => 'CSV') + $displayoptions),
                                                                    get_string('downloadtext'),
                                                                    'post',
-                                                                   ['class' => 'm-t-1']);
+                                                                   ['class' => 'mt-1']);
                         echo \html_writer::end_tag('td');
                         echo \html_writer::start_tag('td');
                         echo \html_writer::end_tag('td');
index 10e4ba9..e18dd76 100644 (file)
@@ -142,7 +142,7 @@ class MoodleQuickForm_wikieditor extends MoodleQuickForm_textarea {
             $html .= "</a>";
         }
         $html .= "<label class='accesshide' for='addtags'>" . get_string('insertimage', 'wiki')  . "</label>";
-        $html .= "<select id='addtags' class='custom-select m-x-1' " .
+        $html .= "<select id='addtags' class='custom-select mx-1' " .
                  "onchange=\"insertTags('{$imagetag[0]}', '{$imagetag[1]}', this.value)\">";
         $html .= "<option value='" . s(get_string('wikiimage', 'wiki')) . "'>" . get_string('insertimage', 'wiki') . '</option>';
         foreach ($this->files as $filename) {
index da3e7f7..e8e452b 100644 (file)
@@ -82,7 +82,7 @@ class qtype_match_renderer extends qtype_with_combined_feedback_renderer {
                             'menu' . $qa->get_qt_field_name('sub' . $key), false,
                             array('class' => 'accesshide')) .
                     html_writer::select($choices, $qa->get_qt_field_name('sub' . $key), $selected,
-                            array('0' => 'choose'), array('disabled' => $options->readonly, 'class' => 'custom-select m-l-1')) .
+                            array('0' => 'choose'), array('disabled' => $options->readonly, 'class' => 'custom-select ml-1')) .
                     ' ' . $feedbackimage, array('class' => $classes));
 
             $result .= html_writer::end_tag('tr');
index edc54a4..25a5b2e 100644 (file)
@@ -97,7 +97,7 @@ abstract class qtype_multichoice_renderer_base extends qtype_with_combined_feedb
                         $question->make_html_inline($question->format_text(
                                 $ans->answer, $ans->answerformat,
                                 $qa, 'question', 'answer', $ansid)),
-                        array('for' => $inputattributes['id'], 'class' => 'm-l-1'));
+                        array('for' => $inputattributes['id'], 'class' => 'ml-1'));
 
             // Param $options->suppresschoicefeedback is a hack specific to the
             // oumultiresponse question type. It would be good to refactor to
index 60adc34..6abb1e6 100644 (file)
@@ -90,10 +90,10 @@ class qtype_truefalse_renderer extends qtype_renderer {
 
         $radiotrue = html_writer::empty_tag('input', $trueattributes) .
                 html_writer::tag('label', get_string('true', 'qtype_truefalse'),
-                array('for' => $trueattributes['id'], 'class' => 'm-l-1'));
+                array('for' => $trueattributes['id'], 'class' => 'ml-1'));
         $radiofalse = html_writer::empty_tag('input', $falseattributes) .
                 html_writer::tag('label', get_string('false', 'qtype_truefalse'),
-                array('for' => $falseattributes['id'], 'class' => 'm-l-1'));
+                array('for' => $falseattributes['id'], 'class' => 'ml-1'));
 
         $result = '';
         $result .= html_writer::tag('div', $question->format_questiontext($qa),
index 3b0ee57..3b59962 100644 (file)
@@ -73,7 +73,7 @@
     }
 }}
 
-<h2 class="m-b-2">{{#str}}insightprediction, report_insights, {{insightname}} {{/str}}</h2>
+<h2 class="mb-2">{{#str}}insightprediction, report_insights, {{insightname}} {{/str}}</h2>
 <table class="generaltable insights-list">
     <caption>
             {{#str}}prediction, report_insights{{/str}}:
index 10fc0e4..c2db15e 100644 (file)
 }}
 
 {{#modelselector}}
-    <div class="m-b-2">
+    <div class="mb-2">
         {{> core/single_select}}
     </div>
 {{/modelselector}}
 
-<h2 class="m-b-2">{{{insightname}}}</h2>
+<h2 class="mb-2">{{{insightname}}}</h2>
 
 {{^noinsights}}
 {{#nostaticmodelnotification}}
-    <div class="m-t-2">
+    <div class="mt-2">
         {{> core/notification_info}}
     </div>
 {{/nostaticmodelnotification}}
 {{{ pagingbar }}}
 {{/noinsights}}
 {{#noinsights}}
-    <div class="m-t-2">
+    <div class="mt-2">
         {{> core/notification_info}}
     </div>
 {{/noinsights}}
index aa93b07..de28b08 100644 (file)
@@ -147,7 +147,7 @@ class report_log_renderer extends plugin_renderer_base {
                 'id' => $selectedcourseid, 'date' => $reportlog->date, 'modid' => $reportlog->modid,
                 'showusers' => 1, 'showcourses' => $reportlog->showcourses));
             $a->url = $a->url->out(false);
-            echo html_writer::start_span('m-x-1');
+            echo html_writer::start_span('mx-1');
             print_string('logtoomanyusers', 'moodle', $a);
             echo html_writer::end_span();
         }
index f6eeac6..77b48a2 100644 (file)
@@ -229,6 +229,6 @@ function report_participation_print_filter_form($course, $timefrom, $minlog, $ac
     echo '<label for="menuroleid">'.get_string('showonly').'</label>'."\n";
     echo html_writer::select($roleoptions,'roleid',$roleid,false);
     echo '<label for="menuaction">'.get_string('showactions').'</label>'."\n";
-    echo html_writer::select($actionoptions, 'action', $action, false, ['class' => 'm-r-1']);
+    echo html_writer::select($actionoptions, 'action', $action, false, ['class' => 'mr-1']);
     echo '<input type="submit" value="'.get_string('go').'" class="btn btn-primary"/>'."\n</div></form>\n";
 }
index 9e8e705..8c41b79 100644 (file)
@@ -8520,7 +8520,7 @@ a.dimmed_text:visited,
 /* stylelint-disable function-url-scheme-blacklist */
 /* stylelint-enable function-url-scheme-blacklist */
 .tag, .statusok, .statuswarning, .statusserious,
-.statuscritical, .que .correctness {
+.statuscritical, .que .correctness, .label {
   display: inline-block;
   padding: 0.25rem 0.4em;
   font-size: 75%;
@@ -8531,7 +8531,7 @@ a.dimmed_text:visited,
   white-space: nowrap;
   vertical-align: baseline; }
   .tag:empty, .statusok:empty, .statuswarning:empty, .statusserious:empty,
-  .statuscritical:empty, .que .correctness:empty {
+  .statuscritical:empty, .que .correctness:empty, .label:empty {
     display: none; }
 
 .form-control-success,
@@ -16606,6 +16606,31 @@ span[data-flexitour="container"][x-placement="right"], span[data-flexitour="cont
   margin-left: -15px;
   width: 275px; }
 
+.label {
+  background-color: #868e96; }
+  .label[href]:hover, .label[href]:focus {
+    background-color: #6c757d; }
+
+.label-success {
+  background-color: #5cb85c; }
+  .label-success[href]:hover, .label-success[href]:focus {
+    background-color: #449d44; }
+
+.label-info {
+  background-color: #5bc0de; }
+  .label-info[href]:hover, .label-info[href]:focus {
+    background-color: #31b0d5; }
+
+.label-warning {
+  background-color: #ff7518; }
+  .label-warning[href]:hover, .label-warning[href]:focus {
+    background-color: #e45c00; }
+
+.label-important {
+  background-color: #d9534f; }
+  .label-important[href]:hover, .label-important[href]:focus {
+    background-color: #c9302c; }
+
 .pull-left {
   float: left !important; }
 
index 3c9d44a..a591326 100644 (file)
 {{# flatnavigation }}
     {{#showdivider}}
 </nav>
-<nav class="list-group m-t-1" aria-label="{{get_collectionlabel}}">
+<nav class="list-group mt-1" aria-label="{{get_collectionlabel}}">
     {{/showdivider}}
     {{#action}}
     <a class="list-group-item list-group-item-action {{#isactive}}active{{/isactive}}" href="{{{action}}}" data-key="{{key}}" data-isexpandable="{{isexpandable}}" data-indent="{{get_indent}}" data-showdivider="{{showdivider}}" data-type="{{type}}" data-nodetype="{{nodetype}}" data-collapse="{{collapse}}" data-forceopen="{{forceopen}}" data-isactive="{{isactive}}" data-hidden="{{hidden}}" data-preceedwithhr="{{preceedwithhr}}" {{#parent.key}}data-parent-key="{{.}}"{{/parent.key}}>
-        <div class="m-l-{{get_indent}}">
+        <div class="ml-{{get_indent}}">
             <div class="media">
             {{#icon.pix}}
                 <span class="media-left">
@@ -77,7 +77,7 @@
     {{/action}}
     {{^action}}
     <div class="list-group-item" data-key="{{key}}" data-isexpandable="{{isexpandable}}" data-indent="{{get_indent}}" data-showdivider="{{showdivider}}" data-type="{{type}}" data-nodetype="{{nodetype}}" data-collapse="{{collapse}}" data-forceopen="{{forceopen}}" data-isactive="{{isactive}}" data-hidden="{{hidden}}" data-preceedwithhr="{{preceedwithhr}}" {{#parent.key}}data-parent-key="{{.}}"{{/parent.key}}>
-        <div class="m-l-{{get_indent}}">
+        <div class="ml-{{get_indent}}">
             <div class="media">
             {{#icon.pix}}
                 <span class="media-left">
index 998d450..8d5b6db 100644 (file)
@@ -8753,7 +8753,7 @@ a.dimmed_text:visited,
 /* stylelint-disable function-url-scheme-blacklist */
 /* stylelint-enable function-url-scheme-blacklist */
 .tag, .statusok, .statuswarning, .statusserious,
-.statuscritical, .que .correctness {
+.statuscritical, .que .correctness, .label {
   display: inline-block;
   padding: 0.25rem 0.4em;
   font-size: 75%;
@@ -8765,7 +8765,7 @@ a.dimmed_text:visited,
   vertical-align: baseline;
   border-radius: 0.25rem; }
   .tag:empty, .statusok:empty, .statuswarning:empty, .statusserious:empty,
-  .statuscritical:empty, .que .correctness:empty {
+  .statuscritical:empty, .que .correctness:empty, .label:empty {
     display: none; }
 
 .form-control-success,
@@ -16871,6 +16871,31 @@ span[data-flexitour="container"][x-placement="right"], span[data-flexitour="cont
   margin-left: -15px;
   width: 275px; }
 
+.label {
+  background-color: #868e96; }
+  .label[href]:hover, .label[href]:focus {
+    background-color: #6c757d; }
+
+.label-success {
+  background-color: #5cb85c; }
+  .label-success[href]:hover, .label-success[href]:focus {
+    background-color: #449d44; }
+
+.label-info {
+  background-color: #5bc0de; }
+  .label-info[href]:hover, .label-info[href]:focus {
+    background-color: #31b0d5; }
+
+.label-warning {
+  background-color: #ff7518; }
+  .label-warning[href]:hover, .label-warning[href]:focus {
+    background-color: #e45c00; }
+
+.label-important {
+  background-color: #d9534f; }
+  .label-important[href]:hover, .label-important[href]:focus {
+    background-color: #c9302c; }
+
 .pull-left {
   float: left !important; }
 
index 3e24fdc..8c15679 100644 (file)
@@ -30,7 +30,7 @@
         }
     }
 }}
-<footer id="page-footer" class="m-t-1 py-3 bg-dark text-light">
+<footer id="page-footer" class="mt-1 py-3 bg-dark text-light">
     <div class="container">
         <div id="course-footer">{{{ output.course_footer }}}</div>
 
index 0d65fd8..c0c729b 100644 (file)
@@ -369,7 +369,7 @@ if ($newcourse == 1) {
     $str = get_string('proceedtocourse', 'enrol');
     // Floated left so it goes under the enrol users button on mobile.
     // The margin is to make it line up with the enrol users button when they are both on the same line.
-    $classes = 'm-y-1 pull-xs-left';
+    $classes = 'my-1 pull-xs-left';
     $url = course_get_url($course);
     echo $OUTPUT->single_button($url, $str, 'GET', array('class' => $classes));
 }
index 696e8d8..5b2cd7c 100644 (file)
@@ -77,7 +77,7 @@ M.core_user.init_user_selector = function (Y, name, hash, extrafields, lastsearc
 
             // Replace the Clear submit button with a clone that is not a submit button.
             var clearbtn = Y.one('#' + this.name + '_clearbutton');
-            this.clearbutton = Y.Node.create('<input type="button" value="' + clearbtn.get('value') + '" class="btn btn-secondary m-x-1"/>');
+            this.clearbutton = Y.Node.create('<input type="button" value="' + clearbtn.get('value') + '" class="btn btn-secondary mx-1"/>');
             clearbtn.replace(Y.Node.getDOMNode(this.clearbutton));
             this.clearbutton.set('id', this.name + "_clearbutton");
             this.clearbutton.on('click', this.handle_clear, this);
index 39886c6..96e4f01 100644 (file)
@@ -31,7 +31,7 @@
 }}
 <form>
 <p>
-<label for="bulk-state" class="m-r-2">
+<label for="bulk-state" class="mr-2">
 {{#str}}publishstate, core_notes{{/str}}
 </label>
 <select name="state" id="bulk-state" class="custom-select">
index 4e38b6a..243f085 100644 (file)
@@ -51,7 +51,7 @@
         ]
     }
 }}
-<form method="post" action="{{action}}" class="m-b-1" role="search">
+<form method="post" action="{{action}}" class="mb-1" role="search">
     <label for="unified-filters" class="sr-only">{{#str}}filters{{/str}}</label>
     <select name="unified-filters[]" id="unified-filters" multiple="multiple" data-originaloptionsjson="{{originaloptionsjson}}" class="form-autocomplete-original-select">
         {{#filteroptions}}