MDL-81821 theme_boost: Refactor font utility classes for BS5

This commit is contained in:
Mikel Martín
2024-11-26 15:17:30 +01:00
parent 505a85eb9a
commit 636ab0fba9
120 changed files with 240 additions and 220 deletions
@@ -27,23 +27,23 @@ See them in action and compare them in our [Grid example]({{< docsref "/examples
<th></th>
<th>
Extra small<br>
<span class="font-weight-normal">&lt;576px</span>
<span class="fw-normal">&lt;576px</span>
</th>
<th>
Small<br>
<span class="font-weight-normal">&ge;576px</span>
<span class="fw-normal">&ge;576px</span>
</th>
<th>
Medium<br>
<span class="font-weight-normal">&ge;768px</span>
<span class="fw-normal">&ge;768px</span>
</th>
<th>
Large<br>
<span class="font-weight-normal">&ge;992px</span>
<span class="fw-normal">&ge;992px</span>
</th>
<th>
Extra large<br>
<span class="font-weight-normal">&ge;1200px</span>
<span class="fw-normal">&ge;1200px</span>
</th>
</tr>
</thead>
@@ -28,7 +28,7 @@ The parameters for the template context are:
"collapsedcontent": "Hello...",
"expandedcontent": "Hello<br>Is it me you're looking for? I can see it in your eyes",
"extraclasses": "rounded p-2 border",
"buttonextraclasses": "font-weight-bold"
"buttonextraclasses": "fw-bold"
}
{{< /mustache >}}
@@ -47,9 +47,9 @@ tip: you can use heading classes to style a native heading tag differently.
{{< example >}}
<p class="text-lowercase">Lowercased text.</p>
<p class="text-uppercase">Uppercased text.</p>
<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-normal">Normal weight text.</p>
<p class="font-italic">Italic text.</p>
<p class="fw-bold">Bold text.</p>
<p class="fw-normal">Normal weight text.</p>
<p class="fst-italic">Italic text.</p>
<p class="text-muted">
Muted text with a <a href="#" class="text-reset">reset link</a>.
@@ -89,7 +89,7 @@
<dl>
{{#fields}}
<div class="row">
<dt class="col-3 font-weight-normal" style="word-wrap:break-word">{{field_name}}</dt>
<dt class="col-3 fw-normal" style="word-wrap:break-word">{{field_name}}</dt>
<dd class="col-9">{{field_summary}}</dd>
</div>
{{/fields}}
@@ -47,7 +47,7 @@
{{{given}}}
{{#example}}
<div class="alert alert-info mb-0 mt-2" role="alert" style="overflow: auto;">
<div class="font-weight-bold mr-2 ">{{#str}} step_example, tool_generator {{/str}}</div>
<div class="fw-bold mr-2 ">{{#str}} step_example, tool_generator {{/str}}</div>
<pre class="mb-0">{{example}}</pre>
</div>
{{/example}}
@@ -53,7 +53,7 @@ class verification_field extends \MoodleQuickForm_text {
$attributes['inputmode'] = 'numeric';
$attributes['pattern'] = '[0-9]*';
// Overwrite default classes if set.
$attributes['class'] = isset($attributes['class']) ? $attributes['class'] : 'tool-mfa-verification-code font-weight-bold';
$attributes['class'] = isset($attributes['class']) ? $attributes['class'] : 'tool-mfa-verification-code fw-bold';
$attributes['maxlength'] = 6;
// If we aren't on the auth page, this might be part of a larger form such as for setup.
@@ -62,7 +62,7 @@
</div>
{{#hasadditionalfactors}}
<div class="mb-6 mt-4 border-bottom"></div>
<p class="font-weight-bold mb-1">{{#str}} verifyalt, tool_mfa {{/str}}</p>
<p class="fw-bold mb-1">{{#str}} verifyalt, tool_mfa {{/str}}</p>
{{/hasadditionalfactors}}
{{#additionalfactors}}
<form id="{{uniqid}}-nextfactor" method="POST" action="{{{authurl}}}">
@@ -131,7 +131,7 @@ class page_nopermission implements renderable, templatable {
$data = (object) [
'pluginbaseurl' => (new moodle_url('/admin/tool/policy'))->out(false),
'haspermissionagreedocs' => $this->haspermissionagreedocs,
'supportemail' => $OUTPUT->supportemail(['class' => 'font-weight-bold'])
'supportemail' => $OUTPUT->supportemail(['class' => 'fw-bold'])
];
// Get the messages to display.
@@ -28,7 +28,7 @@
}}
<li class="list-group-item mt-3 p-0 border-0">
<div data-region="course-events-container" id="course-events-container-{{id}}" data-course-id="{{id}}" class="px-2">
<h4 class="h5 font-weight-bold">{{{fullnamedisplay}}}</h4>
<h4 class="h5 fw-bold">{{{fullnamedisplay}}}</h4>
{{< block_timeline/event-list }}
{{$courseid}}{{id}}{{/courseid}}
{{/ block_timeline/event-list }}
@@ -66,7 +66,7 @@
<div class="pb-2" data-region="event-list-wrapper">
{{#eventsbyday}}
<div class="mt-3" data-region="event-list-content-date" data-timestamp="{{dayTimestamp}}">
<h5 class="h6 d-inline {{^courseview}}font-weight-bold px-2{{/courseview}}">{{#userdate}} {{dayTimestamp}}, {{#str}} strftimedaydate, core_langconfig {{/str}} {{/userdate}}</h5>
<h5 class="h6 d-inline {{^courseview}}fw-bold px-2{{/courseview}}">{{#userdate}} {{dayTimestamp}}, {{#str}} strftimedaydate, core_langconfig {{/str}} {{/userdate}}</h5>
</div>
{{> block_timeline/event-list-items }}
{{/eventsbyday}}
+1 -1
View File
@@ -838,7 +838,7 @@ class core_course_management_renderer extends plugin_renderer_base {
*/
protected function detail_pair($key, $value, $class ='') {
$html = html_writer::start_div('detail-pair row yui3-g '.preg_replace('#[^a-zA-Z0-9_\-]#', '-', $class));
$html .= html_writer::div(html_writer::span($key), 'pair-key col-md-3 yui3-u-1-4 font-weight-bold');
$html .= html_writer::div(html_writer::span($key), 'pair-key col-md-3 yui3-u-1-4 fw-bold');
$html .= html_writer::div(html_writer::span($value), 'pair-value col-md-8 yui3-u-3-4');
$html .= html_writer::end_div();
return $html;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -90,7 +90,7 @@ export default class extends BaseComponent {
// Component css classes.
this.classes = {
DISABLED: `disabled`,
ITALIC: `font-italic`,
ITALIC: `fst-italic`,
DISPLAYNONE: `d-none`,
};
}
@@ -65,7 +65,7 @@
<div class="w-100 text-center">
{{#pix}}t/block, moodle{{/pix}}
</div>
<div class="w-100 font-italic text-center">
<div class="w-100 fst-italic text-center">
{{#str}}maxsectionaddmessage, core_courseformat{{/str}}
</div>
</div>
@@ -40,7 +40,7 @@
{{$expandedcontent}}
{{#pix}}t/unlock, core{{/pix}} {{{text}}}
{{/expandedcontent}}
{{$buttonextraclasses}}font-weight-bold{{/buttonextraclasses}}
{{$buttonextraclasses}}fw-bold{{/buttonextraclasses}}
{{$collapsedextraclasses}}text-truncate pe-2 {{#editing}}mt-2{{/editing}}{{/collapsedextraclasses}}
{{$expandedextraclasses}}
{{^editing}}py-2{{/editing}}
+2 -2
View File
@@ -580,7 +580,7 @@ class core_course_renderer extends plugin_renderer_base {
$rolenames = array_map(function ($role) {
return $role->displayname;
}, $coursecontact['roles']);
$name = html_writer::tag('span', implode(", ", $rolenames).': ', ['class' => 'font-weight-bold']);
$name = html_writer::tag('span', implode(", ", $rolenames).': ', ['class' => 'fw-bold']);
$name .= html_writer::link(
\core_user::get_profile_url($coursecontact['user'], context_system::instance()),
$coursecontact['username']
@@ -636,7 +636,7 @@ class core_course_renderer extends plugin_renderer_base {
if ($chelper->get_show_courses() == self::COURSECAT_SHOW_COURSES_EXPANDED_WITH_CAT) {
if ($cat = core_course_category::get($course->category, IGNORE_MISSING)) {
$content .= html_writer::start_tag('div', ['class' => 'coursecat']);
$content .= html_writer::tag('span', get_string('category').': ', ['class' => 'font-weight-bold']);
$content .= html_writer::tag('span', get_string('category').': ', ['class' => 'fw-bold']);
$content .= html_writer::link(new moodle_url('/course/index.php', ['categoryid' => $cat->id]),
$cat->get_formatted_name(), ['class' => $cat->visible ? '' : 'dimmed']);
$content .= html_writer::end_tag('div');
@@ -51,10 +51,10 @@
<div class="row mb-1">
<div class="col-6">
<input type="checkbox" class="mastercheck me-1" aria-label="{{#str}}checkall, completion{{/str}}">
<label class="font-weight-bold">{{#str}}activitieslabel, core_completion{{/str}}</label>
<label class="fw-bold">{{#str}}activitieslabel, core_completion{{/str}}</label>
</div>
<div class="col-6">
<label class="font-weight-bold">{{#str}}completion, core_completion{{/str}}</label>
<label class="fw-bold">{{#str}}completion, core_completion{{/str}}</label>
<span>{{{helpicon}}}</span>
</div>
</div>
@@ -35,7 +35,7 @@
}}aria-label="{{.}}" {{!
}}{{/accessibledescription}}>
{{#pix}}i/checked{{/pix}}
<strong>{{#str}}completion_automatic:done, core_course{{/str}}</strong> <span class="font-weight-normal">{{description}}</span>
<strong>{{#str}}completion_automatic:done, core_course{{/str}}</strong> <span class="fw-normal">{{description}}</span>
</div>
{{/statuscomplete}}
{{#statuscompletefail}}
@@ -45,7 +45,7 @@
}}aria-label="{{.}}" {{!
}}{{/accessibledescription}}>
{{#pix}}e/cancel{{/pix}}
<strong>{{#str}}completion_automatic:failed, core_course{{/str}}</strong> <span class="font-weight-normal">{{description}}</span>
<strong>{{#str}}completion_automatic:failed, core_course{{/str}}</strong> <span class="fw-normal">{{description}}</span>
</div>
{{/statuscompletefail}}
{{#statusincomplete}}
@@ -54,12 +54,12 @@
}}title="{{.}}" {{!
}}aria-label="{{.}}" {{!
}}{{/accessibledescription}}>
<strong>{{#str}}completion_automatic:todo, core_course{{/str}}</strong> <span class="font-weight-normal">{{description}}</span>
<strong>{{#str}}completion_automatic:todo, core_course{{/str}}</strong> <span class="fw-normal">{{description}}</span>
</div>
{{/statusincomplete}}
{{/istrackeduser}}
{{^istrackeduser}}
<div class="badge rounded-pill bg-light text-dark" role="listitem">
<span class="font-weight-normal">{{description}}</span>
<span class="fw-normal">{{description}}</span>
</div>
{{/istrackeduser}}
@@ -68,8 +68,8 @@
{{name}}
</th>
<td>
<span class="font-weight-bold">{{#str}}registerplatform:platformid, enrol_lti{{/str}}: </span> {{issuer}}<br>
<span class="font-weight-bold">{{#str}}registerplatform:clientid, enrol_lti{{/str}}: </span> {{clientid}}
<span class="fw-bold">{{#str}}registerplatform:platformid, enrol_lti{{/str}}: </span> {{issuer}}<br>
<span class="fw-bold">{{#str}}registerplatform:clientid, enrol_lti{{/str}}: </span> {{clientid}}
</td>
<td>
{{#hasdeployments}}
+1 -1
View File
@@ -90,7 +90,7 @@ if ($data = $mform->get_data()) {
echo $OUTPUT->header();
echo $OUTPUT->notification(get_string('pagenotexist', 'error', s($ME)), 'error');
echo $OUTPUT->supportemail(['class' => 'text-center d-block mb-3 font-weight-bold']);
echo $OUTPUT->supportemail(['class' => 'text-center d-block mb-3 fw-bold']);
if ($canmessage) {
echo \html_writer::tag('h4', get_string('sendmessage', 'error'));
@@ -100,7 +100,7 @@ class gradebook_setup_action_bar extends action_bar {
);
$addmenu = new \action_menu($actions);
$addmenu->set_menu_trigger(get_string('add'), 'btn font-weight-bold');
$addmenu->set_menu_trigger(get_string('add'), 'btn fw-bold');
$data['addmenu'] = $addmenu->export_for_template($output);
return $data;
+1 -1
View File
@@ -856,7 +856,7 @@ class grade_edit_tree_column_name extends grade_edit_tree_column {
$categorycell = parent::get_category_cell($category, $levelclass, $params);
$categorycell->colspan = ($this->deepest_level + 2) - $params['level'];
$rowtitle = html_writer::div($params['name'], 'rowtitle');
$categorycell->text = html_writer::div($mastercheckbox . $visibilitytoggle . $moveaction . $rowtitle, 'font-weight-bold');
$categorycell->text = html_writer::div($mastercheckbox . $visibilitytoggle . $moveaction . $rowtitle, 'fw-bold');
return $categorycell;
}
@@ -63,7 +63,7 @@
{{#criterion}}
<div class="mb-3 criterion" data-gradingform-guide-role="criterion">
<div class="d-flex align-items-center">
<h5 class="description font-weight-bold mb-0">{{name}}</h5>
<h5 class="description fw-bold mb-0">{{name}}</h5>
<button
class="btn btn-link px-1"
aria-controls="gradingform_guide-{{uniqid}}-criteria-{{id}}-description"
@@ -75,7 +75,7 @@
{{# pix }} info, gradingform_guide {{/ pix }}
<span class="sr-only">{{#str}}informationforcriterion, gradingform_guide, {{name}}{{/str}}</span>
</button>
<button class="criterion-toggle btn btn-icon icon-no-margin text-reset p-0 font-weight-bold mb-0 ms-auto"
<button class="criterion-toggle btn btn-icon icon-no-margin text-reset p-0 fw-bold mb-0 ms-auto"
type="button"
data-toggle="collapse"
data-target="#criteria-{{id}}"
@@ -59,8 +59,8 @@
{{#criteria}}
<div class="mb-3">
<div class="d-flex align-items-center mb-2">
<h5 id="criterion-description-{{id}}" class="px-0 mb-0 description font-weight-bold">{{{description}}}</h5>
<button class="criterion-toggle btn btn-icon icon-no-margin text-reset p-0 font-weight-bold mb-0 ms-auto"
<h5 id="criterion-description-{{id}}" class="px-0 mb-0 description fw-bold">{{{description}}}</h5>
<button class="criterion-toggle btn btn-icon icon-no-margin text-reset p-0 fw-bold mb-0 ms-auto"
type="button"
data-toggle="collapse"
data-target="#criteria-{{id}}"
@@ -44,7 +44,7 @@
{{#str}}blanks, gradereport_singleview{{/str}}
</label>
</div>
<p class ="font-weight-bold">
<p class ="fw-bold">
{{#str}}bulkinsertvalue, gradereport_singleview{{/str}}
</p>
<label for="{{name}}" class="sr-only">{{#str}}bulkinsertvalue, gradereport_singleview{{/str}}</label>
@@ -39,7 +39,7 @@
<span class="d-block small" aria-hidden="true">
{{#str}} selectagrade, gradereport_singleview {{/str}}
</span>
<span class="p-0 font-weight-bold">
<span class="p-0 fw-bold">
{{text}}
</span>
</div>
+1 -1
View File
@@ -68,7 +68,7 @@
"labelattributes": [
{
"name": "class",
"value": "font-weight-bold"
"value": "fw-bold"
}
],
"selectedoption": "OpenDocument spreadsheet",
@@ -69,7 +69,7 @@
"labelattributes": [
{
"name": "class",
"value": "font-weight-bold"
"value": "fw-bold"
}
],
"selectedoption": "Key manager",
+1 -1
View File
@@ -48,7 +48,7 @@
{{/picture}}
</div>
<div class="d-block">
<span class="p-0 font-weight-bold">
<span class="p-0 fw-bold">
{{fullname}}
</span>
{{#additionalfield}}
+1 -1
View File
@@ -68,7 +68,7 @@
"labelattributes": [
{
"name": "class",
"value": "font-weight-bold"
"value": "fw-bold"
}
],
"selectedoption": "CSV file",
@@ -69,7 +69,7 @@
"labelattributes": [
{
"name": "class",
"value": "font-weight-bold"
"value": "fw-bold"
}
],
"selectedoption": "Key manager",
@@ -48,7 +48,7 @@
{{/profileimage}}
</div>
<div class="d-block pe-3 w-75">
<span class="w-100 p-0 font-weight-bold">
<span class="w-100 p-0 fw-bold">
{{fullname}}
</span>
<span class="w-100 pull-left text-truncate small">
@@ -37,7 +37,7 @@
<label class="d-block m-0 small" aria-hidden="true">
{{label}}
</label>
<span class="p-0 font-weight-bold" data-selected-option>
<span class="p-0 fw-bold" data-selected-option>
{{selectedgroup}}
</span>
</div>
@@ -117,13 +117,13 @@ class share_progress_table extends table_sql {
}
}
if ($deleted) {
$class = 'font-italic';
$class = 'fst-italic';
}
// Add a link to the resource if it was recorded.
if (!empty($row->resourceurl)) {
// Apply bold to resource links that aren't deleted.
if (!$deleted) {
$class = 'font-weight-bold';
$class = 'fw-bold';
}
$icon = $OUTPUT->pix_icon('i/externallink', get_string('opensinnewwindow'), 'moodle', ['class' => 'ms-1']);
$text = $name . $icon;
+3 -3
View File
@@ -1729,7 +1729,7 @@ function print_object($item, array $expandclasses = ['/./'], bool $textonly = fa
switch (gettype($item)) {
case 'NULL':
case 'boolean':
return 'font-italic';
return 'fst-italic';
case 'integer':
case 'double':
return 'text-primary';
@@ -1874,11 +1874,11 @@ function print_object($item, array $expandclasses = ['/./'], bool $textonly = fa
switch ($access) {
case 'protected':
// Protected is in normal font.
$bootstrapstyle = ' font-weight-normal';
$bootstrapstyle = ' fw-normal';
break;
case 'private':
// Private is italic.
$bootstrapstyle = ' font-weight-normal font-italic';
$bootstrapstyle = ' fw-normal fst-italic';
break;
default:
// Public is bold, same for array keys.
@@ -35,7 +35,7 @@
}}
<div class="tiny-aiplacement-image-options">
<div class="form-group">
<label for="{{elementid}}_tiny_aiplacement_imageprompt" class="font-weight-bold">
<label for="{{elementid}}_tiny_aiplacement_imageprompt" class="fw-bold">
{{#str}} imageprompt_label, tiny_aiplacement {{/str}}
</label>
<textarea
@@ -45,7 +45,7 @@
placeholder="{{#str}} imageprompt_placeholder, tiny_aiplacement {{/str}}"
></textarea>
</div>
<span class="font-weight-bold">
<span class="fw-bold">
{{#str}} imagequality, tiny_aiplacement{{/str}}
</span>
<div class="tiny-aiplacement-toggle-container mt-1 mb-1">
@@ -71,7 +71,7 @@
</label>
</div>
</div>
<span class="font-weight-bold">
<span class="fw-bold">
{{#str}} aspectratio, tiny_aiplacement{{/str}}
</span>
<div class="tiny-aiplacement-aspect-ratio-container mt-1 mb-1">
@@ -35,7 +35,7 @@
}}
<div class="d-flex align-items-center h-100">
<div class="tiny-aiplacement-error-display w-50">
<div class="font-weight-bold">
<div class="fw-bold">
<i class="icon fa fa-info-circle m-0 text-danger" aria-hidden="true"></i>
<span class="d-inline-block">
{{#str}} generatefailtitle, tiny_aiplacement{{/str}}
@@ -38,7 +38,7 @@
<div class="container">
<div class="row justify-content-md-center">
<div class="col-md-4">
<label for="{{elementid}}_tiny_aiplacement_textprompt" class="font-weight-bold">
<label for="{{elementid}}_tiny_aiplacement_textprompt" class="fw-bold">
{{#str}} textprompt_label, tiny_aiplacement {{/str}}
</label>
<textarea
+1 -1
View File
@@ -5973,7 +5973,7 @@ function generate_email_signoff() {
$signoff .= $CFG->supportname."\n";
}
$supportemail = $OUTPUT->supportemail(['class' => 'font-weight-bold']);
$supportemail = $OUTPUT->supportemail(['class' => 'fw-bold']);
if ($supportemail) {
$signoff .= "\n" . $supportemail . "\n";
+1 -1
View File
@@ -58,7 +58,7 @@
role="combobox"
aria-haspopup="dialog"
aria-controls="dialog-{{instance}}-{{uniqid}}"
class="{{#buttonclasses}}{{.}}{{/buttonclasses}} btn dropdown-toggle d-flex text-start align-items-center p-0 font-weight-bold"
class="{{#buttonclasses}}{{.}}{{/buttonclasses}} btn dropdown-toggle d-flex text-start align-items-center p-0 fw-bold"
aria-label="{{label}}"
data-input-element="input-{{instance}}-{{uniqid}}">
{{{buttoncontent}}}
+1 -1
View File
@@ -60,7 +60,7 @@
{{#pix}}e/cancel_solid_circle{{/pix}}
</button>
</div>
<div data-filterregion="joinadverb" class="ps-1 text-uppercase font-weight-bold">
<div data-filterregion="joinadverb" class="ps-1 text-uppercase fw-bold">
<div data-filterverbfor="0">{{#str}}operator_andnot{{/str}}</div>
<div data-filterverbfor="1">{{#str}}operator_or{{/str}}</div>
<div data-filterverbfor="2">{{#str}}operator_and{{/str}}</div>
+1 -1
View File
@@ -34,5 +34,5 @@
}}
<div class="align-middle picker-row" data-row="{{index}}">
<h3 class="h6 font-weight-bold mb-0 category-name">{{text}}</h3>
<h3 class="h6 fw-bold mb-0 category-name">{{text}}</h3>
</div>
@@ -72,7 +72,7 @@
{{/icon}}
<div class="option-name">
<a
class="stretched-link text-wrap font-weight-bold {{!
class="stretched-link text-wrap fw-bold {{!
}} {{^disabled}} text-dark {{/disabled}} {{!
}} {{#disabled}} disabled {{/disabled}} {{!
}} {{#selected}} selected {{/selected}}"
@@ -48,7 +48,7 @@
{{sharenotice}}
</div>
{{^fullsharing}}
<div class="moodlenet-share-total-activities font-weight-bold ps-2 ms-3">
<div class="moodlenet-share-total-activities fw-bold ps-2 ms-3">
{{selectedactivitiesnotice}}
</div>
{{/fullsharing}}
@@ -30,7 +30,7 @@
{{#pix}} fp/cross, theme {{/pix}}
{{/success}}
</span>
<span class="status-text font-weight-bold h5 pt-5">
<span class="status-text fw-bold h5 pt-5">
{{#success}}
{{#str}} moodlenet:sharesuccesstitle, moodle {{/str}}
{{/success}}
@@ -40,7 +40,7 @@
</span>
</div>
<div class="result pt-2">
<span class="d-block h6 font-weight-normal pt-1 result-text">
<span class="d-block h6 fw-normal pt-1 result-text">
{{#success}}
{{#str}} moodlenet:sharesuccesstext, moodle {{/str}}
{{/success}}
@@ -20,7 +20,7 @@
}
}}
<div class="moodlenet-share-to">
{{#str}} moodlenet:sharingto, moodle {{/str}}<span class="font-weight-bold">{{server}}</span>
{{#str}} moodlenet:sharingto, moodle {{/str}}<span class="fw-bold">{{server}}</span>
</div>
<div class="moodlenet-action-buttons">
<button type="button" class="btn btn-secondary" data-action="cancel">{{#str}} cancel, moodle {{/str}}</button>
@@ -19,10 +19,10 @@
}
}}
<div class="moodlenet-share-modal-content text-center p-5">
<div class="font-weight-bold h3 p-2">{{#str}} moodlenet:sharingstatus, moodle {{/str}}</div>
<div class="h5 font-weight-normal p-2 test-share-large">{{#str}} moodlenet:sharinglargefile, moodle {{/str}}</div>
<div class="fw-bold h3 p-2">{{#str}} moodlenet:sharingstatus, moodle {{/str}}</div>
<div class="h5 fw-normal p-2 test-share-large">{{#str}} moodlenet:sharinglargefile, moodle {{/str}}</div>
<div class="p-5">
{{> core/loading }}
</div>
<div class="h5 font-weight-normal p-2">{{#str}} moodlenet:packagingandsending, moodle {{/str}}</div>
<div class="h5 fw-normal p-2">{{#str}} moodlenet:packagingandsending, moodle {{/str}}</div>
</div>
+2 -2
View File
@@ -37,7 +37,7 @@
"labelattributes": [
{
"name": "class",
"value": "font-weight-bold"
"value": "fw-bold"
}
],
"selectedoption": "Second option",
@@ -104,7 +104,7 @@
{{#label}}
<label class="d-block m-0 small" id="{{baseid}}-label"{{#labelattributes}} {{name}}="{{value}}"{{/labelattributes}}>{{label}}</label>
{{/label}}
<span class="font-weight-bold" data-selected-option>
<span class="fw-bold" data-selected-option>
{{selectedoption}}
</span>
</div>
@@ -69,7 +69,7 @@
{{#isonline}} {{#pix}} t/online, core, {{#str}} online, core_message {{/str}} {{/pix}} {{/isonline}}
</span>
{{/showonlinestatus}}
<h6 class="ms-2 font-weight-bold">{{#highlight}}{{{highlight}}}{{/highlight}}{{^highlight}}{{fullname}}{{/highlight}}</h6>
<h6 class="ms-2 fw-bold">{{#highlight}}{{{highlight}}}{{/highlight}}{{^highlight}}{{fullname}}{{/highlight}}</h6>
<div
class="ms-auto align-self-end {{^isblocked}}hidden{{/isblocked}}"
data-region="block-icon-container"
@@ -71,7 +71,7 @@
{{#subname}}
<p class="m-0 text-truncate">{{.}}</p>
{{/subname}}
<p class="m-0 font-weight-light text-truncate last-message" data-region="last-message">
<p class="m-0 fw-light text-truncate last-message" data-region="last-message">
{{#sentfromcurrentuser}}
{{#str}} you, core_message {{/str}}
{{/sentfromcurrentuser}}
@@ -86,7 +86,7 @@
{{/lastmessagedate}}
</div>
</div>
<p class="m-0 font-weight-light text-truncate" data-region="last-message">
<p class="m-0 fw-light text-truncate" data-region="last-message">
{{#sentfromcurrentuser}}{{#str}} you, core_message {{/str}}{{/sentfromcurrentuser}}
<span>{{{lastmessage}}}</span>
</p>
@@ -62,7 +62,7 @@
aria-hidden="true"
style="height: 38px"
>
<h6 class="ms-2 font-weight-bold">{{#highlight}}{{{highlight}}}{{/highlight}}{{^highlight}}{{fullname}}{{/highlight}}</h6>
<h6 class="ms-2 fw-bold">{{#highlight}}{{{highlight}}}{{/highlight}}{{^highlight}}{{fullname}}{{/highlight}}</h6>
{{#isblocked}}
<div class="ms-auto align-self-end">
{{#pix}} t/block, core, {{#str}} contactblocked, message {{/str}} {{/pix}}
@@ -64,7 +64,7 @@
{{fullname}}
</strong>
</div>
<p class="m-0 font-weight-light text-truncate">
<p class="m-0 fw-light text-truncate">
{{#str}} wouldliketocontactyou, core_message {{/str}}
</p>
</div>
@@ -49,11 +49,11 @@
<div class="content-message-container hidden h-100 px-2 pt-0" data-region="content-message-container" role="log" style="overflow-y: auto; overflow-x: hidden">
<div class="py-3 sticky-top z-index-1 border-bottom text-center hidden" data-region="contact-request-sent-message-container">
<p class="m-0">{{#str}} contactrequestsent, core_message {{/str}}</p>
<p class="font-italic font-weight-light" data-region="text"></p>
<p class="fst-italic fw-light" data-region="text"></p>
</div>
<div class="p-3 text-center hidden" data-region="self-conversation-message-container">
<p class="m-0">{{#str}} selfconversation, core_message {{/str}}</p>
<p class="font-italic font-weight-light" data-region="text">{{#str}} selfconversationdefaultmessage, core_message {{/str}}</p>
<p class="fst-italic fw-light" data-region="text">{{#str}} selfconversationdefaultmessage, core_message {{/str}}</p>
</div>
<div class="hidden text-center p-3" data-region="more-messages-loading-icon-container">{{> core/loading }}</div>
</div>
@@ -55,7 +55,7 @@
>
</div>
<div class="text-truncate ps-2 pe-2">
<h6 class="text-truncate m-0 font-weight-bold">{{userfrom.fullname}}</h6>
<h6 class="text-truncate m-0 fw-bold">{{userfrom.fullname}}</h6>
</div>
{{/fromloggedinuser}}
@@ -73,7 +73,7 @@
</span>
</div>
{{#showonlinestatus}}
<p class="m-0 font-weight-light text-truncate">
<p class="m-0 fw-light text-truncate">
{{#isonline}}{{#str}} loggedin, core_message {{/str}}{{/isonline}}
{{^isonline}}{{#str}} loggedoff, core_message {{/str}}{{/isonline}}
</p>
@@ -72,7 +72,7 @@
</span>
</div>
{{#showonlinestatus}}
<p class="m-0 font-weight-light text-truncate">
<p class="m-0 fw-light text-truncate">
{{#isonline}}{{#str}} loggedin, core_message {{/str}}{{/isonline}}
{{^isonline}}{{#str}} loggedoff, core_message {{/str}}{{/isonline}}
</p>
@@ -66,7 +66,7 @@
</span>
</div>
{{#showonlinestatus}}
<p class="m-0 font-weight-light text-truncate">
<p class="m-0 fw-light text-truncate">
{{#str}} loggedin, core_message {{/str}}
</p>
{{/showonlinestatus}}
@@ -54,7 +54,7 @@
<h2 class="mt-2 mb-0 text-center text-truncate h4">{{name}}</h2>
{{#subname}}<h3 class="mt-2 mb-0 text-center text-truncate h5">{{.}}</h3>{{/subname}}
</div>
<h3 class="border-bottom h6 mt-3 px-3 py-2 mb-0 font-weight-bold">{{#str}} otherparticipants, core_message {{/str}}</h3>
<h3 class="border-bottom h6 mt-3 px-3 py-2 mb-0 fw-bold">{{#str}} otherparticipants, core_message {{/str}}</h3>
<div class="pt-1 bg-white overflow-y" data-region="members-list-container">
{{< core_message/message_drawer_lazy_load_list }}
{{$rootattributes}}
@@ -54,7 +54,7 @@
<span class="expanded-icon-container">
{{#pix}} t/expanded, core {{/pix}}
</span>
<span class="font-weight-bold ms-1">{{$title}}{{/title}}</span>
<span class="fw-bold ms-1">{{$title}}{{/title}}</span>
<small
class="hidden ms-1"
data-region="section-total-count-container" aria-labelledby="{{$region}}{{/region}}-total-count-label"
@@ -36,7 +36,7 @@
{{#settings}}
<div data-region="settings" class="p-3">
<h3 class="h6 font-weight-bold">{{#str}} privacy, message {{/str}}</h3>
<h3 class="h6 fw-bold">{{#str}} privacy, message {{/str}}</h3>
<p>{{#str}} privacy_desc, message {{/str}}</p>
<div data-preference="blocknoncontacts" class="mb-3">
<fieldset>
@@ -59,10 +59,10 @@
</div>
<div class="hidden" data-region="notification-preference-container">
<h3 class="mb-2 mt-4 h6 font-weight-bold">{{#str}} notificationpreferences, core_message {{/str}}</h3>
<h3 class="mb-2 mt-4 h6 fw-bold">{{#str}} notificationpreferences, core_message {{/str}}</h3>
</div>
<h3 class="mb-2 mt-4 h6 font-weight-bold">{{#str}} general, core {{/str}}</h3>
<h3 class="mb-2 mt-4 h6 fw-bold">{{#str}} general, core {{/str}}</h3>
<div data-preference="entertosend">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="enter-to-send-{{uniqid}}" {{#entertosend}}checked{{/entertosend}}>
@@ -36,7 +36,7 @@
<div id="bigbluebuttonbn-status-bar" class="text-wrap">
{{#statusrunning}}
<div>
<span class="font-weight-bold">{{#str}}view_message_session_started_at, mod_bigbluebuttonbn{{/str}}:</span>
<span class="fw-bold">{{#str}}view_message_session_started_at, mod_bigbluebuttonbn{{/str}}:</span>
<span>{{#userdate}} {{startedat}}, {{#str}} strftimetime, core_langconfig{{/str}} {{/userdate}}.</span>
<span class="status-message">{{statusmessage}}</span>
</div>
@@ -47,27 +47,27 @@
<div class="conf-opening-time">
{{#openingtime}}
<span class="conf-opening">
<span class="font-weight-bold">{{#str}}mod_form_field_openingtime, bigbluebuttonbn{{/str}}:</span>
<span class="fw-bold">{{#str}}mod_form_field_openingtime, bigbluebuttonbn{{/str}}:</span>
{{#userdate}} {{.}}, {{#str}} strftimedaydatetime, langconfig {{/str}} {{/userdate}}
</span>
{{/openingtime}}
{{#closingtime}}
<div class="conf-closing">
<span class="font-weight-bold">{{#str}}mod_form_field_closingtime, bigbluebuttonbn{{/str}}:</span>
<span class="fw-bold">{{#str}}mod_form_field_closingtime, bigbluebuttonbn{{/str}}:</span>
{{#userdate}} {{.}}, {{#str}} strftimedaydatetime, langconfig {{/str}} {{/userdate}}
</div>
{{/closingtime}}
</div>
{{#statusrunning}}
<div>
<span class="font-weight-bold">
<span class="fw-bold">
{{#moderatorplural}}{{#str}}view_message_moderators, mod_bigbluebuttonbn{{/str}}{{/moderatorplural}}
{{^moderatorplural}}{{#str}}view_message_moderator, mod_bigbluebuttonbn{{/str}}{{/moderatorplural}}:
</span>
<span>{{moderatorcount}}</span>
</div>
<div>
<span class="font-weight-bold">
<span class="fw-bold">
{{#viewerplural}}{{#str}}view_message_viewers, mod_bigbluebuttonbn{{/str}}{{/viewerplural}}
{{^viewerplural}}{{#str}}view_message_viewer, mod_bigbluebuttonbn{{/str}}{{/viewerplural}}:
</span>
@@ -152,7 +152,7 @@ class renderer extends plugin_renderer_base {
if (!$ch->subchapter) {
$toc .= html_writer::link(new moodle_url('#ch' . $ch->id), $title,
array('title' => s($title), 'class' => 'font-weight-bold text-decoration-none'));
array('title' => s($title), 'class' => 'fw-bold text-decoration-none'));
$toc .= html_writer::start_tag('ul');
} else {
$toc .= html_writer::link(new moodle_url('#ch' . $ch->id), $title,
@@ -1,14 +1,14 @@
<div class="imagegallery-addentry">
<div class="mb-3">
<div class="font-weight-bold">[[title#name]]</div>
<div class="fw-bold">[[title#name]]</div>
[[title]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[image#name]]</div>
<div class="fw-bold">[[image#name]]</div>
[[image]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[description#name]]</div>
<div class="fw-bold">[[description#name]]</div>
[[description]]
</div>
##otherfields##
@@ -1,20 +1,20 @@
<div class="imagegallery-asearch container">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3">
<div class="mb-3 col">
<div class="font-weight-bold mb-2">First name</div>
<div class="fw-bold mb-2">First name</div>
##firstname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">Last name</div>
<div class="fw-bold mb-2">Last name</div>
##lastname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[title#name]]</div>
<div class="fw-bold mb-2">[[title#name]]</div>
[[title]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[description#name]]</div>
<div class="fw-bold mb-2">[[description#name]]</div>
[[description]]
</div>
</div>
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div class="ms-auto my-auto ##approvalstatusclass##">##approvalstatus##</div>
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div>##actionsmenu##</div>
+2 -2
View File
@@ -1,10 +1,10 @@
<div class="journal-addentry">
<div class="mb-3">
<div class="font-weight-bold">[[Title#name]]</div>
<div class="fw-bold">[[Title#name]]</div>
[[Title]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Content#name]]</div>
<div class="fw-bold">[[Content#name]]</div>
[[Content]]
</div>
##otherfields##
+4 -4
View File
@@ -1,20 +1,20 @@
<div class="journal-asearch container">
<div class="row row-cols-3">
<div class="mb-3 col">
<div class="font-weight-bold mb-2">First name</div>
<div class="fw-bold mb-2">First name</div>
##firstname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">Last name</div>
<div class="fw-bold mb-2">Last name</div>
##lastname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Title#name]]</div>
<div class="fw-bold mb-2">[[Title#name]]</div>
[[Title]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Content#name]]</div>
<div class="fw-bold mb-2">[[Content#name]]</div>
[[Content]]
</div>
</div>
+1 -1
View File
@@ -19,7 +19,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-8 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
</div>
</div>
+1 -1
View File
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div class="ms-auto my-auto ##approvalstatusclass##">##approvalstatus##</div>
+1 -1
View File
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div>##actionsmenu##</div>
+4 -4
View File
@@ -1,18 +1,18 @@
<div class="proposals-addentry">
<div class="mb-3">
<div class="font-weight-bold">[[Title#name]]</div>
<div class="fw-bold">[[Title#name]]</div>
[[Title]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Status#name]]</div>
<div class="fw-bold">[[Status#name]]</div>
[[Status]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Summary#name]]</div>
<div class="fw-bold">[[Summary#name]]</div>
[[Summary]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Content#name]]</div>
<div class="fw-bold">[[Content#name]]</div>
[[Content]]
</div>
##otherfields##
@@ -1,28 +1,28 @@
<div class="proposals-asearch container">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3">
<div class="mb-3 col">
<div class="font-weight-bold mb-2">First name</div>
<div class="fw-bold mb-2">First name</div>
##firstname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">Last name</div>
<div class="fw-bold mb-2">Last name</div>
##lastname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Title#name]]</div>
<div class="fw-bold mb-2">[[Title#name]]</div>
[[Title]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Status#name]]</div>
<div class="fw-bold mb-2">[[Status#name]]</div>
[[Status]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Summary#name]]</div>
<div class="fw-bold mb-2">[[Summary#name]]</div>
[[Summary]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Content#name]]</div>
<div class="fw-bold mb-2">[[Content#name]]</div>
[[Content]]
</div>
</div>
+1 -1
View File
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div class="ms-auto my-auto ##approvalstatusclass##">##approvalstatus##</div>
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div>##actionsmenu##</div>
+6 -6
View File
@@ -1,26 +1,26 @@
<div class="resources-addentry">
<div class="mb-3">
<div class="font-weight-bold">[[Title#name]]</div>
<div class="fw-bold">[[Title#name]]</div>
[[Title]]
</div>
<div class="mb-3">
<div class="font-weight-bold">Author of resource</div>
<div class="fw-bold">Author of resource</div>
[[Author]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Cover#name]]</div>
<div class="fw-bold">[[Cover#name]]</div>
[[Cover]]
</div>
<div class="mb-3">
<div class="font-weight-bold">Content</div>
<div class="fw-bold">Content</div>
[[Description]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Web link#name]]</div>
<div class="fw-bold">[[Web link#name]]</div>
[[Web link]]
</div>
<div class="mb-3">
<div class="font-weight-bold">[[Type#name]]</div>
<div class="fw-bold">[[Type#name]]</div>
[[Type]]
</div>
##otherfields##
@@ -1,32 +1,32 @@
<div class="resources-asearch container">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3">
<div class="mb-3 col">
<div class="font-weight-bold mb-2">First name</div>
<div class="fw-bold mb-2">First name</div>
##firstname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">Last name</div>
<div class="fw-bold mb-2">Last name</div>
##lastname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Title#name]]</div>
<div class="fw-bold mb-2">[[Title#name]]</div>
[[Title]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">Author of resource</div>
<div class="fw-bold mb-2">Author of resource</div>
[[Author]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">Content</div>
<div class="fw-bold mb-2">Content</div>
[[Description]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Web link#name]]</div>
<div class="fw-bold mb-2">[[Web link#name]]</div>
[[Web link]]
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">[[Type#name]]</div>
<div class="fw-bold mb-2">[[Type#name]]</div>
[[Type]]
</div>
</div>
+1 -1
View File
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div class="ms-auto my-auto ##approvalstatusclass##">##approvalstatus##</div>
@@ -7,7 +7,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">Last edited:</span> ##timemodified##
<span class="fw-bold ">Last edited:</span> ##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div>##actionsmenu##</div>
@@ -24,15 +24,15 @@
<div class="d-flex flex-column flex-md-row">
<div class="single-entry-header w-100 pe-2">
<div class="row my-3">
<div class="col-3 col-md-2 font-weight-bold">Author of resource</div>
<div class="col-3 col-md-2 fw-bold">Author of resource</div>
<div class="col-9 col-md-auto">[[Author]]</div>
</div>
<div class="row my-3">
<div class="col-3 col-md-2 font-weight-bold">[[Type#name]]</div>
<div class="col-3 col-md-2 fw-bold">[[Type#name]]</div>
<div class="col-9 col-md-auto">[[Type]]</div>
</div>
<div class="row my-3">
<div class="col-3 col-md-2 font-weight-bold">Link</div>
<div class="col-3 col-md-2 fw-bold">Link</div>
<div class="col-9 col-md-auto">[[Web link]]</div>
</div>
</div>
@@ -36,14 +36,14 @@
<div id="defaulttemplate-addentry">
{{#fields}}
<div class="mb-3 pt-3">
<div class="font-weight-bold">{{fieldname}}</div>
<div class="fw-bold">{{fieldname}}</div>
{{{fieldcontent}}}
</div>
{{/fields}}
##otherfields##
{{#tags}}
<div class="mb-3 pt-3">
<div class="font-weight-bold">{{#str}}tags{{/str}}</div>
<div class="fw-bold">{{#str}}tags{{/str}}</div>
{{{.}}}
</div>
{{/tags}}
@@ -36,24 +36,24 @@
<div class="defaulttemplate-asearch container">
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-3">
<div class="mb-3 col">
<div class="font-weight-bold mb-2">{{#str}}authorfirstname, mod_data{{/str}}</div>
<div class="fw-bold mb-2">{{#str}}authorfirstname, mod_data{{/str}}</div>
##firstname##
</div>
<div class="mb-3 col">
<div class="font-weight-bold mb-2">{{#str}}authorlastname, mod_data{{/str}}</div>
<div class="fw-bold mb-2">{{#str}}authorlastname, mod_data{{/str}}</div>
##lastname##
</div>
{{#fields}}
<div class="mb-3 col">
<div class="font-weight-bold mb-2">{{fieldname}}</div>
<div class="fw-bold mb-2">{{fieldname}}</div>
{{{fieldcontent}}}
</div>
{{/fields}}
{{#tags}}
<div class="mb-3 col">
<div class="font-weight-bold mb-2">{{#str}}tags{{/str}}</div>
<div class="fw-bold mb-2">{{#str}}tags{{/str}}</div>
{{.}}
</div>
{{/tags}}
@@ -42,7 +42,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">{{#str}}datemodified, mod_data{{/str}}&nbsp;</span>##timemodified##
<span class="fw-bold ">{{#str}}datemodified, mod_data{{/str}}&nbsp;</span>##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div>##actionsmenu##</div>
@@ -56,13 +56,13 @@
<div class="defaulttemplate-list-body">
{{#fields}}
<div class="row my-3 align-items-start justify-content-start">
<div class="col-4 col-lg-3 font-weight-bold">{{fieldname}}</div>
<div class="col-4 col-lg-3 fw-bold">{{fieldname}}</div>
<div class="col-8 col-lg-9 ms-n3">{{{fieldcontent}}}</div>
</div>
{{/fields}}
{{#tags}}
<div class="mb-4">
<span class="font-weight-bold">{{#str}}tags{{/str}}</span>
<span class="fw-bold">{{#str}}tags{{/str}}</span>
<p class="mt-2">{{.}}</p>
</div>
{{/tags}}
@@ -37,7 +37,7 @@
<div class="defaulttemplate-single-body my-5">
{{#fields}}
<div class="mt-4">
<span class="font-weight-bold">{{fieldname}}</span>
<span class="fw-bold">{{fieldname}}</span>
<p class="mt-2">{{{fieldcontent}}}</p>
</div>
{{/fields}}
@@ -43,7 +43,7 @@
##user##<br/><span class="data-timeinfo">##timeadded##</span>
</div>
<div class="col-4 col-md-6 text-end align-self-center data-timeinfo">
<span class="font-weight-bold ">{{#str}}datemodified, mod_data{{/str}}&nbsp;</span>##timemodified##
<span class="fw-bold ">{{#str}}datemodified, mod_data{{/str}}&nbsp;</span>##timemodified##
</div>
<div class="col-4 col-md-3 ms-auto align-self-center d-flex flex-row-reverse">
<div>##actionsmenu##</div>
@@ -57,14 +57,14 @@
<div class="my-6">
{{#fields}}
<div class="mt-4">
<span class="font-weight-bold">{{fieldname}}</span>
<span class="fw-bold">{{fieldname}}</span>
<p class="mt-2">{{{fieldcontent}}}</p>
</div>
{{/fields}}
##otherfields##
{{#tags}}
<div class="mt-4">
<span class="font-weight-bold">{{#str}}tags{{/str}}</span>
<span class="fw-bold">{{#str}}tags{{/str}}</span>
<p class="mt-2">{{.}}</p>
</div>
{{/tags}}
@@ -26,7 +26,7 @@
<div class="{{^classes}}tag_otherfields{{/classes}} {{#classes}}{{classes}}{{/classes}}">
{{#fields}}
<div class="mt-4">
<span class="font-weight-bold">{{fieldname}}</span>
<span class="fw-bold">{{fieldname}}</span>
<p class="mt-2">{{{fieldcontent}}}</p>
</div>
{{/fields}}
+1 -1
View File
@@ -304,7 +304,7 @@
{{#unread}}
{{! TODO Rewrite as AJAX}}
<span class="lead">
<a href="{{{discussion.urls.viewfirstunread}}}" class="badge bg-primary text-white rounded-pill font-weight-normal"
<a href="{{{discussion.urls.viewfirstunread}}}" class="badge bg-primary text-white rounded-pill fw-normal"
title="{{#str}}unreadpostsnumber, mod_forum, {{unread}}{{/str}}" aria-label="{{#str}}unreadpostsnumber, mod_forum, {{unread}}{{/str}}">
{{unread}}
</a>
@@ -35,7 +35,7 @@
}}
<div class="p-2 discussion-settings-container" data-container="discussion-tools">
<h3 class="mb-2 mt-2 h6 font-weight-bold">{{#str}} general, core {{/str}}</h3>
<h3 class="mb-2 mt-2 h6 fw-bold">{{#str}} general, core {{/str}}</h3>
{{#capabilities.subscribe}}
{{< mod_forum/setting_switch}}
{{$switchid}}subscription-toggle-{{uniqid}}{{/switchid}}
@@ -103,12 +103,12 @@
{{/capabilities.manage}}
{{#movediscussion}}
<h3 class="h6 mt-4 font-weight-bold">{{#str}} move, core {{/str}}</h3>
<h3 class="h6 mt-4 fw-bold">{{#str}} move, core {{/str}}</h3>
{{{.}}}
{{/movediscussion}}
{{#exportdiscussion}}
<h3 class="h6 mt-4 font-weight-bold">{{#str}} portfolio, portfolio {{/str}}</h3>
<h3 class="h6 mt-4 fw-bold">{{#str}} portfolio, portfolio {{/str}}</h3>
{{{.}}}
{{/exportdiscussion}}
</div>
@@ -85,7 +85,7 @@
<span class="text-danger">
{{#str}}
authorreplyingprivatelytoauthor, mod_forum, {
"respondant":"<a class='font-weight-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
"respondant":"<a class='fw-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
"author":"{{parentauthorname}}"
}
{{/str}}
@@ -94,14 +94,14 @@
{{^isprivatereply}}
{{#str}}
authorreplyingtoauthor, mod_forum, {
"respondant":"<a class='font-weight-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
"respondant":"<a class='fw-bold author-name' data-region='author-name' href='{{{urls.profile}}}'>{{fullname}}</a>",
"author":"{{parentauthorname}}"
}
{{/str}}
{{/isprivatereply}}
{{/parentauthorname}}
{{^parentauthorname}}
<a class='font-weight-bold author-name' data-region='author-name' href="{{{urls.profile}}}">{{fullname}}</a>
<a class='fw-bold author-name' data-region='author-name' href="{{{urls.profile}}}">{{fullname}}</a>
{{/parentauthorname}}
</h4>
{{/author}}
@@ -241,7 +241,7 @@
{{/isdeleted}}
{{$subject}}
<h2
class="h1 font-weight-bold post-subject mt-n2"
class="h1 fw-bold post-subject mt-n2"
data-region-content="forum-post-core-subject"
data-reply-subject="{{replysubject}}"
>{{{subject}}}</h2>
@@ -284,7 +284,7 @@
<a
href="{{{url}}}"
aria-label="{{#str}} attachmentname, mod_forum, {{filename}} {{/str}}"
class="font-weight-bold"
class="fw-bold"
>
{{#str}} attachmentnameandfilesize, mod_forum, {"name": "{{filename}}", "size": "{{filesizeformatted}}"} {{/str}}
</a>
@@ -326,7 +326,7 @@
<div class="d-flex mt-3">
{{#capabilities.reply}}
<button
class="btn btn-primary btn-lg font-weight-bold px-4"
class="btn btn-primary btn-lg fw-bold px-4"
data-href="{{{urls.reply}}}"
data-post-id="{{id}}"
data-action="create-inpage-reply"
@@ -32,7 +32,7 @@
{{< mod_forum/forum_discussion_nested_v2_first_post }}
{{$subject}}
<h3
{{#isdeleted}}class="h6 font-weight-bold"{{/isdeleted}}
{{#isdeleted}}class="h6 fw-bold"{{/isdeleted}}
{{^isdeleted}}class="sr-only"{{/isdeleted}}
data-region-content="forum-post-core-subject"
>{{{subject}}}</h3>
@@ -43,7 +43,7 @@
{{#capabilities.reply}}
<div class="d-flex mt-1">
<button
class="font-weight-bold btn btn-link px-0"
class="fw-bold btn btn-link px-0"
data-href="{{{urls.reply}}}"
data-post-id="{{id}}"
data-action="create-inpage-reply"
@@ -70,7 +70,7 @@
{{/parentauthorname}}
{{$subjectheading}}
<h3 {{!
}}class="h6 font-weight-bold mb-0" {{!
}}class="h6 fw-bold mb-0" {{!
}}data-region-content="forum-post-core-subject" {{!
}}data-reply-subject="{{replysubject}}" {{!
}}>{{$subject}}{{{subject}}}{{/subject}}</h3>
@@ -137,7 +137,7 @@
{{^isdeleted}}
{{#haswordcount}}
<p class="font-italic mb-0"><small>{{#str}} numwords, core, {{wordcount}} {{/str}}</small></p>
<p class="fst-italic mb-0"><small>{{#str}} numwords, core, {{wordcount}} {{/str}}</small></p>
{{/haswordcount}}
{{#attachments}}
@@ -57,7 +57,7 @@
{{< mod_forum/forum_posts_with_context_links}}
{{$subjectheading}}
<h4 {{!
}}class="h6 font-weight-bold mb-0" {{!
}}class="h6 fw-bold mb-0" {{!
}}data-region-content="forum-post-core-subject" {{!
}}data-reply-subject="{{replysubject}}" {{!
}}>
@@ -37,11 +37,11 @@
{{#discussions}}
<div class="discussion-container">
<div class="p-4">
<h3 class="d-inline-block m-0 h6 font-weight-bold">{{#str}} discussionstartedby, mod_forum, {{authorfullname}} {{/str}}</h3>
<p class="d-inline-block m-0 h6 font-weight-normal text-muted ms-1">
<h3 class="d-inline-block m-0 h6 fw-bold">{{#str}} discussionstartedby, mod_forum, {{authorfullname}} {{/str}}</h3>
<p class="d-inline-block m-0 h6 fw-normal text-muted ms-1">
{{#userdate}} {{timecreated}}, {{#str}} strftimedate, core_langconfig {{/str}} {{/userdate}}
</p>
<h2 class="mb-4 font-weight-bold">{{name}}</h2>
<h2 class="mb-4 fw-bold">{{name}}</h2>
{{#posts}}
<div class="posts-container">
@@ -89,7 +89,7 @@
{{^discussions}}
<div class="no-post-container text-center p-5">
{{#pix}} no-posts, mod_forum {{/pix}}
<h2 class="mt-3 font-weight-bold">{{#str}} noposts, mod_forum {{/str}}</h2>
<h2 class="mt-3 fw-bold">{{#str}} noposts, mod_forum {{/str}}</h2>
</div>
{{/discussions}}
</div>
+2 -2
View File
@@ -51,7 +51,7 @@
</div>
<div class="w-100">
{{#loggedinuser}}
<h4 class="h5 font-weight-bold reply-author">{{#str}} replyauthorself, mod_forum, {{firstname}}{{/str}}</h4>
<h4 class="h5 fw-bold reply-author">{{#str}} replyauthorself, mod_forum, {{firstname}}{{/str}}</h4>
{{/loggedinuser}}
{{#throttlingwarningmsg}}
<div class="alert alert-danger alert-block fade in " role="alert">
@@ -78,7 +78,7 @@
<input type="hidden" name="reply" value="{{postid}}"/>
<input type="hidden" name="sesskey" value="{{sesskey}}"/>
<div class="d-flex mt-3 align-items-center flex-wrap">
<button class="btn btn-primary font-weight-bold px-3" data-action="forum-inpage-submit">
<button class="btn btn-primary fw-bold px-3" data-action="forum-inpage-submit">
<span data-region="submit-text">{{#str}} posttoforum, mod_forum {{/str}}</span>
<span data-region="loading-icon-container" class="hidden">{{> core/loading }}</span>
</button>
@@ -94,13 +94,13 @@
</div>
<div class="body-container position-relative d-flex flex-column" data-region="body-container">
<div class="grader-grading-panel-display pt-3" data-region="grading-panel-container">
<h4 class="mb-0 h5 px-3 font-weight-normal">
<h4 class="mb-0 h5 px-3 fw-normal">
{{#pix}} i/grading, core {{/pix}}{{#str}} gradingmodulename, core_grades, {{moduleName}} {{/str}}
</h4>
<div data-region="grade" class="pt-3 px-3">
{{> mod_forum/local/grades/local/grader/grade_placeholder }}
</div>
<h4 id="send-student-notifications-setting" class="mb-0 h5 px-3 font-weight-normal">
<h4 id="send-student-notifications-setting" class="mb-0 h5 px-3 fw-normal">
{{#pix}} i/gradingnotifications, core {{/pix}}{{#str}}notifications, core{{/str}}
</h4>
<div data-region="notification" class="pt-3 px-3" role="radiogroup" aria-labelledby="send-student-notifications-setting">
@@ -45,7 +45,7 @@
<h5 class="d-inline px-0 mb-0">{{moduleName}}</h5>
</button>
<span class="text-muted icon-no-margin">{{#pix}} i/breadcrumbdivider, core {{/pix}}</span>
<h5 class="d-inline px-2 mb-0 font-weight-bold">{{#str}}grading, forum{{/str}}</h5>
<h5 class="d-inline px-2 mb-0 fw-bold">{{#str}}grading, forum{{/str}}</h5>
</div>
<div class="ms-1 ms-sm-auto">
@@ -72,13 +72,13 @@
<span aria-hidden="true">{{#pix}} hide-grader-panel, mod_forum, {{#str}} hidegraderpanel, mod_forum {{/str}} {{/pix}}</span>
</button>
<button
class="btn btn-primary font-weight-bold ms-sm-2 px-4"
class="btn btn-primary fw-bold ms-sm-2 px-4"
data-action="savegrade"
>
{{#str}} save {{/str}}
</button>
<button
class="btn btn-secondary font-weight-bold ms-1 ms-sm-2 px-4"
class="btn btn-secondary fw-bold ms-1 ms-sm-2 px-4"
aria-label="{{#str}} closegrader, mod_forum {{/str}}"
data-action="closegrader"
type="button"
@@ -33,7 +33,7 @@
"total": 10
}
}}
<h2 class="font-weight-bold h5 mb-0">
<h2 class="fw-bold h5 mb-0">
{{#status}}
{{#str}}graded, forum{{/str}}
{{/status}}
@@ -47,7 +47,7 @@
{{/profileimageurl}}
<div class="overflow-hidden">
<h5
class="mb-0 font-weight-bold user-full-name text-truncate"
class="mb-0 fw-bold user-full-name text-truncate"
data-region="name"
data-userid="{{id}}"
>
@@ -69,7 +69,7 @@
{{^users}}
<div class="no-search-results-container text-center">
{{#pix}} no-search-results, mod_forum {{/pix}}
<h5 class="font-weight-bold mt-3">{{#str}}nousersmatch, mod_forum{{/str}}</h5>
<h5 class="fw-bold mt-3">{{#str}}nousersmatch, mod_forum{{/str}}</h5>
</div>
{{/users}}
</div>

Some files were not shown because too many files have changed in this diff Show More