MDL-64779 tool_analytics: Nice styles for the export modal
authorDavid MonllaĆ³ <davidm@moodle.com>
Fri, 5 Apr 2019 11:18:50 +0000 (13:18 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 5 Apr 2019 16:28:06 +0000 (18:28 +0200)
admin/tool/analytics/templates/export_options.mustache

index b7180ab..34ebe94 100644 (file)
     {
     }
 }}
-<div class="form-check">
-    <input class="form-check-input" type="radio" name="exportoption" id="id-mode-exportdata" value="exportdata">
-    <label class="form-check-label" for="id-mode-exportdata">{{#str}} exporttrainingdata, tool_analytics {{/str}}</label>
+<div class="custom-control custom-radio">
+    <input class="custom-control-input" type="radio" name="exportoption" id="id-mode-exportdata" value="exportdata">
+    <label class="custom-control-label" for="id-mode-exportdata">{{#str}} exporttrainingdata, tool_analytics {{/str}}</label>
 </div>
-<div class="form-check">
-    <input class="form-check-input" type="radio" name="exportoption" id="id-mode-exportmodel" value="exportmodel" checked>
-    <label class="form-check-label" for="id-mode-exportmodel">{{#str}} exportmodel, tool_analytics {{/str}}</label>
+<div class="custom-control custom-radio">
+    <input class="custom-control-input" type="radio" name="exportoption" id="id-mode-exportmodel" value="exportmodel" checked>
+    <label class="custom-control-label" for="id-mode-exportmodel">{{#str}} exportmodel, tool_analytics {{/str}}</label>
 </div>
-<div class="form-check m-l-2" id="id-includeweights-container">
-  <input class="form-check-input" type="checkbox" id="id-includeweights" value="1" checked>
-  <label class="form-check-label" for="id-includeweights">{{#str}} exportincludeweights, tool_analytics {{/str}}</label>
+<div class="custom-control custom-checkbox m-l-2" id="id-includeweights-container">
+  <input class="custom-control-input" type="checkbox" id="id-includeweights" value="1" checked>
+  <label class="custom-control-label" for="id-includeweights">{{#str}} exportincludeweights, tool_analytics {{/str}}</label>
 </div>
 
 {{#js}}