From 4394f9e3583bf1bd1c2553a664b5b3fd37ee200e Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Mon, 27 Jan 2020 15:06:29 +0100 Subject: [PATCH] MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css --- .../analytics/classes/output/models_list.php | 2 +- .../templates/evaluation_options.mustache | 4 +- .../templates/export_options.mustache | 2 +- .../customlang/templates/translator.mustache | 10 +- .../templates/component_status.mustache | 12 +- .../templates/data_registry.mustache | 2 +- .../data_registry_compliance.mustache | 2 +- .../templates/defaults_display.mustache | 6 +- .../dataprivacy/templates/summary.mustache | 4 +- .../langimport/templates/langimport.mustache | 2 +- .../manage_competencies_page.mustache | 2 +- .../moodlenet/amd/build/instance_form.min.js | 2 +- .../amd/build/instance_form.min.js.map | 2 +- admin/tool/moodlenet/amd/src/instance_form.js | 4 +- .../templates/import_confirmation.mustache | 2 +- .../templates/import_options_select.mustache | 2 +- .../insight_info_message_prediction.mustache | 2 +- ...odle-availability_completion-form-debug.js | 2 +- ...moodle-availability_completion-form-min.js | 2 +- .../moodle-availability_completion-form.js | 2 +- .../completion/yui/src/form/js/form.js | 2 +- .../moodle-availability_date-form-debug.js | 2 +- .../moodle-availability_date-form-min.js | 2 +- .../moodle-availability_date-form.js | 2 +- .../condition/date/yui/src/form/js/form.js | 2 +- .../moodle-availability_grade-form-debug.js | 2 +- .../moodle-availability_grade-form-min.js | 2 +- .../moodle-availability_grade-form.js | 2 +- .../condition/grade/yui/src/form/js/form.js | 2 +- .../moodle-availability_group-form-debug.js | 2 +- .../moodle-availability_group-form-min.js | 2 +- .../moodle-availability_group-form.js | 2 +- .../condition/group/yui/src/form/js/form.js | 2 +- ...moodle-availability_grouping-form-debug.js | 2 +- .../moodle-availability_grouping-form-min.js | 2 +- .../moodle-availability_grouping-form.js | 2 +- .../grouping/yui/src/form/js/form.js | 2 +- .../moodle-availability_profile-form-debug.js | 2 +- .../moodle-availability_profile-form-min.js | 2 +- .../moodle-availability_profile-form.js | 2 +- .../condition/profile/yui/src/form/js/form.js | 2 +- .../moodle-core_availability-form-debug.js | 4 +- .../moodle-core_availability-form-min.js | 4 +- .../moodle-core_availability-form.js | 4 +- availability/yui/src/form/js/form.js | 4 +- badges/renderer.php | 4 +- .../myoverview/templates/view-list.mustache | 4 +- .../templates/view-summary.mustache | 4 +- blocks/rss_client/templates/item.mustache | 2 +- calendar/templates/event_item.mustache | 2 +- course/templates/activityinstance.mustache | 6 +- .../templates/bulkactivitycompletion.mustache | 2 +- course/templates/coursecard.mustache | 2 +- .../defaultactivitycompletion.mustache | 8 +- grade/edit/outcome/course_form.html | 6 +- group/templates/index.mustache | 2 +- lib/badgeslib.php | 2 +- lib/editor/atto/plugins/image/styles.css | 6 +- .../moodle-atto_table-button-debug.js | 22 +- .../moodle-atto_table-button-min.js | 2 +- .../moodle-atto_table-button.js | 22 +- .../plugins/table/yui/src/button/js/button.js | 22 +- lib/form/filemanager.js | 2 +- lib/outputrenderers.php | 4 +- .../auth_digital_minor_page.mustache | 2 +- lib/templates/filemanager_uploadform.mustache | 2 +- lib/tests/weblib_test.php | 2 +- message/templates/message_index.mustache | 4 +- .../message_preferences_component.mustache | 2 +- ...references_notification_processor.mustache | 2 +- ...otification_preferences_component.mustache | 2 +- ...references_component_notification.mustache | 2 +- .../tool/print/classes/output/renderer.php | 8 +- .../tool/print/templates/print_book.mustache | 22 +- .../templates/print_book_chapter.mustache | 2 +- mod/forum/report/summary/index.php | 2 +- .../summary/templates/filter_groups.mustache | 2 +- mod/forum/templates/discussion_list.mustache | 10 +- mod/forum/templates/forum_discussion.mustache | 2 +- .../local/grades/view_grade.mustache | 10 +- mod/forum/tests/mail_test.php | 4 +- .../formats/entrylist/entrylist_format.php | 2 +- mod/glossary/lib.php | 2 +- mod/lesson/locallib.php | 4 +- mod/lesson/renderer.php | 7 +- .../modal_add_random_question.mustache | 6 +- .../behat/manually_mark_question.feature | 2 +- question/type/ddimageortext/rendererbase.php | 2 +- question/type/ddimageortext/styles.css | 4 - question/type/ddmarker/renderer.php | 2 +- question/type/ddmarker/styles.css | 4 - report/competency/templates/report.mustache | 2 +- report/participation/index.php | 2 +- theme/boost/scss/moodle.scss | 4 +- theme/boost/scss/moodle/admin.scss | 12 +- theme/boost/scss/moodle/backup-restore.scss | 12 +- theme/boost/scss/moodle/bs2-compat.scss | 59 -- theme/boost/scss/moodle/bs4alphacompat.scss | 236 ------ theme/boost/scss/moodle/calendar.scss | 2 +- theme/boost/scss/moodle/core.scss | 25 +- theme/boost/scss/moodle/course.scss | 16 +- theme/boost/scss/moodle/forms.scss | 10 +- theme/boost/scss/moodle/grade.scss | 6 +- theme/boost/scss/moodle/modules.scss | 20 +- theme/boost/scss/moodle/question.scss | 10 +- theme/boost/scss/moodle/tool_usertours.scss | 6 +- theme/boost/scss/moodle/variables.scss | 20 + theme/boost/scss/preset/default.scss | 11 + theme/boost/style/moodle.css | 752 ++++++++--------- theme/classic/scss/preset/default.scss | 11 + theme/classic/style/moodle.css | 754 ++++++++---------- theme/index.php | 4 +- theme/upgrade.txt | 22 + 113 files changed, 958 insertions(+), 1403 deletions(-) delete mode 100644 theme/boost/scss/moodle/bs2-compat.scss delete mode 100644 theme/boost/scss/moodle/bs4alphacompat.scss create mode 100644 theme/boost/scss/moodle/variables.scss diff --git a/admin/tool/analytics/classes/output/models_list.php b/admin/tool/analytics/classes/output/models_list.php index ade6739b2cf..be1cb664949 100644 --- a/admin/tool/analytics/classes/output/models_list.php +++ b/admin/tool/analytics/classes/output/models_list.php @@ -64,7 +64,7 @@ class models_list implements \renderable, \templatable { $data = new \stdClass(); $newmodelmenu = new \action_menu(); - $newmodelmenu->set_menu_trigger(get_string('newmodel', 'tool_analytics'), 'btn btn-default'); + $newmodelmenu->set_menu_trigger(get_string('newmodel', 'tool_analytics'), 'btn btn-secondary'); $newmodelmenu->set_alignment(\action_menu::TL, \action_menu::BL); $newmodelmenu->add(new \action_menu_link( diff --git a/admin/tool/analytics/templates/evaluation_options.mustache b/admin/tool/analytics/templates/evaluation_options.mustache index 9d77c134ae9..7f4ce8e74b4 100644 --- a/admin/tool/analytics/templates/evaluation_options.mustache +++ b/admin/tool/analytics/templates/evaluation_options.mustache @@ -57,10 +57,10 @@ {{/trainedexternally}} {{! Hidden by default if #trainedexternally as the default option is trainedmodel in this case.}} -
+
{{#str}} selecttimesplittingforevaluation, tool_analytics {{/str}}
- {{#timesplittingmethods}} {{/timesplittingmethods}} diff --git a/admin/tool/analytics/templates/export_options.mustache b/admin/tool/analytics/templates/export_options.mustache index 34ebe943afa..c05550d7961 100644 --- a/admin/tool/analytics/templates/export_options.mustache +++ b/admin/tool/analytics/templates/export_options.mustache @@ -39,7 +39,7 @@
-
+
diff --git a/admin/tool/customlang/templates/translator.mustache b/admin/tool/customlang/templates/translator.mustache index 62cbdac7c31..400464cb0de 100644 --- a/admin/tool/customlang/templates/translator.mustache +++ b/admin/tool/customlang/templates/translator.mustache @@ -59,7 +59,7 @@ -
+
@@ -70,7 +70,7 @@
-
+
{{#str}}headingcomponent, tool_customlang{{/str}}
@@ -81,7 +81,7 @@ {{#str}}headingstandard, tool_customlang{{/str}}
- + {{#str}}headinglocal, tool_customlang{{/str}}
@@ -96,7 +96,7 @@ {{#outdated}}list-group-item-warning{{/outdated}} {{#modified}}list-group-item-info{{/modified}}" > -
+
{{#str}}headingcomponent, tool_customlang{{/str}} @@ -147,7 +147,7 @@ {{/strings}}
-
+
diff --git a/admin/tool/dataprivacy/templates/component_status.mustache b/admin/tool/dataprivacy/templates/component_status.mustache index 8d2bf1bf26c..7130dbffa90 100644 --- a/admin/tool/dataprivacy/templates/component_status.mustache +++ b/admin/tool/dataprivacy/templates/component_status.mustache @@ -50,12 +50,12 @@
{{#compliant}} - -

{{#pix}}t/collapsed, moodle, {{#str}}expandplugin, tool_dataprivacy{{/str}}{{/pix}}{{component}}

+
+

{{#pix}}t/collapsed, moodle, {{#str}}expandplugin, tool_dataprivacy{{/str}}{{/pix}}{{component}}

{{/compliant}} {{^compliant}} -

{{component}}

+

{{component}}

{{#pix}}i/risk_xss, moodle, {{#str}}requiresattention, tool_dataprivacy{{/str}}{{/pix}} {{/compliant}} {{#external}} @@ -73,7 +73,7 @@