MDL-58428 theme: Move templates from admin/tool/usertours
authorMathew May <mathewm@hotmail.co.nz>
Fri, 22 Feb 2019 07:26:10 +0000 (15:26 +0800)
committerSara Arjona <sara@moodle.com>
Tue, 26 Feb 2019 11:56:14 +0000 (12:56 +0100)
admin/tool/usertours/templates/tourstep.mustache
theme/bootstrapbase/templates/tool_usertours/tourstep.mustache [moved from theme/boost/templates/tool_usertours/tourstep.mustache with 66% similarity]

index a4fb976..192fec4 100644 (file)
     }
 
 }}
-<div class="modal" data-role="flexitour-step">
-    <div data-role="arrow"></div>
+<div class="modal-dialog" role="document" data-role="flexitour-step">
+  <div class="modal-content">
+    <div class="tooltip-arrow" data-role="arrow"></div>
     <div class="modal-header">
-      <button type="button" class="close" data-dismiss="modal" aria-hidden="true" data-role="end">&times;</button>
-      <h3 data-placeholder="title"></h3>
+      <h5 class="modal-title" data-placeholder="title"></h5>
+      <button type="button" class="close" data-dismiss="modal" aria-label="Close" data-role="end">
+        <span aria-hidden="true">&times;</span>
+      </button>
+
+    </div>
+    <div class="modal-body" data-placeholder="body">
     </div>
-    <div class="modal-body" data-placeholder="body"></div>
     <div class="modal-footer">
-        <div class="btn-group">
-            <button href="#" class="btn" data-role="previous">{{# str }} previous, moodle {{/ str }}</button>
-            <button href="#" class="btn btn-primary" data-role="next">{{# str }} next, moodle {{/ str }}</button>
-        </div>
-        <button class="btn" data-role="end"> {{# str }} endtour, tool_usertours {{/ str }} </button>
+      <button type="button" class="btn btn-secondary" data-role="previous">{{# str }} previous, moodle {{/ str }}</button>
+      <button type="button" class="btn btn-primary" data-role="next">{{# str }} next, moodle {{/ str }}</button>
+      <button class="btn btn-secondary" data-role="end"> {{# str }} endtour, tool_usertours {{/ str }} </button>
     </div>
+  </div>
 </div>
     }
 
 }}
-<div class="modal-dialog" role="document" data-role="flexitour-step">
-  <div class="modal-content">
-    <div class="tooltip-arrow" data-role="arrow"></div>
+<div class="modal" data-role="flexitour-step">
+    <div data-role="arrow"></div>
     <div class="modal-header">
-      <h5 class="modal-title" data-placeholder="title"></h5>
-      <button type="button" class="close" data-dismiss="modal" aria-label="Close" data-role="end">
-        <span aria-hidden="true">&times;</span>
-      </button>
-
-    </div>
-    <div class="modal-body" data-placeholder="body">
+      <button type="button" class="close" data-dismiss="modal" aria-hidden="true" data-role="end">&times;</button>
+      <h3 data-placeholder="title"></h3>
     </div>
+    <div class="modal-body" data-placeholder="body"></div>
     <div class="modal-footer">
-      <button type="button" class="btn btn-secondary" data-role="previous">{{# str }} previous, moodle {{/ str }}</button>
-      <button type="button" class="btn btn-primary" data-role="next">{{# str }} next, moodle {{/ str }}</button>
-      <button class="btn btn-secondary" data-role="end"> {{# str }} endtour, tool_usertours {{/ str }} </button>
+        <div class="btn-group">
+            <button href="#" class="btn" data-role="previous">{{# str }} previous, moodle {{/ str }}</button>
+            <button href="#" class="btn btn-primary" data-role="next">{{# str }} next, moodle {{/ str }}</button>
+        </div>
+        <button class="btn" data-role="end"> {{# str }} endtour, tool_usertours {{/ str }} </button>
     </div>
-  </div>
 </div>