MDL-64506 templates: BS2 pull-x -> BS4 float-x
authorMathew May <mathewm@hotmail.co.nz>
Fri, 29 Mar 2019 04:16:36 +0000 (12:16 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Wed, 3 Apr 2019 11:47:13 +0000 (19:47 +0800)
51 files changed:
admin/tool/dataprivacy/templates/contact_dpo.mustache
admin/tool/dataprivacy/templates/data_deletion.mustache
admin/tool/dataprivacy/templates/data_registry_compliance.mustache
admin/tool/dataprivacy/templates/data_requests.mustache
admin/tool/dataprivacy/templates/data_requests_bulk_actions.mustache
admin/tool/dataprivacy/templates/request_details.mustache
admin/tool/lp/templates/competencies_move_tree.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_plan_navigation.mustache
admin/tool/lp/templates/competency_rule_config.mustache
admin/tool/lp/templates/competency_summary.mustache
admin/tool/lp/templates/course_competencies_page.mustache
admin/tool/lp/templates/course_competency_settings.mustache
admin/tool/lp/templates/evidence_summary.mustache
admin/tool/lp/templates/form_competency_list.mustache
admin/tool/lp/templates/manage_competencies_page.mustache
admin/tool/lp/templates/manage_competency_frameworks_page.mustache
admin/tool/lp/templates/manage_templates_page.mustache
admin/tool/lp/templates/plan_page.mustache
admin/tool/lp/templates/plans_page.mustache
admin/tool/lp/templates/related_competencies.mustache
admin/tool/lp/templates/scale_configuration_page.mustache
admin/tool/lp/templates/template_competencies_page.mustache
admin/tool/lp/templates/user_competency_course_navigation.mustache
admin/tool/lp/templates/user_competency_summary.mustache
admin/tool/lp/templates/user_competency_summary_in_course.mustache
admin/tool/lp/templates/user_competency_summary_in_plan.mustache
admin/tool/lp/templates/user_evidence_list_page.mustache
admin/tool/lp/templates/user_evidence_page.mustache
admin/tool/policy/templates/page_agreedocs.mustache
admin/tool/policy/templates/page_viewalldoc.mustache
admin/tool/policy/templates/page_viewdoc.mustache
calendar/renderer.php
calendar/templates/add_event_button.mustache
calendar/templates/event_item.mustache
course/templates/activity_navigation.mustache
lib/form/templates/filetypes-browser.mustache
lib/templates/block.mustache
message/templates/message_drawer_view_conversation_header_content_type_private.mustache
message/templates/message_drawer_view_conversation_header_content_type_public.mustache
message/templates/message_popover.mustache
mod/book/tool/print/templates/print_book.mustache
mod/forum/lib.php
mod/forum/subscribers.php
mod/lti/templates/tool_card.mustache
mod/lti/templates/tool_proxy_card.mustache
report/competency/templates/user_course_navigation.mustache
user/index.php

index 6cdd3ac..d3a0e86 100644 (file)
@@ -43,7 +43,7 @@
     <div class="row" data-region="messageinput">
         <label for="message" class="col-md-3 col-form-label">
             {{#str}}message, tool_dataprivacy{{/str}}
-            <span class="pull-xs-right text-nowrap">
+            <span class="float-sm-right text-nowrap">
             <abbr class="initialism text-danger" title="{{#str}}required{{/str}}">{{#pix}}req, core, {{#str}}required{{/str}}{{/pix}}</abbr>
         </span>
         </label>
index 88e33d7..7f2e346 100644 (file)
         <div class="alert alert-info">
             {{#str}}datadeletionpagehelp, tool_dataprivacy{{/str}}
         </div>
-        <div class="pull-left">
+        <div class="float-left">
             {{#filter}}
                 {{> core/single_select}}
             {{/filter}}
         </div>
         {{#existingcontexts}}
-            <div class="pull-right">
+            <div class="float-right">
                 <button data-action="markfordeletion" class="btn btn-secondary">{{#str}}deleteselected, moodle{{/str}}</button>
             </div>
         {{/existingcontexts}}
@@ -74,7 +74,7 @@
     </div>
     <div class="row" data-region="bottom-nav">
         {{#existingcontexts}}
-            <div class="pull-right">
+            <div class="float-right">
                 <button data-action="markfordeletion" class="btn btn-secondary">{{#str}}deleteselected, moodle{{/str}}</button>
             </div>
         {{/existingcontexts}}
index bbca4ff..c2231f3 100644 (file)
@@ -51,7 +51,7 @@
         <dd>{{#str}}userlistexplanation, tool_dataprivacy{{/str}}</dd>
     </dl>
     <hr />
-    <div class="clearfix"><a class="tool_dataprivacy-expand-all pull-right" href="#" data-visibility-state='visible'>{{#str}}visible, tool_dataprivacy{{/str}}</a></div>
+    <div class="clearfix"><a class="tool_dataprivacy-expand-all float-right" href="#" data-visibility-state='visible'>{{#str}}visible, tool_dataprivacy{{/str}}</a></div>
     {{#types}}
     <div>
         <div>
index 1e8fb90..623a919 100644 (file)
@@ -61,7 +61,7 @@
 
 <div data-region="datarequests">
     <div class="mt-1 mb-1">
-        <div class="pull-right">
+        <div class="float-right">
             <a href="{{newdatarequesturl}}" class="btn btn-primary" data-action="new-request">
                 {{#str}}newrequest, tool_dataprivacy{{/str}}
             </a>
index f2f9e68..1f98562 100644 (file)
@@ -45,7 +45,7 @@
     }
 }}
 <div class="mt-1 d-inline-block w-100">
-    <div class="pull-left">
+    <div class="float-left">
         <select id="bulk-action" class="select custom-select">
         {{#options}}
             <option value="{{ value }}">{{ name }}</option>
@@ -53,7 +53,7 @@
         </select>
         <button class="btn btn-primary" id="confirm-bulk-action">{{# str}} confirm {{/ str}}</button>
     </div>
-    <div class="pull-right">
+    <div class="float-right">
         {{{ perpage }}}
     </div>
 </div>
index fc35c91..c98ab91 100644 (file)
             </h4>
             <a href="mailto:{{foruser.email}}">{{foruser.email}}</a>
             <div class="clearfix mt-1 mb-1">
-            <span class="pull-left mr-1">
+            <span class="float-left mr-1">
                 <strong>{{#str}}daterequesteddetail, tool_dataprivacy{{/str}}</strong> {{#userdate}} {{timecreated}}, {{#str}} strftimedatetime {{/str}} {{/userdate}}
             </span>
-                <span class="pull-left mr-1">
+                <span class="float-left mr-1">
                 <strong>{{#str}}statusdetail, tool_dataprivacy{{/str}}</strong>
                 <span class="badge {{statuslabelclass}}">{{statuslabel}}</span>
             </span>
-            <span class="pull-left mr-1">
+            <span class="float-left mr-1">
                 <strong>{{#str}}requestbydetail, tool_dataprivacy{{/str}}</strong>
                 <span><a href="{{requestedbyuser.profileurl}}" title="{{#str}}viewprofile{{/str}}">{{requestedbyuser.fullname}}</a></span>
             </span>
index 06b5e24..ff8d078 100644 (file)
@@ -53,7 +53,7 @@
 </ul>
 </div>
 
-<div data-region="move-buttons" class="pull-xs-right">
+<div data-region="move-buttons" class="float-sm-right">
     <input type="button" data-action="move" class="btn btn-primary" value="{{#str}}move{{/str}}"/>
     <input type="button" data-action="cancel" class="btn btn-secondary" value="{{#str}}cancel{{/str}}"/>
 </div>
index add66f2..6677cd9 100644 (file)
@@ -50,7 +50,7 @@
                 <textarea name="comment" id="comment_{{uniqid}}" class="form-control mb-1"></textarea>
             </div>
         </div>
-        <div data-region="footer" class="pull-xs-right">
+        <div data-region="footer" class="float-sm-right">
             <button data-action="rate" class="btn btn-primary">{{#str}}rate, tool_lp{{/str}}</button>
             <button data-action="cancel" class="btn btn-secondary">{{#str}}cancel{{/str}}</button>
         </div>
index 05c69a1..455e3bf 100644 (file)
@@ -78,7 +78,7 @@
         </ul>
     </li>
 </ul>
-<div data-region="link-buttons" class="mt-1 pull-xs-right">
+<div data-region="link-buttons" class="mt-1 float-sm-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 40758af..0eac738 100644 (file)
@@ -60,7 +60,7 @@
         </ul>
     </li>
 </ul>
-<div data-region="link-buttons" class="mt-1 pull-xs-right">
+<div data-region="link-buttons" class="mt-1 float-sm-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 af8ea14..770ee87 100644 (file)
@@ -84,7 +84,7 @@
     </li>
 </ul>
 
-<div data-region="link-buttons" class="mt-1 pull-xs-right">
+<div data-region="link-buttons" class="mt-1 float-sm-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 d658ea3..92add26 100644 (file)
@@ -32,7 +32,7 @@
 
     // No example context because the JS is connected to webservices
 }}
-<div class="pull-xs-right card card-block">
+<div class="float-sm-right card card-block">
 {{#hascompetencies}}
 <span>
 <label for="competency-nav-{{uniqid}}" class="accesshide">{{#str}}jumptocompetency, tool_lp{{/str}}</label>
index 1e9bee9..2cb5891 100644 (file)
@@ -81,7 +81,7 @@
         {{/config}}
     </div>
 
-    <div data-region="footer" class="pull-xs-right mt-1">
+    <div data-region="footer" class="float-sm-right mt-1">
         {{#config}}
         <input type="button" class="btn btn-primary" data-action="save" value="{{#str}}savechanges{{/str}}"/>
         {{/config}}
index 32020ed..74251db 100644 (file)
@@ -70,7 +70,7 @@
 <p>{{{competency.description}}}</p>
 {{/competency.description}}
 {{#comppath}}
-    <span class="pull-left">{{#str}}path, tool_lp{{/str}}&nbsp;</span>{{> tool_lp/competency_path }}
+    <span class="float-left">{{#str}}path, tool_lp{{/str}}&nbsp;</span>{{> tool_lp/competency_path }}
 {{/comppath}}
 {{#showrelatedcompetencies}}
     {{> tool_lp/related_competencies }}
index 4def99e..b41af9b 100644 (file)
@@ -25,7 +25,7 @@
 }}
 <div data-region="coursecompetenciespage">
     <div data-region="actions" class="clearfix">
-        <div class="pull-xs-left">
+        <div class="float-sm-left">
             {{#canmanagecoursecompetencies}}
                 <button class="btn btn-secondary" disabled>{{#str}}addcoursecompetencies, tool_lp{{/str}}</button>
             {{/canmanagecoursecompetencies}}
@@ -61,8 +61,8 @@
     <tr class="drag-samenode" data-id="{{competency.id}}">
     <td>
         {{#canmanagecoursecompetencies}}
-        <span class="drag-handlecontainer pull-xs-left"></span>
-        <div class="pull-xs-right">
+        <span class="drag-handlecontainer float-sm-left"></span>
+        <div class="float-sm-right">
             <a href="#" data-action="delete-competency-link" data-id="{{competency.id}}">
                 {{#pix}}t/delete, core, {{#str}}delete{{/str}}{{/pix}}
             </a>
@@ -78,7 +78,7 @@
             <p>{{{competency.description}}}</p>
         {{/competency}}
         {{#comppath}}
-            <span class="pull-xs-left">{{#str}}path, tool_lp{{/str}}&nbsp;</span>{{> tool_lp/competency_path }}
+            <span class="float-sm-left">{{#str}}path, tool_lp{{/str}}&nbsp;</span>{{> tool_lp/competency_path }}
         {{/comppath}}
         {{#usercompetencycourse}}
             {{#grade}}
index 6992f7d..a43908c 100644 (file)
@@ -49,7 +49,7 @@
         </label>
 
     </fieldset>
-    <fieldset class="pull-xs-right">
+    <fieldset class="float-sm-right">
         <input type="button" class="btn btn-primary" data-action="save" value="{{#str}}savechanges{{/str}}"/>
         <input type="button" class="btn btn-secondary" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
     </fieldset>
index 90059ee..83984da 100644 (file)
@@ -46,7 +46,7 @@
 }}
 <div class="card well-small evidence" data-region="evidence" data-id="{{id}}">
     {{#candelete}}
-        <div class="pull-xs-right">
+        <div class="float-sm-right">
             <a href="#" data-action="delete-evidence">{{#pix}}t/delete{{/pix}}</a>
         </div>
     {{/candelete}}
index b33d886..4500c14 100644 (file)
@@ -48,7 +48,7 @@
 <ul>
     {{#competencies}}
         <li>
-            <div class="pull-right">
+            <div class="float-right">
                 <a href="#" data-action="deselect-competency" data-id="{{id}}">{{#pix}}t/delete, core, {{#str}}delete{{/str}}{{/pix}}</a>
             </div>
             <p>
index c546b81..92354ec 100644 (file)
@@ -66,7 +66,7 @@
             <div class="card-block card-body">
                 <div class="card-title">
                     <h4 data-region="selected-competency">{{#str}}selectedcompetency, tool_lp{{/str}}</h4>
-                        <span data-region="competencyactionsmenu" class="pull-xs-right">
+                        <span data-region="competencyactionsmenu" class="float-sm-right">
                             <ul title="{{#str}}edit{{/str}}" class="competencyactionsmenu">
                                 <li>
                                     <a href="#">{{#str}}edit{{/str}}</a><b class="caret"></b>
index 2fcac12..987befa 100644 (file)
@@ -34,7 +34,7 @@
     * navigation - array of strings containing buttons for navigation
 }}
 <div data-region="managecompetencies">
-<div class="pull-left">
+<div class="float-left">
     {{#navigation}}
     {{{.}}}
     {{/navigation}}
index 4a267f6..d892f80 100644 (file)
@@ -32,7 +32,7 @@
     * navigation - array of strings containing buttons for navigation
 }}
 <div data-region="managetemplates">
-<div class="pull-left">
+<div class="float-left">
     {{#navigation}}
     {{{.}}}
     {{/navigation}}
index 8ec768c..ae2950d 100644 (file)
@@ -26,7 +26,7 @@
     </h2>
     {{#plan.canbeedited}}
     <div data-region="actions" class="clearfix">
-        <div class="pull-left">
+        <div class="float-left">
             <!-- Button to add competencies to the plan -->
             <button class="btn btn-secondary" data-action="add">{{#pix}}t/add{{/pix}} {{#str}}addcompetency, tool_lp{{/str}}</button>
         </div>
                         data-userid="{{plan.userid}}">
                     <td>
                         {{#plan.canbeedited}}
-                        <span class="drag-handlecontainer pull-left"></span>
+                        <span class="drag-handlecontainer float-left"></span>
                         {{/plan.canbeedited}}
                         <a data-usercompetency="true" href="#">{{{competency.shortname}}}</a>
                         <em>{{competency.idnumber}}</em>
                         {{#comppath}}
                             <br>
-                            <span class="pull-left">{{#str}}path, tool_lp{{/str}}&nbsp;</span>{{> tool_lp/competency_path }}
+                            <span class="float-left">{{#str}}path, tool_lp{{/str}}&nbsp;</span>{{> tool_lp/competency_path }}
                         {{/comppath}}
                     </td>
                     {{#plan.iscompleted}}
index 392038b..1711147 100644 (file)
@@ -34,7 +34,7 @@
 }}
 
 <div data-region="plans">
-<div class="pull-left">
+<div class="float-left">
     {{#navigation}}
     {{{.}}}
     {{/navigation}}
 {{/plans}}
 
 {{#canreaduserevidence}}
-<div class="pull-left">
+<div class="float-left">
     <a href="{{pluginbaseurl}}/user_evidence_list.php?userid={{userid}}">{{#str}}userevidence, tool_lp{{/str}}</a>
 </div>
 {{/canreaduserevidence}}
index ab5d991..c51eaa9 100644 (file)
@@ -54,7 +54,7 @@
     {{#relatedcompetencies}}
         <li>
             {{#showdeleterelatedaction}}
-                <div class="pull-xs-right">
+                <div class="float-sm-right">
                     <a href="#" data-action="deleterelation" id="id-related-{{id}}">{{#pix}}t/delete, core, {{#str}}delete{{/str}}{{/pix}}</a>
                 </div>
             {{/showdeleterelatedaction}}
index 3f1759e..2ccf879 100644 (file)
@@ -58,7 +58,7 @@
 </table>
 </div>
 
-<div data-region="scale-buttons" class="mt-1 pull-xs-right">
+<div data-region="scale-buttons" class="mt-1 float-sm-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 ddedfcb..aa3895c 100644 (file)
@@ -27,7 +27,7 @@
     <div>{{{template.description}}}</div>
     {{#canmanagetemplatecompetencies}}
     <div data-region="actions" class="clearfix">
-        <div class="pull-left">
+        <div class="float-left">
             <button disabled class="btn btn-secondary">{{#str}}addtemplatecompetencies, tool_lp{{/str}}</button>
         </div>
     </div>
@@ -43,8 +43,8 @@
                 <div class="drag-samenode" data-id="{{competency.id}}">
                     <div class="card">
                         {{#canmanagetemplatecompetencies}}
-                        <span class="drag-handlecontainer pull-left"></span>
-                        <div class="pull-xs-right">
+                        <span class="drag-handlecontainer float-left"></span>
+                        <div class="float-sm-right">
                             <a href="#" data-action="delete-competency-link" data-id="{{competency.id}}">{{#pix}}t/delete, core, {{#str}}delete{{/str}}{{/pix}}</a>
                         </div>
                         {{/canmanagetemplatecompetencies}}
index 31e51ca..9ffc29a 100644 (file)
@@ -35,7 +35,7 @@
 
     // No example context because the JS is connected to webservices
 }}
-<div class="pull-xs-right card card-block">
+<div class="float-sm-right card card-block">
 <p>{{{groupselector}}}</p>
 <form class="user-competency-course-navigation">
 {{#hasusers}}
index 29b2943..4ee61f1 100644 (file)
@@ -57,7 +57,7 @@
         </dd>
         <dt>{{#str}}proficient, tool_lp{{/str}}</dt>
         <dd>
-            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} pull-left">
+            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} float-left">
                 {{proficiencyname}}
             </span>
         </dd>
index 90916b1..a5acf4f 100644 (file)
@@ -81,7 +81,7 @@
         {{#usercompetencycourse}}
         <dt>{{#str}}proficient, tool_lp{{/str}}</dt>
         <dd>
-            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} pull-left">
+            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} float-left">
                 {{proficiencyname}}
             </span>
         </dd>
index 2daf5e2..60ec206 100644 (file)
@@ -68,7 +68,7 @@
         </dd>
         <dt>{{#str}}proficient, tool_lp{{/str}}</dt>
         <dd>
-            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} pull-left">
+            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} float-left">
                 {{proficiencyname}}
             </span>
         </dd>
         <dd>{{gradename}} - {{#str}}plancompleted, tool_lp{{/str}}</dd>
         <dt>{{#str}}proficient, tool_lp{{/str}}</dt>
         <dd>
-            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} pull-left">
+            <span class="badge{{^proficiency}} badge-danger{{/proficiency}} float-left">
                 {{proficiencyname}}
             </span>
         </dd>
index 61af55a..3711d9e 100644 (file)
@@ -33,7 +33,7 @@
 }}
 
 <div data-region="user-evidence-list">
-<div class="pull-left">
+<div class="float-left">
     {{#navigation}}
         {{{.}}}
     {{/navigation}}
index b1a4d6f..8cd5a02 100644 (file)
@@ -38,7 +38,7 @@
     </h2>
     {{#canmanage}}
     <div data-region="actions" class="clearfix">
-        <div class="pull-left">
+        <div class="float-left">
             {{#userhasplan}}
                 <button class="btn btn-secondary mb-1" data-action="link-competency">{{#pix}}t/add{{/pix}} {{#str}}linkcompetencies, tool_lp{{/str}}</button>
             {{/userhasplan}}
@@ -85,7 +85,7 @@
                     </td>
                     {{#userevidence.canmanage}}
                         <td>
-                            <div class="pull-left">
+                            <div class="float-left">
                                 <a href="#" data-action="delete-competency-link" data-id="{{competency.id}}">{{#pix}}t/delete, core, {{#str}}delete{{/str}}{{/pix}}</a>
                             </div>
                         </td>
index 14bfba8..40512ad 100644 (file)
 
 {{#behalfuser}}
 <div class="clearfix">
-    <div class="pull-right mb-2">
+    <div class="float-right mb-2">
         {{# str }} viewconsentpageforuser, tool_policy, {{{ . }}} {{/ str }}
     </div>
 </div>
 {{/behalfuser}}
 
 <div class="clearfix">
-    <div class="pull-left">
+    <div class="float-left">
         <h2>{{# str }}consentpagetitle, tool_policy{{/ str }}</h2>
     </div>
 </div>
index 7b83c94..49f2dfe 100644 (file)
             <h3>{{# str }} policydoccontent, tool_policy {{/ str }}</h3>
             {{{content}}}
         </div>
-        <div class="pull-right">
+        <div class="float-right">
             <a href="#top">
                 {{# str }} backtotop, tool_policy {{/ str }}
                 <i class="icon text-primary fa fa-caret-up" title="{{# str }} backtotop, tool_policy {{/ str }}" ></i>
index 0eaee05..360ad3d 100644 (file)
 
 <a id="top"></a>
 <div class="clearfix">
-    <div class="pull-left">
+    <div class="float-left">
         <h2>{{{policy.name}}}</h2>
     </div>
     {{# numpolicy }}
-        <div class="pull-right">
+        <div class="float-right">
             {{# str }} steppolicies, tool_policy,
                 { "numpolicy": {{# quote }}{{numpolicy}}{{/quote }}, "totalpolicies": {{# quote }}{{totalpolicies}}{{/ quote }} }
             {{/ str }}
@@ -96,7 +96,7 @@
         <a role="button" href="{{declineurl}}" class="btn btn-link">{{#str}} idontagree, tool_policy, {{{policy.name}}} {{/str}}</a>
     {{/declineurl}}
 
-    <div class="pull-right">
+    <div class="float-right">
         <a href="#top">
             {{# str }} backtotop, tool_policy {{/ str }}
             <i class="icon text-primary fa fa-caret-up" title="{{# str }} backtotop, tool_policy {{/ str }}" ></i>
index 5fed596..a71b5fa 100644 (file)
@@ -389,7 +389,7 @@ class core_calendar_renderer extends plugin_renderer_base {
         }
         $html .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'sesskey', 'value' => sesskey()));
         $html .= html_writer::empty_tag('input', array('type' => 'hidden', 'name' => 'id', 'value' => $subscription->id));
-        $html .= html_writer::start_tag('div', array('class' => 'btn-group pull-right'));
+        $html .= html_writer::start_tag('div', array('class' => 'btn-group float-right'));
         if (!empty($subscription->url)) {
             $html .= html_writer::tag('button', get_string('update'), array('type'  => 'submit', 'name' => 'action',
                                                                             'class' => 'btn btn-secondary',
index 654a9d9..4dc5f15 100644 (file)
@@ -34,7 +34,7 @@
 }}
 {{#defaulteventcontext}}
 <button{{!
-    }} class="btn btn-secondary pull-xs-right pull-right"{{!
+    }} class="btn btn-secondary float-sm-right float-right"{{!
     }} data-context-id="{{defaulteventcontext}}"{{!
     }} data-action="new-event-button"{{!
     }}>
index c790e55..98431ea 100644 (file)
@@ -42,7 +42,7 @@
     }}>
     <div class="card">
         <div class="box card-header clearfix p-y-1">
-            <div class="commands pull-xs-right">
+            <div class="commands float-sm-right">
                 {{#canedit}}
                     {{#candelete}}
                         <a href="{{deleteurl}}" data-action="delete">
@@ -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 mr-1">{{{formattedtime}}}</span>
+                <span class="date float-sm-right mr-1">{{{formattedtime}}}</span>
                 <div class="location">{{#location}}{{{location}}}{{/location}}</div>
             </div>
         </div>
index 2dfc6dd..c3583e1 100644 (file)
@@ -67,7 +67,7 @@
 <div class="mt-2 mb-1 activity-navigation">
 {{< core/columns-1to1to1}}
     {{$column1}}
-        <div class="pull-left">
+        <div class="float-left">
             {{#prevlink}}{{> core/action_link }}{{/prevlink}}
         </div>
     {{/column1}}
@@ -77,7 +77,7 @@
         </div>
     {{/column2}}
     {{$column3}}
-        <div class="pull-right">
+        <div class="float-right">
             {{#nextlink}}{{> core/action_link }}{{/nextlink}}
         </div>
     {{/column3}}
index acfd680..779122e 100644 (file)
         {{#types.0}}
         {{! The tree provides its own accessibility controls, these two links are here for mouse users.
             For that reason, we hide them from assistive technologies. }}
-        <small aria-hidden="true" data-filetypesbrowserfeature="hideifexpanded" class="pull-right float-right"><a href="#">{{#str}}expand{{/str}}</a></small>
-        <small aria-hidden="true" data-filetypesbrowserfeature="hideifcollapsed" class="pull-right float-right"><a href="#">{{#str}}collapse{{/str}}</a></small>
+        <small aria-hidden="true" data-filetypesbrowserfeature="hideifexpanded" class="float-right float-right"><a href="#">{{#str}}expand{{/str}}</a></small>
+        <small aria-hidden="true" data-filetypesbrowserfeature="hideifcollapsed" class="float-right float-right"><a href="#">{{#str}}collapse{{/str}}</a></small>
         {{/types.0}}
         <ul class="unstyled list-unstyled" role="group">
             {{#types}}
index f4de2a3..09560bc 100644 (file)
@@ -41,7 +41,7 @@
         {{/title}}
 
         {{#hascontrols}}
-            <div class="block-controls pull-right header">
+            <div class="block-controls float-right header">
                 {{{controls}}}
             </div>
         {{/hascontrols}}
index 3d748b6..da37323 100644 (file)
@@ -77,7 +77,7 @@
         <button class="btn btn-link btn-icon icon-size-3" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
             {{#pix}} i/moremenu, core {{/pix}}
         </button>
-        <div class="dropdown-menu pull-right">
+        <div class="dropdown-menu float-right">
             <a class="dropdown-item" href="#" data-action="view-contact">
                 {{#str}} info, core_message {{/str}}
             </a>
index 152a30d..5a75cc6 100644 (file)
@@ -71,7 +71,7 @@
             <button class="btn btn-link btn-icon icon-size-3" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                 {{#pix}} i/moremenu, core {{/pix}}
             </button>
-            <div class="dropdown-menu pull-right">
+            <div class="dropdown-menu float-right">
                 <a class="dropdown-item" href="#" data-action="view-group-info">
                     {{#str}} groupinfo, core_message {{/str}}
                 </a>
index 74784b3..09c1748 100644 (file)
@@ -35,7 +35,7 @@
     }
 
 }}
-<div class="pull-right popover-region collapsed">
+<div class="float-right popover-region collapsed">
     <a id="message-drawer-toggle-{{uniqid}}" class="nav-link d-inline-block popover-region-toggle position-relative" href="#">
         {{#pix}} t/message, core, {{#str}} togglemessagemenu, message {{/str}} {{/pix}}
         <div class="count-container {{^unreadcount}}hidden{{/unreadcount}}" data-region="count-container">{{unreadcount}}</div>
index b6a0214..66f7db9 100644 (file)
@@ -65,7 +65,7 @@
     <div class="text-right">{{{ printdialoglink }}}</div>
     <div class="text-center p-b-1 book_title">{{{ booktitle }}}</div>
     <div class="book_info w-100 p-t-3 d-inline-block">
-        <div class="w-50 pull-left">
+        <div class="w-50 float-left">
             <table>
                 <tr>
                     <td>
@@ -93,8 +93,8 @@
                 </tr>
             </table>
         </div>
-        <div class="w-50 pull-left">
-            <table class="pull-right">
+        <div class="w-50 float-left">
+            <table class="float-right">
                 <tr>
                     <td>
                         {{# str }} printedby, booktool_print {{/ str }}:
index 2b70aa3..b0f56ea 100644 (file)
@@ -2467,7 +2467,7 @@ function forum_print_discussion_header(&$post, $forum, $group = -1, $datestring
     $postuser->id = $post->userid;
     echo '<td class="author">';
     echo '<div class="media">';
-    echo '<span class="pull-left">';
+    echo '<span class="float-left">';
     echo $OUTPUT->user_picture($postuser, array('courseid'=>$forum->course));
     echo '</span>';
     // User name
index 16e403d..5566579 100644 (file)
@@ -112,7 +112,7 @@ if (has_capability('mod/forum:managesubscriptions', $context) && \mod_forum\subs
 echo $OUTPUT->header();
 echo $OUTPUT->heading(get_string('forum', 'forum').' '.$strsubscribers);
 if (!empty($updatesubscriptionsbutton)) {
-    echo \html_writer::div($updatesubscriptionsbutton, 'pull-right');
+    echo \html_writer::div($updatesubscriptionsbutton, 'float-right');
 }
 if (empty($USER->subscriptionsediting)) {
     $subscribers = \mod_forum\subscriptions::fetch_subscribed_users($forum, $currentgroup, $context);
index 9905ea5..4a3b085 100644 (file)
@@ -61,7 +61,7 @@
                             {{#state.unknown}}badge-warning{{/state.unknown}}">
                     {{state.text}}
                 </div>
-                <div class="tool-card-actions pull-xs-right">
+                <div class="tool-card-actions float-sm-right">
                     {{#courseid}}
                         <a href="{{{urls.course}}}" title="{{#str}} courselink, mod_lti {{/str}}">{{#pix}} i/course, core, {{#str}} courselink, mod_lti {{/str}}{{/pix}}</a>
                     {{/courseid}}
index f671876..b2781eb 100644 (file)
@@ -61,7 +61,7 @@
                             {{#state.unknown}}badge-warning{{/state.unknown}}">
                     {{state.text}}
                 </div>
-                <div class="tool-card-actions pull-xs-right">
+                <div class="tool-card-actions float-sm-right">
                     {{#courseid}}
                         <a href="{{{urls.course}}}" title="{{#str}} courselink, mod_lti {{/str}}">{{#pix}} i/course, core, {{#str}} courselink, mod_lti {{/str}}{{/pix}}</a>
                     {{/courseid}}
index 447b269..fd15d48 100644 (file)
@@ -1,4 +1,4 @@
-<div class="pull-right card">
+<div class="float-right card">
 <p>{{{groupselector}}}</p>
 <form class="user-competency-course-navigation">
 {{#hasusers}}
index c0c729b..3b6ac34 100644 (file)
@@ -210,7 +210,7 @@ $enrolbuttonsout = '';
 foreach ($enrolbuttons as $enrolbutton) {
     $enrolbuttonsout .= $enrolrenderer->render($enrolbutton);
 }
-echo html_writer::div($enrolbuttonsout, 'pull-right');
+echo html_writer::div($enrolbuttonsout, 'float-right');
 
 // Should use this variable so that we don't break stuff every time a variable is added or changed.
 $baseurl = new moodle_url('/user/index.php', array(
@@ -359,7 +359,7 @@ if ($bulkoperations) {
 echo '</div>';  // Userlist.
 
 $enrolrenderer = $PAGE->get_renderer('core_enrol');
-echo '<div class="pull-right">';
+echo '<div class="float-right">';
 foreach ($enrolbuttons as $enrolbutton) {
     echo $enrolrenderer->render($enrolbutton);
 }