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') + '">' +
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).
}
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) {
<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>
{{/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>
{{{ outdatedhelp}}}
</div>
{{#showoriginalvsmaster}}
- <div class="alert-secondary mt-3 m-t-1">
+ <div class="alert-secondary mt-3 mt-1">
{{{ original }}}
</div>
{{/showoriginalvsmaster}}
}
$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;
}
}
$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;
}
{{> 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>
}
}}
<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>
</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">
{{/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}}
{{/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}}
{{/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>
"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}}
"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>
{{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>
{{/modemodule}}
{{/canedit}}
{{#modemodule}}
- <table class="m-t-1 table table-striped">
+ <table class="mt-1 table table-striped">
<thead>
<tr>
<th> </th>
{{/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>
}}
{{#navigation}}
- <div class="m-b-1">
+ <div class="mb-1">
{{> core/action_link}}
</div>
{{/navigation}}
{{#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>
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>
</div>
</div>
<hr>
- <div class="m-b-1">
+ <div class="mb-1">
<strong>{{#str}}messagelabel, tool_dataprivacy{{/str}}</strong>
</div>
<div>
]
}
}}
-<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}}
}}
<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">
{{/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">
</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">
{{/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">
{{/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">
<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}}
</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>
<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}}
</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>
</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">
</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}}
</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>
{{/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}}
</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>
</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>
</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}}
<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>
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";
]
}
}}
-<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}}
{{#behalfuser}}
<div class="clearfix">
- <div class="pull-right m-b-2">
+ <div class="pull-right mb-2">
{{# str }} viewconsentpageforuser, tool_policy, {{{ . }}} {{/ str }}
</div>
</div>
</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">
{{^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}}
}}
{{#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>
{{# 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>
{{^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}}}
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>');
// 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');
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();
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();
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();
$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>';
}
"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}}
"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>
}
}}
-<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}}
</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>
}}
<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>
{{$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">
<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">
</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>
{{$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">
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}}
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>
{{> 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">
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>
$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);
}
$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;
{
}
}}
-<div id="event-filter-{{uniqid}}" class="calendar_filters m-t-2">
+<div id="event-filter-{{uniqid}}" class="calendar_filters mt-2">
<ul>
{{#eventtypes}}
<li>
{{#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>
{
}
}}
-<div class="eventlist m-y-1">
+<div class="eventlist my-1">
{{#events}}
{{> core_calendar/event_item }}
{{/events}}
<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}}
{{> 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 }}
// 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));
// 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')) . ' - ';
$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')
'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(
'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();
'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');
'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');
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;
}
}
}}
-<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">
}
}}
{{#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" />
{{{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">
}
}}
<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>
}
}}
<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>
{{{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">
{{{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}}
"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">
'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');
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);
<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>
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();
'</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}}" ' +
'</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}}">' +
// 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" ' +
'</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"/>' +
'{{/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"/>' +
'</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}}">' +
'</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}}' +
'<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">' +
'</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"/>' +
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}}' +
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}}' +
'</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>' +
'</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>' +
},
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>' +
'</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">' +
'</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">' +
'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>' +
'<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">' +
'</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>' +
'</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>' +
'</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>' +
'</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>' +
// 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());
$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> ';
$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;
$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 {";
}
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&ss=1&uri=' . urlencode(qualified_me()) . '">Validate HTML</a></li>
<li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1=' . urlencode(qualified_me()) . '">Section 508 Check</a></li>
<li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&warnp2n3e=1&url1=' . urlencode(qualified_me()) . '">WCAG 1 (2,3) Check</a></li>
</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>
<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>
}}
<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}}
{{/controlplacementbottom}}
{{> core/paged_content_pages }}
{{#controlplacementbottom}}
- <div class="m-t-1">
+ <div class="mt-1">
{{#pagingbar}}
{{> core/paged_content_paging_bar }}
{{/pagingbar}}
]
}
}}
-<div class="dropdown m-b-1"
+<div class="dropdown mb-1"
id="paging-dropdown-{{uniqid}}"
data-region="paging-dropdown-container">
{{#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">
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').
' » </a></span></div>'));
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').'" /> ';
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>';
$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)) {
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'));
$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;
}
$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();
}
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 ' <input type="submit" class="btn btn-primary" name="cancel" ' .
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>';
}
$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 />';
$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)) {
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="';
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>';
}
// 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 {
$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;
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.
$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" ' .
$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>';
}
}
'class="form-control" size="16" name="search" id= "pref_search" value="' . s($search) . '" /></div>';
echo ' <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) {
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 {
echo ' <input type="hidden" name="advanced" value="0" />';
echo ' <input type="hidden" name="filter" value="1" />';
echo ' <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 ' <input type="submit" class="btn btn-secondary" value="' . get_string('savesettings', 'data') . '" />';
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>';
$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));
'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');
{{{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>
/// 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') {
} 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 {
/// 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" />';
$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();
$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($) {
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>
*/
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');
* @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();
'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');
'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,
);
'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';
'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(
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')));
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();
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>';
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;
}
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}}
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 {
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');
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');
$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) {
'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');
$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
$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),
}
}}
-<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}}:
}}
{{#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}}
'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();
}
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";
}
/* 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%;
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,
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; }
{{# 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">
{{/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">
/* 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%;
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,
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; }
}
}
}}
-<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>
$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));
}
// 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);
}}
<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">
]
}
}}
-<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}}