Skip to content

Commit

Permalink
MDL-64506 templates: replace spans where and col-x appears
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolate-lightning committed Apr 3, 2019
1 parent 5cac5fa commit 5edb0fb
Show file tree
Hide file tree
Showing 19 changed files with 102 additions and 102 deletions.
16 changes: 8 additions & 8 deletions admin/tool/customlang/templates/translator.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@
<div class="list-group">
<div class="container-fluid d-none d-md-block list-group-item border-bottom-0">
<div class="row-fluid">
<div class="col-sm-4 col-md-2 span2">
<div class="col-sm-4 col-md-2">
<strong>{{#str}}headingcomponent, tool_customlang{{/str}}</strong>
</div>
<div class="col-sm-4 col-md-2 span2">
<div class="col-sm-4 col-md-2">
<strong>{{#str}}headingstringid, tool_customlang{{/str}}</strong>
</div>
<div class="col-sm-4 col-md-2 span2">
<div class="col-sm-4 col-md-2">
<strong>{{#str}}headingstandard, tool_customlang{{/str}}</strong>
</div>
<div class="col-sm-12 col-md-6 span6">
<div class="col-sm-12 col-md-6">
<span class="p-l-1 pl-3">
<strong>{{#str}}headinglocal, tool_customlang{{/str}}</strong>
</span>
Expand All @@ -97,19 +97,19 @@
{{#modified}}list-group-item-info{{/modified}}"
>
<div class="row-fluid ">
<div class="col-sm-4 col-md-2 span2">
<div class="col-sm-4 col-md-2">
<div class="d-md-none">
<strong>{{#str}}headingcomponent, tool_customlang{{/str}}</strong>
</div>
{{{ component }}}
</div>
<div class="col-sm-4 col-md-2 span2 text-break">
<div class="col-sm-4 col-md-2 text-break">
<div class="d-md-none">
<strong>{{#str}}headingstringid, tool_customlang{{/str}}</strong>
</div>
{{{ stringid }}}
</div>
<div class="col-sm-4 col-md-2 span2">
<div class="col-sm-4 col-md-2">
<div class="d-md-none">
<strong>{{#str}}headingstandard, tool_customlang{{/str}}</strong>
</div>
Expand All @@ -124,7 +124,7 @@
</div>
{{/showoriginalvsmaster}}
</div>
<div class="col-sm-12 col-md-6 mt-sm-3 mt-md-0 span6">
<div class="col-sm-12 col-md-6 mt-sm-3 mt-md-0">
<div class="d-md-none">
<strong>{{#str}}headinglocal, tool_customlang{{/str}}</strong>
</div>
Expand Down
2 changes: 1 addition & 1 deletion admin/tool/dataprivacy/templates/contact_dpo.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<abbr class="initialism text-danger" title="{{#str}}required{{/str}}">{{#pix}}req, core, {{#str}}required{{/str}}{{/pix}}</abbr>
</span>
</label>
<div class="col-md-9 span9">
<div class="col-md-9">
<textarea class="form-control" id="message" cols="60" rows="8"></textarea>
<div class="form-control-feedback" id="id_error_message" hidden="hidden">
{{#str}}required, moodle{{/str}}
Expand Down
10 changes: 5 additions & 5 deletions admin/tool/dataprivacy/templates/defaults_display.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@
}
}}
<div class="row-fluid rtl-compatible mt-1 mb-1">
<div class="col-md-9 span9">
<div class="col-md-9">
<div class="row-fluid rtl-compatible mt-1 mb-1">
<div class="col-md-3 span3">
<div class="col-md-3">
<strong>{{#str}}category, tool_dataprivacy{{/str}}</strong>
</div>
<div class="col-md-9 span9">
<div class="col-md-9">
{{category}}
</div>
</div>
<div class="row-fluid rtl-compatible mt-1 mb-1">
<div class="col-md-3 span3">
<div class="col-md-3">
<strong>{{#str}}purpose, tool_dataprivacy{{/str}}</strong>
</div>
<div class="col-md-9 span9">
<div class="col-md-9">
{{purpose}}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion blocks/myoverview/templates/view-list.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
data-region="course-content"
data-course-id="{{{id}}}">
<div class="row-fluid">
<div class="{{#hasprogress}}col-md-6 span6{{/hasprogress}}{{^hasprogress}}col-md-11 span11{{/hasprogress}} d-flex align-items-center">
<div class="{{#hasprogress}}col-md-6{{/hasprogress}}{{^hasprogress}}col-md-11 col-md-11{{/hasprogress}} d-flex align-items-center">
<a href="{{viewurl}}" class="coursename">
<div class="text-muted muted d-flex" style="flex-flow:wrap;">
<span class="sr-only">
Expand Down
4 changes: 2 additions & 2 deletions course/templates/activityinstance.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}}
{{#activities}}
<div class="row mb-1 row-fluid">
<div class="activityinstance col-xs-6 span6">
<div class="activityinstance col-xs-6">
<div class="mod-indent-outer"></div>
<div>
{{#canmanage}}
Expand All @@ -47,7 +47,7 @@
</a>
</div>
</div>
<div class="activity-completionstatus col-xs-6 span6" id="completionstatus_{{cmid}}">
<div class="activity-completionstatus col-xs-6" id="completionstatus_{{cmid}}">
<div class="col-sm-1 p-l-0">
{{#completionstatus.icon}}
{{{completionstatus.icon}}}
Expand Down
4 changes: 2 additions & 2 deletions course/templates/bulkactivitycompletion.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
</div>
</div>
<div class="row mb-1">
<div class="col-xs-6 span6">
<div class="col-xs-6">
<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="col-xs-6">
<label class="font-weight-bold">{{#str}}completion, core_completion{{/str}}</label>
<span>{{{helpicon}}}</span>
</div>
Expand Down
8 changes: 4 additions & 4 deletions course/templates/defaultactivitycompletion.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
</div>
</div>
<div class="row mb-1">
<div class="col-xs-6 span6">
<div class="col-xs-6">
<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="col-xs-6">
<label class="font-weight-bold">{{#str}}completion, core_completion{{/str}}</label>
<span>{{{helpicon}}}</span>
</div>
Expand All @@ -61,13 +61,13 @@
{{#canmanage}}
<div class="mb-1">
<div class="row mb-1 row-fluid">
<div class="col-xs-6 span6">
<div class="col-xs-6">
<label class="accesshide" for="modtype_{{id}}">{{#str}}select, core_completion{{/str}} {{formattedname}}</label>
<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>
<div class="activity-completionstatus col-xs-6 span6">
<div class="activity-completionstatus col-xs-6">
<div class="col-sm-1 p-l-0">
{{#completionstatus.icon}}
{{{completionstatus.icon}}}
Expand Down
Loading

0 comments on commit 5edb0fb

Please sign in to comment.