diff --git a/.eslintignore b/.eslintignore index 5ed9d88f625..b6103c132f0 100644 --- a/.eslintignore +++ b/.eslintignore @@ -46,24 +46,30 @@ lib/amd/src/loglevel.js lib/mustache/ lib/amd/src/mustache.js lib/graphlib.php +lib/php-css-parser/ +lib/rtlcss/ +lib/scssphp/ lib/spout/ lib/amd/src/chartjs-lazy.js lib/maxmind/GeoIp2/ lib/maxmind/MaxMind/ mod/assign/feedback/editpdf/fpdi/ repository/s3/S3.php +theme/boost/scss/bootstrap/ +theme/boost/amd/src/alert.js +theme/boost/amd/src/button.js +theme/boost/amd/src/carousel.js +theme/boost/amd/src/collapse.js +theme/boost/amd/src/dropdown.js +theme/boost/amd/src/modal.js +theme/boost/amd/src/popover.js +theme/boost/amd/src/scrollspy.js +theme/boost/amd/src/tab.js +theme/boost/amd/src/tooltip.js +theme/boost/amd/src/util.js +theme/boost/amd/src/tether.js +theme/boost/scss/preset-flat.scss +theme/boost/scss/preset-paper.scss theme/bootstrapbase/less/bootstrap/ theme/bootstrapbase/javascript/html5shiv.js -theme/bootstrapbase/amd/src/bootstrap.js -theme/noname/amd/src/alert.js -theme/noname/amd/src/button.js -theme/noname/amd/src/carousel.js -theme/noname/amd/src/collapse.js -theme/noname/amd/src/dropdown.js -theme/noname/amd/src/modal.js -theme/noname/amd/src/popover.js -theme/noname/amd/src/scrollspy.js -theme/noname/amd/src/tab.js -theme/noname/amd/src/tooltip.js -theme/noname/amd/src/util.js -theme/noname/amd/src/tether.js +theme/bootstrapbase/amd/src/bootstrap.js \ No newline at end of file diff --git a/.stylelintignore b/.stylelintignore index ceeb1a04315..155f30b498d 100644 --- a/.stylelintignore +++ b/.stylelintignore @@ -45,12 +45,30 @@ lib/amd/src/loglevel.js lib/mustache/ lib/amd/src/mustache.js lib/graphlib.php +lib/php-css-parser/ +lib/rtlcss/ +lib/scssphp/ lib/spout/ lib/amd/src/chartjs-lazy.js lib/maxmind/GeoIp2/ lib/maxmind/MaxMind/ mod/assign/feedback/editpdf/fpdi/ repository/s3/S3.php +theme/boost/scss/bootstrap/ +theme/boost/amd/src/alert.js +theme/boost/amd/src/button.js +theme/boost/amd/src/carousel.js +theme/boost/amd/src/collapse.js +theme/boost/amd/src/dropdown.js +theme/boost/amd/src/modal.js +theme/boost/amd/src/popover.js +theme/boost/amd/src/scrollspy.js +theme/boost/amd/src/tab.js +theme/boost/amd/src/tooltip.js +theme/boost/amd/src/util.js +theme/boost/amd/src/tether.js +theme/boost/scss/preset-flat.scss +theme/boost/scss/preset-paper.scss theme/bootstrapbase/less/bootstrap/ theme/bootstrapbase/javascript/html5shiv.js theme/bootstrapbase/amd/src/bootstrap.js \ No newline at end of file diff --git a/lib/classes/plugin_manager.php b/lib/classes/plugin_manager.php index 53e8ec1d5ed..2383aa7ebe1 100644 --- a/lib/classes/plugin_manager.php +++ b/lib/classes/plugin_manager.php @@ -1900,7 +1900,7 @@ class core_plugin_manager { ), 'theme' => array( - 'bootstrapbase', 'clean', 'more' + 'boost', 'bootstrapbase', 'clean', 'more' ), 'tool' => array( diff --git a/theme/noname/amd/build/alert.min.js b/theme/boost/amd/build/alert.min.js similarity index 100% rename from theme/noname/amd/build/alert.min.js rename to theme/boost/amd/build/alert.min.js diff --git a/theme/noname/amd/build/button.min.js b/theme/boost/amd/build/button.min.js similarity index 100% rename from theme/noname/amd/build/button.min.js rename to theme/boost/amd/build/button.min.js diff --git a/theme/noname/amd/build/carousel.min.js b/theme/boost/amd/build/carousel.min.js similarity index 100% rename from theme/noname/amd/build/carousel.min.js rename to theme/boost/amd/build/carousel.min.js diff --git a/theme/noname/amd/build/collapse.min.js b/theme/boost/amd/build/collapse.min.js similarity index 100% rename from theme/noname/amd/build/collapse.min.js rename to theme/boost/amd/build/collapse.min.js diff --git a/theme/noname/amd/build/dropdown.min.js b/theme/boost/amd/build/dropdown.min.js similarity index 100% rename from theme/noname/amd/build/dropdown.min.js rename to theme/boost/amd/build/dropdown.min.js diff --git a/theme/noname/amd/build/form-display-errors.min.js b/theme/boost/amd/build/form-display-errors.min.js similarity index 100% rename from theme/noname/amd/build/form-display-errors.min.js rename to theme/boost/amd/build/form-display-errors.min.js diff --git a/theme/boost/amd/build/loader.min.js b/theme/boost/amd/build/loader.min.js new file mode 100644 index 00000000000..30a4ec21ca2 --- /dev/null +++ b/theme/boost/amd/build/loader.min.js @@ -0,0 +1 @@ +define(["jquery","./tether"],function(a,b){return window.jQuery=a,window.Tether=b,require(["theme_boost/util","theme_boost/alert","theme_boost/button","theme_boost/carousel","theme_boost/collapse","theme_boost/dropdown","theme_boost/modal","theme_boost/scrollspy","theme_boost/tab","theme_boost/tooltip","theme_boost/popover"],function(b){a('[data-toggle="popover"]').popover()}),{}}); \ No newline at end of file diff --git a/theme/noname/amd/build/modal.min.js b/theme/boost/amd/build/modal.min.js similarity index 100% rename from theme/noname/amd/build/modal.min.js rename to theme/boost/amd/build/modal.min.js diff --git a/theme/noname/amd/build/popover.min.js b/theme/boost/amd/build/popover.min.js similarity index 100% rename from theme/noname/amd/build/popover.min.js rename to theme/boost/amd/build/popover.min.js diff --git a/theme/noname/amd/build/scrollspy.min.js b/theme/boost/amd/build/scrollspy.min.js similarity index 100% rename from theme/noname/amd/build/scrollspy.min.js rename to theme/boost/amd/build/scrollspy.min.js diff --git a/theme/noname/amd/build/tab.min.js b/theme/boost/amd/build/tab.min.js similarity index 100% rename from theme/noname/amd/build/tab.min.js rename to theme/boost/amd/build/tab.min.js diff --git a/theme/noname/amd/build/tether.min.js b/theme/boost/amd/build/tether.min.js similarity index 100% rename from theme/noname/amd/build/tether.min.js rename to theme/boost/amd/build/tether.min.js diff --git a/theme/noname/amd/build/tooltip.min.js b/theme/boost/amd/build/tooltip.min.js similarity index 100% rename from theme/noname/amd/build/tooltip.min.js rename to theme/boost/amd/build/tooltip.min.js diff --git a/theme/noname/amd/build/util.min.js b/theme/boost/amd/build/util.min.js similarity index 100% rename from theme/noname/amd/build/util.min.js rename to theme/boost/amd/build/util.min.js diff --git a/theme/noname/amd/src/alert.js b/theme/boost/amd/src/alert.js similarity index 100% rename from theme/noname/amd/src/alert.js rename to theme/boost/amd/src/alert.js diff --git a/theme/noname/amd/src/button.js b/theme/boost/amd/src/button.js similarity index 100% rename from theme/noname/amd/src/button.js rename to theme/boost/amd/src/button.js diff --git a/theme/noname/amd/src/carousel.js b/theme/boost/amd/src/carousel.js similarity index 100% rename from theme/noname/amd/src/carousel.js rename to theme/boost/amd/src/carousel.js diff --git a/theme/noname/amd/src/collapse.js b/theme/boost/amd/src/collapse.js similarity index 100% rename from theme/noname/amd/src/collapse.js rename to theme/boost/amd/src/collapse.js diff --git a/theme/noname/amd/src/dropdown.js b/theme/boost/amd/src/dropdown.js similarity index 100% rename from theme/noname/amd/src/dropdown.js rename to theme/boost/amd/src/dropdown.js diff --git a/theme/noname/amd/src/form-display-errors.js b/theme/boost/amd/src/form-display-errors.js similarity index 97% rename from theme/noname/amd/src/form-display-errors.js rename to theme/boost/amd/src/form-display-errors.js index 21ef87b8b22..76682972274 100644 --- a/theme/noname/amd/src/form-display-errors.js +++ b/theme/boost/amd/src/form-display-errors.js @@ -17,7 +17,7 @@ * Custom form error event handler to manipulate the bootstrap markup and show * nicely styled errors in an mform. * - * @module theme_noname/form-display-errors + * @module theme_boost/form-display-errors * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -44,4 +44,4 @@ define(['jquery', 'core/event'], function($, Event) { }); } }; -}); \ No newline at end of file +}); diff --git a/theme/noname/amd/src/loader.js b/theme/boost/amd/src/loader.js similarity index 75% rename from theme/noname/amd/src/loader.js rename to theme/boost/amd/src/loader.js index 5115b11dd90..25665b42b94 100644 --- a/theme/noname/amd/src/loader.js +++ b/theme/boost/amd/src/loader.js @@ -28,17 +28,17 @@ define(['jquery', './tether'], function(jQuery, Tether) { window.jQuery = jQuery; window.Tether = Tether; - require(['theme_noname/util', - 'theme_noname/alert', - 'theme_noname/button', - 'theme_noname/carousel', - 'theme_noname/collapse', - 'theme_noname/dropdown', - 'theme_noname/modal', - 'theme_noname/scrollspy', - 'theme_noname/tab', - 'theme_noname/tooltip', - 'theme_noname/popover'], + require(['theme_boost/util', + 'theme_boost/alert', + 'theme_boost/button', + 'theme_boost/carousel', + 'theme_boost/collapse', + 'theme_boost/dropdown', + 'theme_boost/modal', + 'theme_boost/scrollspy', + 'theme_boost/tab', + 'theme_boost/tooltip', + 'theme_boost/popover'], function(another) { jQuery('[data-toggle="popover"]').popover(); }); diff --git a/theme/noname/amd/src/modal.js b/theme/boost/amd/src/modal.js similarity index 100% rename from theme/noname/amd/src/modal.js rename to theme/boost/amd/src/modal.js diff --git a/theme/noname/amd/src/popover.js b/theme/boost/amd/src/popover.js similarity index 100% rename from theme/noname/amd/src/popover.js rename to theme/boost/amd/src/popover.js diff --git a/theme/noname/amd/src/scrollspy.js b/theme/boost/amd/src/scrollspy.js similarity index 100% rename from theme/noname/amd/src/scrollspy.js rename to theme/boost/amd/src/scrollspy.js diff --git a/theme/noname/amd/src/tab.js b/theme/boost/amd/src/tab.js similarity index 100% rename from theme/noname/amd/src/tab.js rename to theme/boost/amd/src/tab.js diff --git a/theme/noname/amd/src/tether.js b/theme/boost/amd/src/tether.js similarity index 100% rename from theme/noname/amd/src/tether.js rename to theme/boost/amd/src/tether.js diff --git a/theme/noname/amd/src/tooltip.js b/theme/boost/amd/src/tooltip.js similarity index 100% rename from theme/noname/amd/src/tooltip.js rename to theme/boost/amd/src/tooltip.js diff --git a/theme/noname/amd/src/util.js b/theme/boost/amd/src/util.js similarity index 100% rename from theme/noname/amd/src/util.js rename to theme/boost/amd/src/util.js diff --git a/theme/noname/classes/admin_setting_scss_variables.php b/theme/boost/classes/admin_setting_scss_variables.php similarity index 87% rename from theme/noname/classes/admin_setting_scss_variables.php rename to theme/boost/classes/admin_setting_scss_variables.php index b23e8770ca9..6e043fa096d 100644 --- a/theme/noname/classes/admin_setting_scss_variables.php +++ b/theme/boost/classes/admin_setting_scss_variables.php @@ -17,7 +17,7 @@ /** * Admin setting for SCSS variables. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -27,11 +27,11 @@ defined('MOODLE_INTERNAL') || die(); /** * Admin setting for SCSS variables class. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class theme_noname_admin_setting_scss_variables extends admin_setting_configtextarea { +class theme_boost_admin_setting_scss_variables extends admin_setting_configtextarea { /** * Validate data before storage. @@ -45,7 +45,7 @@ class theme_noname_admin_setting_scss_variables extends admin_setting_configtext } try { - theme_noname_parse_scss_variables($data, false); + theme_boost_parse_scss_variables($data, false); } catch (moodle_exception $e) { return $e->getMessage(); } diff --git a/theme/noname/classes/admin_settingspage_tabs.php b/theme/boost/classes/admin_settingspage_tabs.php similarity index 92% rename from theme/noname/classes/admin_settingspage_tabs.php rename to theme/boost/classes/admin_settingspage_tabs.php index 341b005c3ef..dca6242b60f 100644 --- a/theme/noname/classes/admin_settingspage_tabs.php +++ b/theme/boost/classes/admin_settingspage_tabs.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * @package theme_noname + * @package theme_boost * @copyright 2016 Ryan Wyllie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -23,11 +23,11 @@ defined('MOODLE_INTERNAL') || die(); /** - * @package theme_noname + * @package theme_boost * @copyright 2016 Ryan Wyllie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class theme_noname_admin_settingspage_tabs extends admin_settingpage { +class theme_boost_admin_settingspage_tabs extends admin_settingpage { /** @var The tabs */ protected $tabs = array(); @@ -93,7 +93,7 @@ class theme_noname_admin_settingspage_tabs extends admin_settingpage { return ''; } - return $OUTPUT->render_from_template('theme_noname/admin_setting_tabs', $context); + return $OUTPUT->render_from_template('theme_boost/admin_setting_tabs', $context); } } diff --git a/theme/noname/classes/autoprefixer.php b/theme/boost/classes/autoprefixer.php similarity index 98% rename from theme/noname/classes/autoprefixer.php rename to theme/boost/classes/autoprefixer.php index 4d04cfc51cd..05e61d6cd2a 100644 --- a/theme/noname/classes/autoprefixer.php +++ b/theme/boost/classes/autoprefixer.php @@ -17,12 +17,12 @@ /** * Autoprefixer. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace theme_noname; +namespace theme_boost; defined('MOODLE_INTERNAL') || die(); use Sabberworm\CSS\CSSList\CSSList; @@ -50,7 +50,7 @@ use Sabberworm\CSS\Value\ValueList; * * Very basic implementation covering simple needs for Bootstrap 4. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/theme/noname/classes/output/block_settings_renderer.php b/theme/boost/classes/output/block_settings_renderer.php similarity index 94% rename from theme/noname/classes/output/block_settings_renderer.php rename to theme/boost/classes/output/block_settings_renderer.php index da42287a782..17554f03882 100644 --- a/theme/noname/classes/output/block_settings_renderer.php +++ b/theme/boost/classes/output/block_settings_renderer.php @@ -17,12 +17,12 @@ /** * Overriden block settings renderer. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace theme_noname\output; +namespace theme_boost\output; defined('MOODLE_INTERNAL') || die(); require_once($CFG->dirroot . '/blocks/settings/renderer.php'); @@ -32,7 +32,7 @@ use moodle_url; /** * Overriden block settings renderer. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/theme/noname/classes/output/core/admin_renderer.php b/theme/boost/classes/output/core/admin_renderer.php similarity index 97% rename from theme/noname/classes/output/core/admin_renderer.php rename to theme/boost/classes/output/core/admin_renderer.php index 099e877b2e3..ecc77a563e0 100644 --- a/theme/noname/classes/output/core/admin_renderer.php +++ b/theme/boost/classes/output/core/admin_renderer.php @@ -22,7 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace theme_noname\output\core; +namespace theme_boost\output\core; defined('MOODLE_INTERNAL') || die(); use moodle_url; diff --git a/theme/noname/classes/output/core/course_renderer.php b/theme/boost/classes/output/core/course_renderer.php similarity index 95% rename from theme/noname/classes/output/core/course_renderer.php rename to theme/boost/classes/output/core/course_renderer.php index 307822eebc6..b7a6f1dc112 100644 --- a/theme/noname/classes/output/core/course_renderer.php +++ b/theme/boost/classes/output/core/course_renderer.php @@ -22,7 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace theme_noname\output\core; +namespace theme_boost\output\core; defined('MOODLE_INTERNAL') || die(); use moodle_url; @@ -75,7 +75,7 @@ class course_renderer extends \core_course_renderer { 'value' => $value ]; - return $this->render_from_template('theme_noname/course_search_form', $data); + return $this->render_from_template('theme_boost/course_search_form', $data); } } diff --git a/theme/noname/classes/output/core/files_renderer.php b/theme/boost/classes/output/core/files_renderer.php similarity index 98% rename from theme/noname/classes/output/core/files_renderer.php rename to theme/boost/classes/output/core/files_renderer.php index eceb334ebcc..27ad45f6ec0 100644 --- a/theme/noname/classes/output/core/files_renderer.php +++ b/theme/boost/classes/output/core/files_renderer.php @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . -namespace theme_noname\output\core; +namespace theme_boost\output\core; use plugin_renderer_base; @@ -24,14 +24,14 @@ defined('MOODLE_INTERNAL') || die(); /** * Rendering of files viewer related widgets. - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * Rendering of files viewer related widgets. - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -136,4 +136,4 @@ class files_renderer extends \core_files_renderer { protected function fp_js_template_processexistingfile() { return $this->render_from_template('core/filemanager_processexistingfile', []); } -} \ No newline at end of file +} diff --git a/theme/noname/classes/output/core_renderer.php b/theme/boost/classes/output/core_renderer.php similarity index 99% rename from theme/noname/classes/output/core_renderer.php rename to theme/boost/classes/output/core_renderer.php index 1abf19f43a8..afe5a60c9a9 100644 --- a/theme/noname/classes/output/core_renderer.php +++ b/theme/boost/classes/output/core_renderer.php @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . -namespace theme_noname\output; +namespace theme_boost\output; use coding_exception; use html_writer; @@ -40,7 +40,7 @@ defined('MOODLE_INTERNAL') || die; /** * Renderers to align Moodle's HTML with that expected by Bootstrap * - * @package theme_noname + * @package theme_boost * @copyright 2012 Bas Brands, www.basbrands.nl * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/theme/noname/classes/output/gradereport_history_renderer.php b/theme/boost/classes/output/gradereport_history_renderer.php similarity index 94% rename from theme/noname/classes/output/gradereport_history_renderer.php rename to theme/boost/classes/output/gradereport_history_renderer.php index 5fa2d144192..490800321b3 100644 --- a/theme/noname/classes/output/gradereport_history_renderer.php +++ b/theme/boost/classes/output/gradereport_history_renderer.php @@ -17,12 +17,12 @@ /** * Overriden gradereport_history renderer. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -namespace theme_noname\output; +namespace theme_boost\output; defined('MOODLE_INTERNAL') || die(); use gradereport_history\output\user_button; @@ -30,7 +30,7 @@ use gradereport_history\output\user_button; /** * Overriden gradereport_history renderer. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/theme/noname/cli/import-bootswatch.php b/theme/boost/cli/import-bootswatch.php similarity index 100% rename from theme/noname/cli/import-bootswatch.php rename to theme/boost/cli/import-bootswatch.php diff --git a/theme/noname/cli/readme_moodle.txt b/theme/boost/cli/readme_moodle.txt similarity index 100% rename from theme/noname/cli/readme_moodle.txt rename to theme/boost/cli/readme_moodle.txt diff --git a/theme/noname/config.php b/theme/boost/config.php similarity index 93% rename from theme/noname/config.php rename to theme/boost/config.php index b7f805749ea..c65eb3fc796 100644 --- a/theme/noname/config.php +++ b/theme/boost/config.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * Noname config. + * Boost config. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -26,8 +26,8 @@ defined('MOODLE_INTERNAL') || die(); require_once(__DIR__ . '/lib.php'); -$THEME->name = 'noname'; -$THEME->scssfile = theme_noname_get_scss_file($THEME); +$THEME->name = 'boost'; +$THEME->scssfile = theme_boost_get_scss_file($THEME); $THEME->sheets = []; $THEME->editor_sheets = ['editor']; @@ -146,9 +146,9 @@ $THEME->layouts = [ // $THEME->javascripts_footer = array(); $THEME->parents = []; $THEME->enable_dock = false; -$THEME->csstreepostprocessor = 'theme_noname_css_tree_post_processor'; -$THEME->extrascsscallback = 'theme_noname_get_extra_scss'; -$THEME->scssvariablescallback = 'theme_noname_get_scss_variables'; +$THEME->csstreepostprocessor = 'theme_boost_css_tree_post_processor'; +$THEME->extrascsscallback = 'theme_boost_get_extra_scss'; +$THEME->scssvariablescallback = 'theme_boost_get_scss_variables'; $THEME->supportscssoptimisation = false; $THEME->yuicssmodules = array(); $THEME->rendererfactory = 'theme_overridden_renderer_factory'; diff --git a/theme/noname/lang/en/theme_noname.php b/theme/boost/lang/en/theme_boost.php similarity index 87% rename from theme/noname/lang/en/theme_noname.php rename to theme/boost/lang/en/theme_boost.php index 383748d03f7..ccc3ff199b5 100644 --- a/theme/noname/lang/en/theme_noname.php +++ b/theme/boost/lang/en/theme_boost.php @@ -17,7 +17,7 @@ /** * Language file. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -27,12 +27,12 @@ defined('MOODLE_INTERNAL') || die(); $string['advancedsettings'] = 'Advanced settings'; $string['brandcolor'] = 'Brand colour'; $string['brandcolor_desc'] = 'The accent colour.'; -$string['choosereadme'] = 'Hey, change me!'; +$string['choosereadme'] = 'Boost is a modern highly customizable theme. This theme is intended to used directly, or used as a parent theme when creating new themes utilising Boostrap 4.'; $string['currentinparentheses'] = '(current)'; -$string['configtitle'] = 'CHANGE ME!'; +$string['configtitle'] = 'Boost'; $string['errorparsingscssvariables'] = 'There was an error parsing the variable at line {$a}, please double check the syntax.'; $string['generalsettings'] = 'General settings'; -$string['pluginname'] = 'NONAME'; +$string['pluginname'] = 'Boost'; $string['preset'] = 'Theme preset'; $string['preset_desc'] = 'Pick a preset to broadly change the look of the theme.'; $string['presetdefault'] = 'Default'; diff --git a/theme/noname/layout/columns1.php b/theme/boost/layout/columns1.php similarity index 86% rename from theme/noname/layout/columns1.php rename to theme/boost/layout/columns1.php index db5a05ff36c..3f4b17b63fc 100644 --- a/theme/noname/layout/columns1.php +++ b/theme/boost/layout/columns1.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * A one column layout for the noname theme. + * A one column layout for the boost theme. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -26,4 +26,4 @@ $templatecontext = [ 'output' => $OUTPUT ]; -echo $OUTPUT->render_from_template('theme_noname/columns1', $templatecontext); \ No newline at end of file +echo $OUTPUT->render_from_template('theme_boost/columns1', $templatecontext); diff --git a/theme/noname/layout/columns2.php b/theme/boost/layout/columns2.php similarity index 87% rename from theme/noname/layout/columns2.php rename to theme/boost/layout/columns2.php index 38ac0414d9e..96b88bc983d 100644 --- a/theme/noname/layout/columns2.php +++ b/theme/boost/layout/columns2.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * A two column layout for the noname theme. + * A two column layout for the boost theme. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -27,4 +27,4 @@ $templatecontext = [ 'sidepreblocks' => $OUTPUT->blocks('side-pre', 'col-md-4 pull-md-8'), ]; -echo $OUTPUT->render_from_template('theme_noname/columns2', $templatecontext); +echo $OUTPUT->render_from_template('theme_boost/columns2', $templatecontext); diff --git a/theme/noname/layout/embedded.php b/theme/boost/layout/embedded.php similarity index 86% rename from theme/noname/layout/embedded.php rename to theme/boost/layout/embedded.php index 44bfee4eafa..b2b2dfe894b 100644 --- a/theme/noname/layout/embedded.php +++ b/theme/boost/layout/embedded.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * An embedded layout for the noname theme. + * An embedded layout for the boost theme. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -26,4 +26,4 @@ $templatecontext = [ 'output' => $OUTPUT ]; -echo $OUTPUT->render_from_template('theme_noname/embedded', $templatecontext); \ No newline at end of file +echo $OUTPUT->render_from_template('theme_boost/embedded', $templatecontext); diff --git a/theme/noname/layout/maintenance.php b/theme/boost/layout/maintenance.php similarity index 87% rename from theme/noname/layout/maintenance.php rename to theme/boost/layout/maintenance.php index cbe9eac374d..39ba5689bd3 100644 --- a/theme/noname/layout/maintenance.php +++ b/theme/boost/layout/maintenance.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * A maintenance layout for the noname theme. + * A maintenance layout for the boost theme. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -28,4 +28,4 @@ $templatecontext = [ 'output' => $OUTPUT ]; -echo $OUTPUT->render_from_template('theme_noname/maintenance', $templatecontext); \ No newline at end of file +echo $OUTPUT->render_from_template('theme_boost/maintenance', $templatecontext); diff --git a/theme/noname/layout/secure.php b/theme/boost/layout/secure.php similarity index 88% rename from theme/noname/layout/secure.php rename to theme/boost/layout/secure.php index 8d606846c1f..d288075e09c 100644 --- a/theme/noname/layout/secure.php +++ b/theme/boost/layout/secure.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * A three column layout for the noname theme. + * A three column layout for the boost theme. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -28,5 +28,5 @@ $templatecontext = [ 'sidepostblocks' => $OUTPUT->blocks('side-post', 'col-md-3') ]; -echo $OUTPUT->render_from_template('theme_noname/secure', $templatecontext); +echo $OUTPUT->render_from_template('theme_boost/secure', $templatecontext); diff --git a/theme/noname/lib.php b/theme/boost/lib.php similarity index 87% rename from theme/noname/lib.php rename to theme/boost/lib.php index f0ed6c370e1..0b3dad7e7fe 100644 --- a/theme/noname/lib.php +++ b/theme/boost/lib.php @@ -17,7 +17,7 @@ /** * Theme functions. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart - FMCorz.net * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -30,8 +30,8 @@ defined('MOODLE_INTERNAL') || die(); * @param string $tree The CSS tree. * @param theme_config $theme The theme config object. */ -function theme_noname_css_tree_post_processor($tree, $this) { - $prefixer = new theme_noname\autoprefixer($tree); +function theme_boost_css_tree_post_processor($tree, $this) { + $prefixer = new theme_boost\autoprefixer($tree); $prefixer->prefix(); } @@ -41,7 +41,7 @@ function theme_noname_css_tree_post_processor($tree, $this) { * @param theme_config $theme The theme config object. * @return string The name of the file without 'scss'. */ -function theme_noname_get_scss_file($theme) { +function theme_boost_get_scss_file($theme) { $preset = !empty($theme->settings->preset) ? $theme->settings->preset : 'default'; return 'preset-' . $preset; } @@ -52,7 +52,7 @@ function theme_noname_get_scss_file($theme) { * @param theme_config $theme The theme config object. * @return string */ -function theme_noname_get_extra_scss($theme) { +function theme_boost_get_extra_scss($theme) { return !empty($theme->settings->scss) ? $theme->settings->scss : ''; } @@ -62,7 +62,7 @@ function theme_noname_get_extra_scss($theme) { * @param theme_config $theme The theme config object. * @return array */ -function theme_noname_get_scss_variables($theme) { +function theme_boost_get_scss_variables($theme) { $variables = []; $configurable = [ // Config key => [variableName, ...]. @@ -80,7 +80,7 @@ function theme_noname_get_scss_variables($theme) { } if (!empty($theme->settings->scss_variables)) { - $variables = array_merge($variables, theme_noname_parse_scss_variables($theme->settings->scss_variables)); + $variables = array_merge($variables, theme_boost_parse_scss_variables($theme->settings->scss_variables)); } return $variables; @@ -100,7 +100,7 @@ function theme_noname_get_scss_variables($theme) { * @param bool $lenient When non lenient, an exception will be thrown when a line cannot be parsed. * @return array */ -function theme_noname_parse_scss_variables($data, $lenient = true) { +function theme_boost_parse_scss_variables($data, $lenient = true) { $variables = []; $lines = explode("\n", $data); $i = 0; @@ -119,7 +119,7 @@ function theme_noname_parse_scss_variables($data, $lenient = true) { if ($lenient) { continue; } - throw new moodle_exception('errorparsingscssvariables', 'theme_noname', null, $i); + throw new moodle_exception('errorparsingscssvariables', 'theme_boost', null, $i); } $variables[$variable] = $value; diff --git a/theme/noname/pix/favicon.ico b/theme/boost/pix/favicon.ico similarity index 100% rename from theme/noname/pix/favicon.ico rename to theme/boost/pix/favicon.ico diff --git a/theme/noname/pix/fp/add_file.png b/theme/boost/pix/fp/add_file.png similarity index 100% rename from theme/noname/pix/fp/add_file.png rename to theme/boost/pix/fp/add_file.png diff --git a/theme/noname/pix/fp/add_file.svg b/theme/boost/pix/fp/add_file.svg similarity index 100% rename from theme/noname/pix/fp/add_file.svg rename to theme/boost/pix/fp/add_file.svg diff --git a/theme/noname/pix/fp/alias.png b/theme/boost/pix/fp/alias.png similarity index 100% rename from theme/noname/pix/fp/alias.png rename to theme/boost/pix/fp/alias.png diff --git a/theme/noname/pix/fp/alias_sm.png b/theme/boost/pix/fp/alias_sm.png similarity index 100% rename from theme/noname/pix/fp/alias_sm.png rename to theme/boost/pix/fp/alias_sm.png diff --git a/theme/noname/pix/fp/check.png b/theme/boost/pix/fp/check.png similarity index 100% rename from theme/noname/pix/fp/check.png rename to theme/boost/pix/fp/check.png diff --git a/theme/noname/pix/fp/create_folder.png b/theme/boost/pix/fp/create_folder.png similarity index 100% rename from theme/noname/pix/fp/create_folder.png rename to theme/boost/pix/fp/create_folder.png diff --git a/theme/noname/pix/fp/create_folder.svg b/theme/boost/pix/fp/create_folder.svg similarity index 100% rename from theme/noname/pix/fp/create_folder.svg rename to theme/boost/pix/fp/create_folder.svg diff --git a/theme/noname/pix/fp/cross.png b/theme/boost/pix/fp/cross.png similarity index 100% rename from theme/noname/pix/fp/cross.png rename to theme/boost/pix/fp/cross.png diff --git a/theme/noname/pix/fp/dnd_arrow.gif b/theme/boost/pix/fp/dnd_arrow.gif similarity index 100% rename from theme/noname/pix/fp/dnd_arrow.gif rename to theme/boost/pix/fp/dnd_arrow.gif diff --git a/theme/noname/pix/fp/download_all.png b/theme/boost/pix/fp/download_all.png similarity index 100% rename from theme/noname/pix/fp/download_all.png rename to theme/boost/pix/fp/download_all.png diff --git a/theme/noname/pix/fp/download_all.svg b/theme/boost/pix/fp/download_all.svg similarity index 100% rename from theme/noname/pix/fp/download_all.svg rename to theme/boost/pix/fp/download_all.svg diff --git a/theme/noname/pix/fp/help.png b/theme/boost/pix/fp/help.png similarity index 100% rename from theme/noname/pix/fp/help.png rename to theme/boost/pix/fp/help.png diff --git a/theme/noname/pix/fp/help.svg b/theme/boost/pix/fp/help.svg similarity index 100% rename from theme/noname/pix/fp/help.svg rename to theme/boost/pix/fp/help.svg diff --git a/theme/noname/pix/fp/link.png b/theme/boost/pix/fp/link.png similarity index 100% rename from theme/noname/pix/fp/link.png rename to theme/boost/pix/fp/link.png diff --git a/theme/noname/pix/fp/link_sm.png b/theme/boost/pix/fp/link_sm.png similarity index 100% rename from theme/noname/pix/fp/link_sm.png rename to theme/boost/pix/fp/link_sm.png diff --git a/theme/noname/pix/fp/logout.png b/theme/boost/pix/fp/logout.png similarity index 100% rename from theme/noname/pix/fp/logout.png rename to theme/boost/pix/fp/logout.png diff --git a/theme/noname/pix/fp/logout.svg b/theme/boost/pix/fp/logout.svg similarity index 100% rename from theme/noname/pix/fp/logout.svg rename to theme/boost/pix/fp/logout.svg diff --git a/theme/noname/pix/fp/path_folder.png b/theme/boost/pix/fp/path_folder.png similarity index 100% rename from theme/noname/pix/fp/path_folder.png rename to theme/boost/pix/fp/path_folder.png diff --git a/theme/noname/pix/fp/path_folder_rtl.png b/theme/boost/pix/fp/path_folder_rtl.png similarity index 100% rename from theme/noname/pix/fp/path_folder_rtl.png rename to theme/boost/pix/fp/path_folder_rtl.png diff --git a/theme/noname/pix/fp/refresh.png b/theme/boost/pix/fp/refresh.png similarity index 100% rename from theme/noname/pix/fp/refresh.png rename to theme/boost/pix/fp/refresh.png diff --git a/theme/noname/pix/fp/refresh.svg b/theme/boost/pix/fp/refresh.svg similarity index 100% rename from theme/noname/pix/fp/refresh.svg rename to theme/boost/pix/fp/refresh.svg diff --git a/theme/noname/pix/fp/search.png b/theme/boost/pix/fp/search.png similarity index 100% rename from theme/noname/pix/fp/search.png rename to theme/boost/pix/fp/search.png diff --git a/theme/noname/pix/fp/search.svg b/theme/boost/pix/fp/search.svg similarity index 100% rename from theme/noname/pix/fp/search.svg rename to theme/boost/pix/fp/search.svg diff --git a/theme/noname/pix/fp/setting.png b/theme/boost/pix/fp/setting.png similarity index 100% rename from theme/noname/pix/fp/setting.png rename to theme/boost/pix/fp/setting.png diff --git a/theme/noname/pix/fp/setting.svg b/theme/boost/pix/fp/setting.svg similarity index 100% rename from theme/noname/pix/fp/setting.svg rename to theme/boost/pix/fp/setting.svg diff --git a/theme/noname/pix/fp/view_icon_active.png b/theme/boost/pix/fp/view_icon_active.png similarity index 100% rename from theme/noname/pix/fp/view_icon_active.png rename to theme/boost/pix/fp/view_icon_active.png diff --git a/theme/noname/pix/fp/view_icon_active.svg b/theme/boost/pix/fp/view_icon_active.svg similarity index 100% rename from theme/noname/pix/fp/view_icon_active.svg rename to theme/boost/pix/fp/view_icon_active.svg diff --git a/theme/noname/pix/fp/view_list_active.png b/theme/boost/pix/fp/view_list_active.png similarity index 100% rename from theme/noname/pix/fp/view_list_active.png rename to theme/boost/pix/fp/view_list_active.png diff --git a/theme/noname/pix/fp/view_list_active.svg b/theme/boost/pix/fp/view_list_active.svg similarity index 100% rename from theme/noname/pix/fp/view_list_active.svg rename to theme/boost/pix/fp/view_list_active.svg diff --git a/theme/noname/pix/fp/view_tree_active.png b/theme/boost/pix/fp/view_tree_active.png similarity index 100% rename from theme/noname/pix/fp/view_tree_active.png rename to theme/boost/pix/fp/view_tree_active.png diff --git a/theme/noname/pix/fp/view_tree_active.svg b/theme/boost/pix/fp/view_tree_active.svg similarity index 100% rename from theme/noname/pix/fp/view_tree_active.svg rename to theme/boost/pix/fp/view_tree_active.svg diff --git a/theme/noname/pix/glyphicons-halflings-white.png b/theme/boost/pix/glyphicons-halflings-white.png similarity index 100% rename from theme/noname/pix/glyphicons-halflings-white.png rename to theme/boost/pix/glyphicons-halflings-white.png diff --git a/theme/noname/pix/glyphicons-halflings.png b/theme/boost/pix/glyphicons-halflings.png similarity index 100% rename from theme/noname/pix/glyphicons-halflings.png rename to theme/boost/pix/glyphicons-halflings.png diff --git a/theme/noname/pix/header.jpg b/theme/boost/pix/header.jpg similarity index 100% rename from theme/noname/pix/header.jpg rename to theme/boost/pix/header.jpg diff --git a/theme/noname/pix/horizontal-menu-submenu-indicator.png b/theme/boost/pix/horizontal-menu-submenu-indicator.png similarity index 100% rename from theme/noname/pix/horizontal-menu-submenu-indicator.png rename to theme/boost/pix/horizontal-menu-submenu-indicator.png diff --git a/theme/noname/pix/mod/quiz/checkmark.png b/theme/boost/pix/mod/quiz/checkmark.png similarity index 100% rename from theme/noname/pix/mod/quiz/checkmark.png rename to theme/boost/pix/mod/quiz/checkmark.png diff --git a/theme/noname/pix/mod/quiz/checkmark.svg b/theme/boost/pix/mod/quiz/checkmark.svg similarity index 100% rename from theme/noname/pix/mod/quiz/checkmark.svg rename to theme/boost/pix/mod/quiz/checkmark.svg diff --git a/theme/noname/pix/mod/quiz/flag-on.png b/theme/boost/pix/mod/quiz/flag-on.png similarity index 100% rename from theme/noname/pix/mod/quiz/flag-on.png rename to theme/boost/pix/mod/quiz/flag-on.png diff --git a/theme/noname/pix/mod/quiz/flag-on.svg b/theme/boost/pix/mod/quiz/flag-on.svg similarity index 100% rename from theme/noname/pix/mod/quiz/flag-on.svg rename to theme/boost/pix/mod/quiz/flag-on.svg diff --git a/theme/noname/pix/mod/quiz/warningtriangle.png b/theme/boost/pix/mod/quiz/warningtriangle.png similarity index 100% rename from theme/noname/pix/mod/quiz/warningtriangle.png rename to theme/boost/pix/mod/quiz/warningtriangle.png diff --git a/theme/noname/pix/mod/quiz/warningtriangle.svg b/theme/boost/pix/mod/quiz/warningtriangle.svg similarity index 100% rename from theme/noname/pix/mod/quiz/warningtriangle.svg rename to theme/boost/pix/mod/quiz/warningtriangle.svg diff --git a/theme/noname/pix/mod/quiz/whitecircle.png b/theme/boost/pix/mod/quiz/whitecircle.png similarity index 100% rename from theme/noname/pix/mod/quiz/whitecircle.png rename to theme/boost/pix/mod/quiz/whitecircle.png diff --git a/theme/noname/pix/mod/quiz/whitecircle.svg b/theme/boost/pix/mod/quiz/whitecircle.svg similarity index 100% rename from theme/noname/pix/mod/quiz/whitecircle.svg rename to theme/boost/pix/mod/quiz/whitecircle.svg diff --git a/theme/noname/pix/screenshot.jpg b/theme/boost/pix/screenshot.jpg similarity index 100% rename from theme/noname/pix/screenshot.jpg rename to theme/boost/pix/screenshot.jpg diff --git a/theme/noname/pix/sprite.png b/theme/boost/pix/sprite.png similarity index 100% rename from theme/noname/pix/sprite.png rename to theme/boost/pix/sprite.png diff --git a/theme/noname/pix/vertical-menu-submenu-indicator.png b/theme/boost/pix/vertical-menu-submenu-indicator.png similarity index 100% rename from theme/noname/pix/vertical-menu-submenu-indicator.png rename to theme/boost/pix/vertical-menu-submenu-indicator.png diff --git a/theme/noname/pix/yui2-treeview-sprite-rtl.gif b/theme/boost/pix/yui2-treeview-sprite-rtl.gif similarity index 100% rename from theme/noname/pix/yui2-treeview-sprite-rtl.gif rename to theme/boost/pix/yui2-treeview-sprite-rtl.gif diff --git a/theme/noname/readme_moodle.txt b/theme/boost/readme_moodle.txt similarity index 100% rename from theme/noname/readme_moodle.txt rename to theme/boost/readme_moodle.txt diff --git a/theme/noname/scss/bootstrap/LICENSE b/theme/boost/scss/bootstrap/LICENSE similarity index 100% rename from theme/noname/scss/bootstrap/LICENSE rename to theme/boost/scss/bootstrap/LICENSE diff --git a/theme/noname/scss/bootstrap/_alert.scss b/theme/boost/scss/bootstrap/_alert.scss similarity index 100% rename from theme/noname/scss/bootstrap/_alert.scss rename to theme/boost/scss/bootstrap/_alert.scss diff --git a/theme/noname/scss/bootstrap/_animation.scss b/theme/boost/scss/bootstrap/_animation.scss similarity index 100% rename from theme/noname/scss/bootstrap/_animation.scss rename to theme/boost/scss/bootstrap/_animation.scss diff --git a/theme/noname/scss/bootstrap/_breadcrumb.scss b/theme/boost/scss/bootstrap/_breadcrumb.scss similarity index 100% rename from theme/noname/scss/bootstrap/_breadcrumb.scss rename to theme/boost/scss/bootstrap/_breadcrumb.scss diff --git a/theme/noname/scss/bootstrap/_button-group.scss b/theme/boost/scss/bootstrap/_button-group.scss similarity index 100% rename from theme/noname/scss/bootstrap/_button-group.scss rename to theme/boost/scss/bootstrap/_button-group.scss diff --git a/theme/noname/scss/bootstrap/_buttons.scss b/theme/boost/scss/bootstrap/_buttons.scss similarity index 100% rename from theme/noname/scss/bootstrap/_buttons.scss rename to theme/boost/scss/bootstrap/_buttons.scss diff --git a/theme/noname/scss/bootstrap/_card.scss b/theme/boost/scss/bootstrap/_card.scss similarity index 100% rename from theme/noname/scss/bootstrap/_card.scss rename to theme/boost/scss/bootstrap/_card.scss diff --git a/theme/noname/scss/bootstrap/_carousel.scss b/theme/boost/scss/bootstrap/_carousel.scss similarity index 100% rename from theme/noname/scss/bootstrap/_carousel.scss rename to theme/boost/scss/bootstrap/_carousel.scss diff --git a/theme/noname/scss/bootstrap/_close.scss b/theme/boost/scss/bootstrap/_close.scss similarity index 100% rename from theme/noname/scss/bootstrap/_close.scss rename to theme/boost/scss/bootstrap/_close.scss diff --git a/theme/noname/scss/bootstrap/_code.scss b/theme/boost/scss/bootstrap/_code.scss similarity index 100% rename from theme/noname/scss/bootstrap/_code.scss rename to theme/boost/scss/bootstrap/_code.scss diff --git a/theme/noname/scss/bootstrap/_custom-forms.scss b/theme/boost/scss/bootstrap/_custom-forms.scss similarity index 100% rename from theme/noname/scss/bootstrap/_custom-forms.scss rename to theme/boost/scss/bootstrap/_custom-forms.scss diff --git a/theme/noname/scss/bootstrap/_custom.scss b/theme/boost/scss/bootstrap/_custom.scss similarity index 100% rename from theme/noname/scss/bootstrap/_custom.scss rename to theme/boost/scss/bootstrap/_custom.scss diff --git a/theme/noname/scss/bootstrap/_dropdown.scss b/theme/boost/scss/bootstrap/_dropdown.scss similarity index 100% rename from theme/noname/scss/bootstrap/_dropdown.scss rename to theme/boost/scss/bootstrap/_dropdown.scss diff --git a/theme/noname/scss/bootstrap/_forms.scss b/theme/boost/scss/bootstrap/_forms.scss similarity index 100% rename from theme/noname/scss/bootstrap/_forms.scss rename to theme/boost/scss/bootstrap/_forms.scss diff --git a/theme/noname/scss/bootstrap/_grid.scss b/theme/boost/scss/bootstrap/_grid.scss similarity index 100% rename from theme/noname/scss/bootstrap/_grid.scss rename to theme/boost/scss/bootstrap/_grid.scss diff --git a/theme/noname/scss/bootstrap/_images.scss b/theme/boost/scss/bootstrap/_images.scss similarity index 100% rename from theme/noname/scss/bootstrap/_images.scss rename to theme/boost/scss/bootstrap/_images.scss diff --git a/theme/noname/scss/bootstrap/_input-group.scss b/theme/boost/scss/bootstrap/_input-group.scss similarity index 100% rename from theme/noname/scss/bootstrap/_input-group.scss rename to theme/boost/scss/bootstrap/_input-group.scss diff --git a/theme/noname/scss/bootstrap/_jumbotron.scss b/theme/boost/scss/bootstrap/_jumbotron.scss similarity index 100% rename from theme/noname/scss/bootstrap/_jumbotron.scss rename to theme/boost/scss/bootstrap/_jumbotron.scss diff --git a/theme/noname/scss/bootstrap/_list-group.scss b/theme/boost/scss/bootstrap/_list-group.scss similarity index 100% rename from theme/noname/scss/bootstrap/_list-group.scss rename to theme/boost/scss/bootstrap/_list-group.scss diff --git a/theme/noname/scss/bootstrap/_media.scss b/theme/boost/scss/bootstrap/_media.scss similarity index 100% rename from theme/noname/scss/bootstrap/_media.scss rename to theme/boost/scss/bootstrap/_media.scss diff --git a/theme/noname/scss/bootstrap/_mixins.scss b/theme/boost/scss/bootstrap/_mixins.scss similarity index 100% rename from theme/noname/scss/bootstrap/_mixins.scss rename to theme/boost/scss/bootstrap/_mixins.scss diff --git a/theme/noname/scss/bootstrap/_modal.scss b/theme/boost/scss/bootstrap/_modal.scss similarity index 100% rename from theme/noname/scss/bootstrap/_modal.scss rename to theme/boost/scss/bootstrap/_modal.scss diff --git a/theme/noname/scss/bootstrap/_nav.scss b/theme/boost/scss/bootstrap/_nav.scss similarity index 100% rename from theme/noname/scss/bootstrap/_nav.scss rename to theme/boost/scss/bootstrap/_nav.scss diff --git a/theme/noname/scss/bootstrap/_navbar.scss b/theme/boost/scss/bootstrap/_navbar.scss similarity index 100% rename from theme/noname/scss/bootstrap/_navbar.scss rename to theme/boost/scss/bootstrap/_navbar.scss diff --git a/theme/noname/scss/bootstrap/_normalize.scss b/theme/boost/scss/bootstrap/_normalize.scss similarity index 100% rename from theme/noname/scss/bootstrap/_normalize.scss rename to theme/boost/scss/bootstrap/_normalize.scss diff --git a/theme/noname/scss/bootstrap/_pagination.scss b/theme/boost/scss/bootstrap/_pagination.scss similarity index 100% rename from theme/noname/scss/bootstrap/_pagination.scss rename to theme/boost/scss/bootstrap/_pagination.scss diff --git a/theme/noname/scss/bootstrap/_popover.scss b/theme/boost/scss/bootstrap/_popover.scss similarity index 100% rename from theme/noname/scss/bootstrap/_popover.scss rename to theme/boost/scss/bootstrap/_popover.scss diff --git a/theme/noname/scss/bootstrap/_print.scss b/theme/boost/scss/bootstrap/_print.scss similarity index 100% rename from theme/noname/scss/bootstrap/_print.scss rename to theme/boost/scss/bootstrap/_print.scss diff --git a/theme/noname/scss/bootstrap/_progress.scss b/theme/boost/scss/bootstrap/_progress.scss similarity index 100% rename from theme/noname/scss/bootstrap/_progress.scss rename to theme/boost/scss/bootstrap/_progress.scss diff --git a/theme/noname/scss/bootstrap/_reboot.scss b/theme/boost/scss/bootstrap/_reboot.scss similarity index 100% rename from theme/noname/scss/bootstrap/_reboot.scss rename to theme/boost/scss/bootstrap/_reboot.scss diff --git a/theme/noname/scss/bootstrap/_responsive-embed.scss b/theme/boost/scss/bootstrap/_responsive-embed.scss similarity index 100% rename from theme/noname/scss/bootstrap/_responsive-embed.scss rename to theme/boost/scss/bootstrap/_responsive-embed.scss diff --git a/theme/noname/scss/bootstrap/_tables.scss b/theme/boost/scss/bootstrap/_tables.scss similarity index 100% rename from theme/noname/scss/bootstrap/_tables.scss rename to theme/boost/scss/bootstrap/_tables.scss diff --git a/theme/noname/scss/bootstrap/_tags.scss b/theme/boost/scss/bootstrap/_tags.scss similarity index 100% rename from theme/noname/scss/bootstrap/_tags.scss rename to theme/boost/scss/bootstrap/_tags.scss diff --git a/theme/noname/scss/bootstrap/_tooltip.scss b/theme/boost/scss/bootstrap/_tooltip.scss similarity index 100% rename from theme/noname/scss/bootstrap/_tooltip.scss rename to theme/boost/scss/bootstrap/_tooltip.scss diff --git a/theme/noname/scss/bootstrap/_type.scss b/theme/boost/scss/bootstrap/_type.scss similarity index 100% rename from theme/noname/scss/bootstrap/_type.scss rename to theme/boost/scss/bootstrap/_type.scss diff --git a/theme/noname/scss/bootstrap/_utilities.scss b/theme/boost/scss/bootstrap/_utilities.scss similarity index 100% rename from theme/noname/scss/bootstrap/_utilities.scss rename to theme/boost/scss/bootstrap/_utilities.scss diff --git a/theme/noname/scss/bootstrap/_variables.scss b/theme/boost/scss/bootstrap/_variables.scss similarity index 100% rename from theme/noname/scss/bootstrap/_variables.scss rename to theme/boost/scss/bootstrap/_variables.scss diff --git a/theme/noname/scss/bootstrap/bootstrap-flex.scss b/theme/boost/scss/bootstrap/bootstrap-flex.scss similarity index 100% rename from theme/noname/scss/bootstrap/bootstrap-flex.scss rename to theme/boost/scss/bootstrap/bootstrap-flex.scss diff --git a/theme/noname/scss/bootstrap/bootstrap-grid.scss b/theme/boost/scss/bootstrap/bootstrap-grid.scss similarity index 100% rename from theme/noname/scss/bootstrap/bootstrap-grid.scss rename to theme/boost/scss/bootstrap/bootstrap-grid.scss diff --git a/theme/noname/scss/bootstrap/bootstrap-reboot.scss b/theme/boost/scss/bootstrap/bootstrap-reboot.scss similarity index 100% rename from theme/noname/scss/bootstrap/bootstrap-reboot.scss rename to theme/boost/scss/bootstrap/bootstrap-reboot.scss diff --git a/theme/noname/scss/bootstrap/bootstrap.scss b/theme/boost/scss/bootstrap/bootstrap.scss similarity index 100% rename from theme/noname/scss/bootstrap/bootstrap.scss rename to theme/boost/scss/bootstrap/bootstrap.scss diff --git a/theme/noname/scss/bootstrap/mixins/_alert.scss b/theme/boost/scss/bootstrap/mixins/_alert.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_alert.scss rename to theme/boost/scss/bootstrap/mixins/_alert.scss diff --git a/theme/noname/scss/bootstrap/mixins/_background-variant.scss b/theme/boost/scss/bootstrap/mixins/_background-variant.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_background-variant.scss rename to theme/boost/scss/bootstrap/mixins/_background-variant.scss diff --git a/theme/noname/scss/bootstrap/mixins/_border-radius.scss b/theme/boost/scss/bootstrap/mixins/_border-radius.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_border-radius.scss rename to theme/boost/scss/bootstrap/mixins/_border-radius.scss diff --git a/theme/noname/scss/bootstrap/mixins/_breakpoints.scss b/theme/boost/scss/bootstrap/mixins/_breakpoints.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_breakpoints.scss rename to theme/boost/scss/bootstrap/mixins/_breakpoints.scss diff --git a/theme/noname/scss/bootstrap/mixins/_buttons.scss b/theme/boost/scss/bootstrap/mixins/_buttons.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_buttons.scss rename to theme/boost/scss/bootstrap/mixins/_buttons.scss diff --git a/theme/noname/scss/bootstrap/mixins/_cards.scss b/theme/boost/scss/bootstrap/mixins/_cards.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_cards.scss rename to theme/boost/scss/bootstrap/mixins/_cards.scss diff --git a/theme/noname/scss/bootstrap/mixins/_clearfix.scss b/theme/boost/scss/bootstrap/mixins/_clearfix.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_clearfix.scss rename to theme/boost/scss/bootstrap/mixins/_clearfix.scss diff --git a/theme/noname/scss/bootstrap/mixins/_forms.scss b/theme/boost/scss/bootstrap/mixins/_forms.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_forms.scss rename to theme/boost/scss/bootstrap/mixins/_forms.scss diff --git a/theme/noname/scss/bootstrap/mixins/_gradients.scss b/theme/boost/scss/bootstrap/mixins/_gradients.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_gradients.scss rename to theme/boost/scss/bootstrap/mixins/_gradients.scss diff --git a/theme/noname/scss/bootstrap/mixins/_grid-framework.scss b/theme/boost/scss/bootstrap/mixins/_grid-framework.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_grid-framework.scss rename to theme/boost/scss/bootstrap/mixins/_grid-framework.scss diff --git a/theme/noname/scss/bootstrap/mixins/_grid.scss b/theme/boost/scss/bootstrap/mixins/_grid.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_grid.scss rename to theme/boost/scss/bootstrap/mixins/_grid.scss diff --git a/theme/noname/scss/bootstrap/mixins/_hover.scss b/theme/boost/scss/bootstrap/mixins/_hover.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_hover.scss rename to theme/boost/scss/bootstrap/mixins/_hover.scss diff --git a/theme/noname/scss/bootstrap/mixins/_image.scss b/theme/boost/scss/bootstrap/mixins/_image.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_image.scss rename to theme/boost/scss/bootstrap/mixins/_image.scss diff --git a/theme/noname/scss/bootstrap/mixins/_list-group.scss b/theme/boost/scss/bootstrap/mixins/_list-group.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_list-group.scss rename to theme/boost/scss/bootstrap/mixins/_list-group.scss diff --git a/theme/noname/scss/bootstrap/mixins/_lists.scss b/theme/boost/scss/bootstrap/mixins/_lists.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_lists.scss rename to theme/boost/scss/bootstrap/mixins/_lists.scss diff --git a/theme/noname/scss/bootstrap/mixins/_nav-divider.scss b/theme/boost/scss/bootstrap/mixins/_nav-divider.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_nav-divider.scss rename to theme/boost/scss/bootstrap/mixins/_nav-divider.scss diff --git a/theme/noname/scss/bootstrap/mixins/_navbar-align.scss b/theme/boost/scss/bootstrap/mixins/_navbar-align.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_navbar-align.scss rename to theme/boost/scss/bootstrap/mixins/_navbar-align.scss diff --git a/theme/noname/scss/bootstrap/mixins/_pagination.scss b/theme/boost/scss/bootstrap/mixins/_pagination.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_pagination.scss rename to theme/boost/scss/bootstrap/mixins/_pagination.scss diff --git a/theme/noname/scss/bootstrap/mixins/_progress.scss b/theme/boost/scss/bootstrap/mixins/_progress.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_progress.scss rename to theme/boost/scss/bootstrap/mixins/_progress.scss diff --git a/theme/noname/scss/bootstrap/mixins/_pulls.scss b/theme/boost/scss/bootstrap/mixins/_pulls.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_pulls.scss rename to theme/boost/scss/bootstrap/mixins/_pulls.scss diff --git a/theme/noname/scss/bootstrap/mixins/_reset-filter.scss b/theme/boost/scss/bootstrap/mixins/_reset-filter.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_reset-filter.scss rename to theme/boost/scss/bootstrap/mixins/_reset-filter.scss diff --git a/theme/noname/scss/bootstrap/mixins/_reset-text.scss b/theme/boost/scss/bootstrap/mixins/_reset-text.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_reset-text.scss rename to theme/boost/scss/bootstrap/mixins/_reset-text.scss diff --git a/theme/noname/scss/bootstrap/mixins/_resize.scss b/theme/boost/scss/bootstrap/mixins/_resize.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_resize.scss rename to theme/boost/scss/bootstrap/mixins/_resize.scss diff --git a/theme/noname/scss/bootstrap/mixins/_screen-reader.scss b/theme/boost/scss/bootstrap/mixins/_screen-reader.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_screen-reader.scss rename to theme/boost/scss/bootstrap/mixins/_screen-reader.scss diff --git a/theme/noname/scss/bootstrap/mixins/_size.scss b/theme/boost/scss/bootstrap/mixins/_size.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_size.scss rename to theme/boost/scss/bootstrap/mixins/_size.scss diff --git a/theme/noname/scss/bootstrap/mixins/_tab-focus.scss b/theme/boost/scss/bootstrap/mixins/_tab-focus.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_tab-focus.scss rename to theme/boost/scss/bootstrap/mixins/_tab-focus.scss diff --git a/theme/noname/scss/bootstrap/mixins/_table-row.scss b/theme/boost/scss/bootstrap/mixins/_table-row.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_table-row.scss rename to theme/boost/scss/bootstrap/mixins/_table-row.scss diff --git a/theme/noname/scss/bootstrap/mixins/_tag.scss b/theme/boost/scss/bootstrap/mixins/_tag.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_tag.scss rename to theme/boost/scss/bootstrap/mixins/_tag.scss diff --git a/theme/noname/scss/bootstrap/mixins/_text-emphasis.scss b/theme/boost/scss/bootstrap/mixins/_text-emphasis.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_text-emphasis.scss rename to theme/boost/scss/bootstrap/mixins/_text-emphasis.scss diff --git a/theme/noname/scss/bootstrap/mixins/_text-hide.scss b/theme/boost/scss/bootstrap/mixins/_text-hide.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_text-hide.scss rename to theme/boost/scss/bootstrap/mixins/_text-hide.scss diff --git a/theme/noname/scss/bootstrap/mixins/_text-truncate.scss b/theme/boost/scss/bootstrap/mixins/_text-truncate.scss similarity index 100% rename from theme/noname/scss/bootstrap/mixins/_text-truncate.scss rename to theme/boost/scss/bootstrap/mixins/_text-truncate.scss diff --git a/theme/noname/scss/bootstrap/utilities/_background.scss b/theme/boost/scss/bootstrap/utilities/_background.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_background.scss rename to theme/boost/scss/bootstrap/utilities/_background.scss diff --git a/theme/noname/scss/bootstrap/utilities/_clearfix.scss b/theme/boost/scss/bootstrap/utilities/_clearfix.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_clearfix.scss rename to theme/boost/scss/bootstrap/utilities/_clearfix.scss diff --git a/theme/noname/scss/bootstrap/utilities/_display.scss b/theme/boost/scss/bootstrap/utilities/_display.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_display.scss rename to theme/boost/scss/bootstrap/utilities/_display.scss diff --git a/theme/noname/scss/bootstrap/utilities/_flex.scss b/theme/boost/scss/bootstrap/utilities/_flex.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_flex.scss rename to theme/boost/scss/bootstrap/utilities/_flex.scss diff --git a/theme/noname/scss/bootstrap/utilities/_pulls.scss b/theme/boost/scss/bootstrap/utilities/_pulls.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_pulls.scss rename to theme/boost/scss/bootstrap/utilities/_pulls.scss diff --git a/theme/noname/scss/bootstrap/utilities/_screenreaders.scss b/theme/boost/scss/bootstrap/utilities/_screenreaders.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_screenreaders.scss rename to theme/boost/scss/bootstrap/utilities/_screenreaders.scss diff --git a/theme/noname/scss/bootstrap/utilities/_spacing.scss b/theme/boost/scss/bootstrap/utilities/_spacing.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_spacing.scss rename to theme/boost/scss/bootstrap/utilities/_spacing.scss diff --git a/theme/noname/scss/bootstrap/utilities/_text.scss b/theme/boost/scss/bootstrap/utilities/_text.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_text.scss rename to theme/boost/scss/bootstrap/utilities/_text.scss diff --git a/theme/noname/scss/bootstrap/utilities/_visibility.scss b/theme/boost/scss/bootstrap/utilities/_visibility.scss similarity index 100% rename from theme/noname/scss/bootstrap/utilities/_visibility.scss rename to theme/boost/scss/bootstrap/utilities/_visibility.scss diff --git a/theme/noname/scss/moodle.scss b/theme/boost/scss/moodle.scss similarity index 100% rename from theme/noname/scss/moodle.scss rename to theme/boost/scss/moodle.scss diff --git a/theme/noname/scss/moodle/admin.scss b/theme/boost/scss/moodle/admin.scss similarity index 100% rename from theme/noname/scss/moodle/admin.scss rename to theme/boost/scss/moodle/admin.scss diff --git a/theme/noname/scss/moodle/backup-restore.scss b/theme/boost/scss/moodle/backup-restore.scss similarity index 100% rename from theme/noname/scss/moodle/backup-restore.scss rename to theme/boost/scss/moodle/backup-restore.scss diff --git a/theme/noname/scss/moodle/blocks.scss b/theme/boost/scss/moodle/blocks.scss similarity index 100% rename from theme/noname/scss/moodle/blocks.scss rename to theme/boost/scss/moodle/blocks.scss diff --git a/theme/noname/scss/moodle/bootstrap-rtl.scss b/theme/boost/scss/moodle/bootstrap-rtl.scss similarity index 100% rename from theme/noname/scss/moodle/bootstrap-rtl.scss rename to theme/boost/scss/moodle/bootstrap-rtl.scss diff --git a/theme/noname/scss/moodle/buttons.scss b/theme/boost/scss/moodle/buttons.scss similarity index 100% rename from theme/noname/scss/moodle/buttons.scss rename to theme/boost/scss/moodle/buttons.scss diff --git a/theme/noname/scss/moodle/calendar.scss b/theme/boost/scss/moodle/calendar.scss similarity index 100% rename from theme/noname/scss/moodle/calendar.scss rename to theme/boost/scss/moodle/calendar.scss diff --git a/theme/noname/scss/moodle/chat.scss b/theme/boost/scss/moodle/chat.scss similarity index 100% rename from theme/noname/scss/moodle/chat.scss rename to theme/boost/scss/moodle/chat.scss diff --git a/theme/noname/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss similarity index 100% rename from theme/noname/scss/moodle/core.scss rename to theme/boost/scss/moodle/core.scss diff --git a/theme/noname/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss similarity index 100% rename from theme/noname/scss/moodle/course.scss rename to theme/boost/scss/moodle/course.scss diff --git a/theme/noname/scss/moodle/debug.scss b/theme/boost/scss/moodle/debug.scss similarity index 100% rename from theme/noname/scss/moodle/debug.scss rename to theme/boost/scss/moodle/debug.scss diff --git a/theme/noname/scss/moodle/editor.scss b/theme/boost/scss/moodle/editor.scss similarity index 100% rename from theme/noname/scss/moodle/editor.scss rename to theme/boost/scss/moodle/editor.scss diff --git a/theme/noname/scss/moodle/expendable.scss b/theme/boost/scss/moodle/expendable.scss similarity index 100% rename from theme/noname/scss/moodle/expendable.scss rename to theme/boost/scss/moodle/expendable.scss diff --git a/theme/noname/scss/moodle/filemanager.scss b/theme/boost/scss/moodle/filemanager.scss similarity index 100% rename from theme/noname/scss/moodle/filemanager.scss rename to theme/boost/scss/moodle/filemanager.scss diff --git a/theme/noname/scss/moodle/forms.scss b/theme/boost/scss/moodle/forms.scss similarity index 100% rename from theme/noname/scss/moodle/forms.scss rename to theme/boost/scss/moodle/forms.scss diff --git a/theme/noname/scss/moodle/grade.scss b/theme/boost/scss/moodle/grade.scss similarity index 100% rename from theme/noname/scss/moodle/grade.scss rename to theme/boost/scss/moodle/grade.scss diff --git a/theme/noname/scss/moodle/icons.scss b/theme/boost/scss/moodle/icons.scss similarity index 100% rename from theme/noname/scss/moodle/icons.scss rename to theme/boost/scss/moodle/icons.scss diff --git a/theme/noname/scss/moodle/message.scss b/theme/boost/scss/moodle/message.scss similarity index 100% rename from theme/noname/scss/moodle/message.scss rename to theme/boost/scss/moodle/message.scss diff --git a/theme/noname/scss/moodle/modules.scss b/theme/boost/scss/moodle/modules.scss similarity index 100% rename from theme/noname/scss/moodle/modules.scss rename to theme/boost/scss/moodle/modules.scss diff --git a/theme/noname/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss similarity index 100% rename from theme/noname/scss/moodle/question.scss rename to theme/boost/scss/moodle/question.scss diff --git a/theme/noname/scss/moodle/reports.scss b/theme/boost/scss/moodle/reports.scss similarity index 100% rename from theme/noname/scss/moodle/reports.scss rename to theme/boost/scss/moodle/reports.scss diff --git a/theme/noname/scss/moodle/responsive.scss b/theme/boost/scss/moodle/responsive.scss similarity index 100% rename from theme/noname/scss/moodle/responsive.scss rename to theme/boost/scss/moodle/responsive.scss diff --git a/theme/noname/scss/moodle/search.scss b/theme/boost/scss/moodle/search.scss similarity index 100% rename from theme/noname/scss/moodle/search.scss rename to theme/boost/scss/moodle/search.scss diff --git a/theme/noname/scss/moodle/sticky-footer.scss b/theme/boost/scss/moodle/sticky-footer.scss similarity index 100% rename from theme/noname/scss/moodle/sticky-footer.scss rename to theme/boost/scss/moodle/sticky-footer.scss diff --git a/theme/noname/scss/moodle/tables.scss b/theme/boost/scss/moodle/tables.scss similarity index 100% rename from theme/noname/scss/moodle/tables.scss rename to theme/boost/scss/moodle/tables.scss diff --git a/theme/noname/scss/moodle/templates.scss b/theme/boost/scss/moodle/templates.scss similarity index 100% rename from theme/noname/scss/moodle/templates.scss rename to theme/boost/scss/moodle/templates.scss diff --git a/theme/noname/scss/moodle/undo.scss b/theme/boost/scss/moodle/undo.scss similarity index 100% rename from theme/noname/scss/moodle/undo.scss rename to theme/boost/scss/moodle/undo.scss diff --git a/theme/noname/scss/moodle/user.scss b/theme/boost/scss/moodle/user.scss similarity index 97% rename from theme/noname/scss/moodle/user.scss rename to theme/boost/scss/moodle/user.scss index af436496482..aeba72d9ee4 100644 --- a/theme/noname/scss/moodle/user.scss +++ b/theme/boost/scss/moodle/user.scss @@ -16,6 +16,9 @@ .userprofile .profile_tree section { @extend .card; @extend .card-block; + break-inside: avoid; + -moz-break-inside: avoid; + -webkit-column-break-inside: avoid; } .userprofile .profile_tree section h3 { @extend .lead; diff --git a/theme/noname/scss/preset-default.scss b/theme/boost/scss/preset-default.scss similarity index 100% rename from theme/noname/scss/preset-default.scss rename to theme/boost/scss/preset-default.scss diff --git a/theme/noname/scss/preset-flatly.scss b/theme/boost/scss/preset-flatly.scss similarity index 100% rename from theme/noname/scss/preset-flatly.scss rename to theme/boost/scss/preset-flatly.scss diff --git a/theme/noname/scss/preset-paper.scss b/theme/boost/scss/preset-paper.scss similarity index 100% rename from theme/noname/scss/preset-paper.scss rename to theme/boost/scss/preset-paper.scss diff --git a/theme/noname/scss/preset-readable.scss b/theme/boost/scss/preset-readable.scss similarity index 100% rename from theme/noname/scss/preset-readable.scss rename to theme/boost/scss/preset-readable.scss diff --git a/theme/noname/settings.php b/theme/boost/settings.php similarity index 58% rename from theme/noname/settings.php rename to theme/boost/settings.php index 5eae6ab681e..d124414310c 100644 --- a/theme/noname/settings.php +++ b/theme/boost/settings.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * @package theme_noname + * @package theme_boost * @copyright 2016 Ryan Wyllie * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -23,19 +23,19 @@ defined('MOODLE_INTERNAL') || die(); if ($ADMIN->fulltree) { - $settings = new theme_noname_admin_settingspage_tabs('themesettingnoname', get_string('configtitle', 'theme_noname')); - $page = new admin_settingpage('theme_noname_general', get_string('generalsettings', 'theme_noname')); + $settings = new theme_boost_admin_settingspage_tabs('themesettingboost', get_string('configtitle', 'theme_boost')); + $page = new admin_settingpage('theme_boost_general', get_string('generalsettings', 'theme_boost')); // Preset. - $name = 'theme_noname/preset'; - $title = get_string('preset', 'theme_noname'); - $description = get_string('preset_desc', 'theme_noname'); + $name = 'theme_boost/preset'; + $title = get_string('preset', 'theme_boost'); + $description = get_string('preset_desc', 'theme_boost'); $choices = [ // A file named 'preset-' . key . '.scss' is expected. - 'default' => get_string('presetdefault', 'theme_noname'), - 'flatly' => get_string('presetflatly', 'theme_noname'), - 'paper' => get_string('presetpaper', 'theme_noname'), - 'readable' => get_string('presetreadable', 'theme_noname') + 'default' => get_string('presetdefault', 'theme_boost'), + 'flatly' => get_string('presetflatly', 'theme_boost'), + 'paper' => get_string('presetpaper', 'theme_boost'), + 'readable' => get_string('presetreadable', 'theme_boost') ]; $default = 'default'; $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); @@ -43,9 +43,9 @@ if ($ADMIN->fulltree) { $page->add($setting); // Variable $body-color. - $name = 'theme_noname/brandcolor'; - $title = get_string('brandcolor', 'theme_noname'); - $description = get_string('brandcolor_desc', 'theme_noname'); + $name = 'theme_boost/brandcolor'; + $title = get_string('brandcolor', 'theme_boost'); + $description = get_string('brandcolor_desc', 'theme_boost'); $default = '#373A3C'; // Straight from bootstrap variables. $setting = new admin_setting_configcolourpicker($name, $title, $description, $default, null, false); $setting->set_updatedcallback('theme_reset_all_caches'); @@ -55,17 +55,17 @@ if ($ADMIN->fulltree) { $settings->add($page); // Advanced settings. - $page = new admin_settingpage('theme_noname_advanced', get_string('advancedsettings', 'theme_noname')); + $page = new admin_settingpage('theme_boost_advanced', get_string('advancedsettings', 'theme_boost')); // Raw SCSS for before the content. - $setting = new theme_noname_admin_setting_scss_variables('theme_noname/scss_variables', - get_string('scssvariables', 'theme_noname'), get_string('scssvariables_desc', 'theme_noname'), '', PARAM_RAW); + $setting = new theme_boost_admin_setting_scss_variables('theme_boost/scss_variables', + get_string('scssvariables', 'theme_boost'), get_string('scssvariables_desc', 'theme_boost'), '', PARAM_RAW); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); // Raw SCSS for after the content. - $setting = new admin_setting_configtextarea('theme_noname/scss', get_string('rawscss', 'theme_noname'), - get_string('rawscss_desc', 'theme_noname'), '', PARAM_RAW); + $setting = new admin_setting_configtextarea('theme_boost/scss', get_string('rawscss', 'theme_boost'), + get_string('rawscss_desc', 'theme_boost'), '', PARAM_RAW); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); diff --git a/theme/noname/style/bootstrap.css b/theme/boost/style/bootstrap.css similarity index 100% rename from theme/noname/style/bootstrap.css rename to theme/boost/style/bootstrap.css diff --git a/theme/noname/style/editor.css b/theme/boost/style/editor.css similarity index 100% rename from theme/noname/style/editor.css rename to theme/boost/style/editor.css diff --git a/theme/noname/templates/admin_setting_tabs.mustache b/theme/boost/templates/admin_setting_tabs.mustache similarity index 100% rename from theme/noname/templates/admin_setting_tabs.mustache rename to theme/boost/templates/admin_setting_tabs.mustache diff --git a/theme/noname/templates/block_search_forums/search_form.mustache b/theme/boost/templates/block_search_forums/search_form.mustache similarity index 100% rename from theme/noname/templates/block_search_forums/search_form.mustache rename to theme/boost/templates/block_search_forums/search_form.mustache diff --git a/theme/noname/templates/block_settings/search_form.mustache b/theme/boost/templates/block_settings/search_form.mustache similarity index 100% rename from theme/noname/templates/block_settings/search_form.mustache rename to theme/boost/templates/block_settings/search_form.mustache diff --git a/theme/noname/templates/columns1.mustache b/theme/boost/templates/columns1.mustache similarity index 94% rename from theme/noname/templates/columns1.mustache rename to theme/boost/templates/columns1.mustache index 5f951448377..67dbd8a1acc 100644 --- a/theme/noname/templates/columns1.mustache +++ b/theme/boost/templates/columns1.mustache @@ -13,7 +13,7 @@ {{{ output.standard_top_of_body_html }}} - {{>theme_noname/header}} + {{>theme_boost/header}}
{{{ output.full_header }}} @@ -50,5 +50,5 @@ {{#js}} -require(['theme_noname/loader'], function() {}); +require(['theme_boost/loader'], function() {}); {{/js}} diff --git a/theme/noname/templates/columns2.mustache b/theme/boost/templates/columns2.mustache similarity index 95% rename from theme/noname/templates/columns2.mustache rename to theme/boost/templates/columns2.mustache index ec345552731..98668cc58f5 100644 --- a/theme/noname/templates/columns2.mustache +++ b/theme/boost/templates/columns2.mustache @@ -13,7 +13,7 @@ {{{ output.standard_top_of_body_html }}} - {{>theme_noname/header}} + {{>theme_boost/header}}
{{{ output.full_header }}} @@ -51,5 +51,5 @@ {{#js}} -require(['theme_noname/loader'], function() {}); +require(['theme_boost/loader'], function() {}); {{/js}} diff --git a/theme/noname/templates/core/action_menu.mustache b/theme/boost/templates/core/action_menu.mustache similarity index 100% rename from theme/noname/templates/core/action_menu.mustache rename to theme/boost/templates/core/action_menu.mustache diff --git a/theme/noname/templates/core/action_menu_item.mustache b/theme/boost/templates/core/action_menu_item.mustache similarity index 100% rename from theme/noname/templates/core/action_menu_item.mustache rename to theme/boost/templates/core/action_menu_item.mustache diff --git a/theme/noname/templates/core/action_menu_link.mustache b/theme/boost/templates/core/action_menu_link.mustache similarity index 100% rename from theme/noname/templates/core/action_menu_link.mustache rename to theme/boost/templates/core/action_menu_link.mustache diff --git a/theme/noname/templates/core/action_menu_trigger.mustache b/theme/boost/templates/core/action_menu_trigger.mustache similarity index 100% rename from theme/noname/templates/core/action_menu_trigger.mustache rename to theme/boost/templates/core/action_menu_trigger.mustache diff --git a/theme/noname/templates/core/block.mustache b/theme/boost/templates/core/block.mustache similarity index 100% rename from theme/noname/templates/core/block.mustache rename to theme/boost/templates/core/block.mustache diff --git a/theme/noname/templates/core/chooser.mustache b/theme/boost/templates/core/chooser.mustache similarity index 100% rename from theme/noname/templates/core/chooser.mustache rename to theme/boost/templates/core/chooser.mustache diff --git a/theme/noname/templates/core/custom_menu_item.mustache b/theme/boost/templates/core/custom_menu_item.mustache similarity index 100% rename from theme/noname/templates/core/custom_menu_item.mustache rename to theme/boost/templates/core/custom_menu_item.mustache diff --git a/theme/noname/templates/core/dataformat_selector.mustache b/theme/boost/templates/core/dataformat_selector.mustache similarity index 100% rename from theme/noname/templates/core/dataformat_selector.mustache rename to theme/boost/templates/core/dataformat_selector.mustache diff --git a/theme/noname/templates/core/filemanager_confirmdialog.mustache b/theme/boost/templates/core/filemanager_confirmdialog.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_confirmdialog.mustache rename to theme/boost/templates/core/filemanager_confirmdialog.mustache diff --git a/theme/noname/templates/core/filemanager_default_searchform.mustache b/theme/boost/templates/core/filemanager_default_searchform.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_default_searchform.mustache rename to theme/boost/templates/core/filemanager_default_searchform.mustache diff --git a/theme/noname/templates/core/filemanager_fileselect.mustache b/theme/boost/templates/core/filemanager_fileselect.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_fileselect.mustache rename to theme/boost/templates/core/filemanager_fileselect.mustache diff --git a/theme/noname/templates/core/filemanager_loginform.mustache b/theme/boost/templates/core/filemanager_loginform.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_loginform.mustache rename to theme/boost/templates/core/filemanager_loginform.mustache diff --git a/theme/noname/templates/core/filemanager_modal_generallayout.mustache b/theme/boost/templates/core/filemanager_modal_generallayout.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_modal_generallayout.mustache rename to theme/boost/templates/core/filemanager_modal_generallayout.mustache diff --git a/theme/noname/templates/core/filemanager_page_generallayout.mustache b/theme/boost/templates/core/filemanager_page_generallayout.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_page_generallayout.mustache rename to theme/boost/templates/core/filemanager_page_generallayout.mustache diff --git a/theme/noname/templates/core/filemanager_processexistingfile.mustache b/theme/boost/templates/core/filemanager_processexistingfile.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_processexistingfile.mustache rename to theme/boost/templates/core/filemanager_processexistingfile.mustache diff --git a/theme/noname/templates/core/filemanager_processexistingfilemultiple.mustache b/theme/boost/templates/core/filemanager_processexistingfilemultiple.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_processexistingfilemultiple.mustache rename to theme/boost/templates/core/filemanager_processexistingfilemultiple.mustache diff --git a/theme/noname/templates/core/filemanager_selectlayout.mustache b/theme/boost/templates/core/filemanager_selectlayout.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_selectlayout.mustache rename to theme/boost/templates/core/filemanager_selectlayout.mustache diff --git a/theme/noname/templates/core/filemanager_uploadform.mustache b/theme/boost/templates/core/filemanager_uploadform.mustache similarity index 100% rename from theme/noname/templates/core/filemanager_uploadform.mustache rename to theme/boost/templates/core/filemanager_uploadform.mustache diff --git a/theme/noname/templates/core/form_autocomplete_input.mustache b/theme/boost/templates/core/form_autocomplete_input.mustache similarity index 100% rename from theme/noname/templates/core/form_autocomplete_input.mustache rename to theme/boost/templates/core/form_autocomplete_input.mustache diff --git a/theme/noname/templates/core/form_autocomplete_selection.mustache b/theme/boost/templates/core/form_autocomplete_selection.mustache similarity index 100% rename from theme/noname/templates/core/form_autocomplete_selection.mustache rename to theme/boost/templates/core/form_autocomplete_selection.mustache diff --git a/theme/noname/templates/core/help_icon.mustache b/theme/boost/templates/core/help_icon.mustache similarity index 100% rename from theme/noname/templates/core/help_icon.mustache rename to theme/boost/templates/core/help_icon.mustache diff --git a/theme/noname/templates/core/login.mustache b/theme/boost/templates/core/login.mustache similarity index 100% rename from theme/noname/templates/core/login.mustache rename to theme/boost/templates/core/login.mustache diff --git a/theme/noname/templates/core/navbar.mustache b/theme/boost/templates/core/navbar.mustache similarity index 100% rename from theme/noname/templates/core/navbar.mustache rename to theme/boost/templates/core/navbar.mustache diff --git a/theme/noname/templates/core/notification_error.mustache b/theme/boost/templates/core/notification_error.mustache similarity index 100% rename from theme/noname/templates/core/notification_error.mustache rename to theme/boost/templates/core/notification_error.mustache diff --git a/theme/noname/templates/core/notification_info.mustache b/theme/boost/templates/core/notification_info.mustache similarity index 100% rename from theme/noname/templates/core/notification_info.mustache rename to theme/boost/templates/core/notification_info.mustache diff --git a/theme/noname/templates/core/notification_success.mustache b/theme/boost/templates/core/notification_success.mustache similarity index 100% rename from theme/noname/templates/core/notification_success.mustache rename to theme/boost/templates/core/notification_success.mustache diff --git a/theme/noname/templates/core/notification_warning.mustache b/theme/boost/templates/core/notification_warning.mustache similarity index 100% rename from theme/noname/templates/core/notification_warning.mustache rename to theme/boost/templates/core/notification_warning.mustache diff --git a/theme/noname/templates/core/paging_bar.mustache b/theme/boost/templates/core/paging_bar.mustache similarity index 97% rename from theme/noname/templates/core/paging_bar.mustache rename to theme/boost/templates/core/paging_bar.mustache index 921526702dd..29801aa522c 100644 --- a/theme/noname/templates/core/paging_bar.mustache +++ b/theme/boost/templates/core/paging_bar.mustache @@ -22,7 +22,7 @@ {{page}} {{#active}} - {{#str}}currentinparentheses, theme_noname{{/str}} + {{#str}}currentinparentheses, theme_boost{{/str}} {{/active}} diff --git a/theme/noname/templates/core/pix_icon.mustache b/theme/boost/templates/core/pix_icon.mustache similarity index 100% rename from theme/noname/templates/core/pix_icon.mustache rename to theme/boost/templates/core/pix_icon.mustache diff --git a/theme/noname/templates/core/preferences_groups.mustache b/theme/boost/templates/core/preferences_groups.mustache similarity index 100% rename from theme/noname/templates/core/preferences_groups.mustache rename to theme/boost/templates/core/preferences_groups.mustache diff --git a/theme/noname/templates/core/select_time.mustache b/theme/boost/templates/core/select_time.mustache similarity index 100% rename from theme/noname/templates/core/select_time.mustache rename to theme/boost/templates/core/select_time.mustache diff --git a/theme/noname/templates/core/single_button.mustache b/theme/boost/templates/core/single_button.mustache similarity index 100% rename from theme/noname/templates/core/single_button.mustache rename to theme/boost/templates/core/single_button.mustache diff --git a/theme/noname/templates/core/single_select.mustache b/theme/boost/templates/core/single_select.mustache similarity index 100% rename from theme/noname/templates/core/single_select.mustache rename to theme/boost/templates/core/single_select.mustache diff --git a/theme/noname/templates/core/skip_links.mustache b/theme/boost/templates/core/skip_links.mustache similarity index 100% rename from theme/noname/templates/core/skip_links.mustache rename to theme/boost/templates/core/skip_links.mustache diff --git a/theme/noname/templates/core/tabtree.mustache b/theme/boost/templates/core/tabtree.mustache similarity index 100% rename from theme/noname/templates/core/tabtree.mustache rename to theme/boost/templates/core/tabtree.mustache diff --git a/theme/noname/templates/core/url_select.mustache b/theme/boost/templates/core/url_select.mustache similarity index 100% rename from theme/noname/templates/core/url_select.mustache rename to theme/boost/templates/core/url_select.mustache diff --git a/theme/noname/templates/core_admin/setting.mustache b/theme/boost/templates/core_admin/setting.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting.mustache rename to theme/boost/templates/core_admin/setting.mustache diff --git a/theme/noname/templates/core_admin/setting_configcolourpicker.mustache b/theme/boost/templates/core_admin/setting_configcolourpicker.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configcolourpicker.mustache rename to theme/boost/templates/core_admin/setting_configcolourpicker.mustache diff --git a/theme/noname/templates/core_admin/setting_configduration.mustache b/theme/boost/templates/core_admin/setting_configduration.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configduration.mustache rename to theme/boost/templates/core_admin/setting_configduration.mustache diff --git a/theme/noname/templates/core_admin/setting_configfile.mustache b/theme/boost/templates/core_admin/setting_configfile.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configfile.mustache rename to theme/boost/templates/core_admin/setting_configfile.mustache diff --git a/theme/noname/templates/core_admin/setting_configmultiselect.mustache b/theme/boost/templates/core_admin/setting_configmultiselect.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configmultiselect.mustache rename to theme/boost/templates/core_admin/setting_configmultiselect.mustache diff --git a/theme/noname/templates/core_admin/setting_configpasswordunmask.mustache b/theme/boost/templates/core_admin/setting_configpasswordunmask.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configpasswordunmask.mustache rename to theme/boost/templates/core_admin/setting_configpasswordunmask.mustache diff --git a/theme/noname/templates/core_admin/setting_configselect.mustache b/theme/boost/templates/core_admin/setting_configselect.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configselect.mustache rename to theme/boost/templates/core_admin/setting_configselect.mustache diff --git a/theme/noname/templates/core_admin/setting_configtext.mustache b/theme/boost/templates/core_admin/setting_configtext.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configtext.mustache rename to theme/boost/templates/core_admin/setting_configtext.mustache diff --git a/theme/noname/templates/core_admin/setting_configtextarea.mustache b/theme/boost/templates/core_admin/setting_configtextarea.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configtextarea.mustache rename to theme/boost/templates/core_admin/setting_configtextarea.mustache diff --git a/theme/noname/templates/core_admin/setting_configtime.mustache b/theme/boost/templates/core_admin/setting_configtime.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_configtime.mustache rename to theme/boost/templates/core_admin/setting_configtime.mustache diff --git a/theme/noname/templates/core_admin/setting_courselist_frontpage.mustache b/theme/boost/templates/core_admin/setting_courselist_frontpage.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_courselist_frontpage.mustache rename to theme/boost/templates/core_admin/setting_courselist_frontpage.mustache diff --git a/theme/noname/templates/core_admin/setting_devicedetectregex.mustache b/theme/boost/templates/core_admin/setting_devicedetectregex.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_devicedetectregex.mustache rename to theme/boost/templates/core_admin/setting_devicedetectregex.mustache diff --git a/theme/noname/templates/core_admin/setting_emoticons.mustache b/theme/boost/templates/core_admin/setting_emoticons.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_emoticons.mustache rename to theme/boost/templates/core_admin/setting_emoticons.mustache diff --git a/theme/noname/templates/core_admin/setting_gradecat_combo.mustache b/theme/boost/templates/core_admin/setting_gradecat_combo.mustache similarity index 100% rename from theme/noname/templates/core_admin/setting_gradecat_combo.mustache rename to theme/boost/templates/core_admin/setting_gradecat_combo.mustache diff --git a/theme/noname/templates/core_admin/settings.mustache b/theme/boost/templates/core_admin/settings.mustache similarity index 100% rename from theme/noname/templates/core_admin/settings.mustache rename to theme/boost/templates/core_admin/settings.mustache diff --git a/theme/noname/templates/core_admin/settings_search_results.mustache b/theme/boost/templates/core_admin/settings_search_results.mustache similarity index 100% rename from theme/noname/templates/core_admin/settings_search_results.mustache rename to theme/boost/templates/core_admin/settings_search_results.mustache diff --git a/theme/noname/templates/core_form/editor_textarea.mustache b/theme/boost/templates/core_form/editor_textarea.mustache similarity index 100% rename from theme/noname/templates/core_form/editor_textarea.mustache rename to theme/boost/templates/core_form/editor_textarea.mustache diff --git a/theme/noname/templates/core_form/element-advcheckbox-inline.mustache b/theme/boost/templates/core_form/element-advcheckbox-inline.mustache similarity index 92% rename from theme/noname/templates/core_form/element-advcheckbox-inline.mustache rename to theme/boost/templates/core_form/element-advcheckbox-inline.mustache index ec03be1c821..caff86c1d8b 100644 --- a/theme/noname/templates/core_form/element-advcheckbox-inline.mustache +++ b/theme/boost/templates/core_form/element-advcheckbox-inline.mustache @@ -20,7 +20,7 @@ {{^element.frozen}} {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-advcheckbox.mustache b/theme/boost/templates/core_form/element-advcheckbox.mustache similarity index 94% rename from theme/noname/templates/core_form/element-advcheckbox.mustache rename to theme/boost/templates/core_form/element-advcheckbox.mustache index d818fcc024c..db21ba3360b 100644 --- a/theme/noname/templates/core_form/element-advcheckbox.mustache +++ b/theme/boost/templates/core_form/element-advcheckbox.mustache @@ -22,7 +22,7 @@
{{^element.frozen}} {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-autocomplete-inline.mustache b/theme/boost/templates/core_form/element-autocomplete-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-autocomplete-inline.mustache rename to theme/boost/templates/core_form/element-autocomplete-inline.mustache diff --git a/theme/noname/templates/core_form/element-autocomplete.mustache b/theme/boost/templates/core_form/element-autocomplete.mustache similarity index 100% rename from theme/noname/templates/core_form/element-autocomplete.mustache rename to theme/boost/templates/core_form/element-autocomplete.mustache diff --git a/theme/noname/templates/core_form/element-button-inline.mustache b/theme/boost/templates/core_form/element-button-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-button-inline.mustache rename to theme/boost/templates/core_form/element-button-inline.mustache diff --git a/theme/noname/templates/core_form/element-button.mustache b/theme/boost/templates/core_form/element-button.mustache similarity index 100% rename from theme/noname/templates/core_form/element-button.mustache rename to theme/boost/templates/core_form/element-button.mustache diff --git a/theme/noname/templates/core_form/element-checkbox-inline.mustache b/theme/boost/templates/core_form/element-checkbox-inline.mustache similarity index 93% rename from theme/noname/templates/core_form/element-checkbox-inline.mustache rename to theme/boost/templates/core_form/element-checkbox-inline.mustache index e8bed8c1642..14c0ded8dee 100644 --- a/theme/noname/templates/core_form/element-checkbox-inline.mustache +++ b/theme/boost/templates/core_form/element-checkbox-inline.mustache @@ -23,7 +23,7 @@ {{^element.frozen}} {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-checkbox.mustache b/theme/boost/templates/core_form/element-checkbox.mustache similarity index 94% rename from theme/noname/templates/core_form/element-checkbox.mustache rename to theme/boost/templates/core_form/element-checkbox.mustache index 085f32dc78b..be662f2994c 100644 --- a/theme/noname/templates/core_form/element-checkbox.mustache +++ b/theme/boost/templates/core_form/element-checkbox.mustache @@ -25,7 +25,7 @@
{{^element.frozen}} {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-date_selector.mustache b/theme/boost/templates/core_form/element-date_selector.mustache similarity index 100% rename from theme/noname/templates/core_form/element-date_selector.mustache rename to theme/boost/templates/core_form/element-date_selector.mustache diff --git a/theme/noname/templates/core_form/element-date_time_selector-inline.mustache b/theme/boost/templates/core_form/element-date_time_selector-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-date_time_selector-inline.mustache rename to theme/boost/templates/core_form/element-date_time_selector-inline.mustache diff --git a/theme/noname/templates/core_form/element-date_time_selector.mustache b/theme/boost/templates/core_form/element-date_time_selector.mustache similarity index 100% rename from theme/noname/templates/core_form/element-date_time_selector.mustache rename to theme/boost/templates/core_form/element-date_time_selector.mustache diff --git a/theme/noname/templates/core_form/element-duration-inline.mustache b/theme/boost/templates/core_form/element-duration-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-duration-inline.mustache rename to theme/boost/templates/core_form/element-duration-inline.mustache diff --git a/theme/noname/templates/core_form/element-duration.mustache b/theme/boost/templates/core_form/element-duration.mustache similarity index 100% rename from theme/noname/templates/core_form/element-duration.mustache rename to theme/boost/templates/core_form/element-duration.mustache diff --git a/theme/noname/templates/core_form/element-editor.mustache b/theme/boost/templates/core_form/element-editor.mustache similarity index 100% rename from theme/noname/templates/core_form/element-editor.mustache rename to theme/boost/templates/core_form/element-editor.mustache diff --git a/theme/noname/templates/core_form/element-filemanager.mustache b/theme/boost/templates/core_form/element-filemanager.mustache similarity index 100% rename from theme/noname/templates/core_form/element-filemanager.mustache rename to theme/boost/templates/core_form/element-filemanager.mustache diff --git a/theme/noname/templates/core_form/element-filepicker.mustache b/theme/boost/templates/core_form/element-filepicker.mustache similarity index 100% rename from theme/noname/templates/core_form/element-filepicker.mustache rename to theme/boost/templates/core_form/element-filepicker.mustache diff --git a/theme/noname/templates/core_form/element-grading.mustache b/theme/boost/templates/core_form/element-grading.mustache similarity index 100% rename from theme/noname/templates/core_form/element-grading.mustache rename to theme/boost/templates/core_form/element-grading.mustache diff --git a/theme/noname/templates/core_form/element-group-inline.mustache b/theme/boost/templates/core_form/element-group-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-group-inline.mustache rename to theme/boost/templates/core_form/element-group-inline.mustache diff --git a/theme/noname/templates/core_form/element-group.mustache b/theme/boost/templates/core_form/element-group.mustache similarity index 100% rename from theme/noname/templates/core_form/element-group.mustache rename to theme/boost/templates/core_form/element-group.mustache diff --git a/theme/noname/templates/core_form/element-modgrade.mustache b/theme/boost/templates/core_form/element-modgrade.mustache similarity index 100% rename from theme/noname/templates/core_form/element-modgrade.mustache rename to theme/boost/templates/core_form/element-modgrade.mustache diff --git a/theme/noname/templates/core_form/element-modvisible.mustache b/theme/boost/templates/core_form/element-modvisible.mustache similarity index 100% rename from theme/noname/templates/core_form/element-modvisible.mustache rename to theme/boost/templates/core_form/element-modvisible.mustache diff --git a/theme/noname/templates/core_form/element-password.mustache b/theme/boost/templates/core_form/element-password.mustache similarity index 100% rename from theme/noname/templates/core_form/element-password.mustache rename to theme/boost/templates/core_form/element-password.mustache diff --git a/theme/noname/templates/core_form/element-passwordunmask.mustache b/theme/boost/templates/core_form/element-passwordunmask.mustache similarity index 100% rename from theme/noname/templates/core_form/element-passwordunmask.mustache rename to theme/boost/templates/core_form/element-passwordunmask.mustache diff --git a/theme/noname/templates/core_form/element-questioncategory-inline.mustache b/theme/boost/templates/core_form/element-questioncategory-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-questioncategory-inline.mustache rename to theme/boost/templates/core_form/element-questioncategory-inline.mustache diff --git a/theme/noname/templates/core_form/element-questioncategory.mustache b/theme/boost/templates/core_form/element-questioncategory.mustache similarity index 100% rename from theme/noname/templates/core_form/element-questioncategory.mustache rename to theme/boost/templates/core_form/element-questioncategory.mustache diff --git a/theme/noname/templates/core_form/element-radio-inline.mustache b/theme/boost/templates/core_form/element-radio-inline.mustache similarity index 91% rename from theme/noname/templates/core_form/element-radio-inline.mustache rename to theme/boost/templates/core_form/element-radio-inline.mustache index 0828fed4037..f1feba5e4e9 100644 --- a/theme/noname/templates/core_form/element-radio-inline.mustache +++ b/theme/boost/templates/core_form/element-radio-inline.mustache @@ -15,7 +15,7 @@ {{^element.frozen}} {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-radio.mustache b/theme/boost/templates/core_form/element-radio.mustache similarity index 93% rename from theme/noname/templates/core_form/element-radio.mustache rename to theme/boost/templates/core_form/element-radio.mustache index ad0b32dd0cd..03cf35d739b 100644 --- a/theme/noname/templates/core_form/element-radio.mustache +++ b/theme/boost/templates/core_form/element-radio.mustache @@ -18,7 +18,7 @@ {{^element.frozen}} {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-recaptcha.mustache b/theme/boost/templates/core_form/element-recaptcha.mustache similarity index 100% rename from theme/noname/templates/core_form/element-recaptcha.mustache rename to theme/boost/templates/core_form/element-recaptcha.mustache diff --git a/theme/noname/templates/core_form/element-select-inline.mustache b/theme/boost/templates/core_form/element-select-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-select-inline.mustache rename to theme/boost/templates/core_form/element-select-inline.mustache diff --git a/theme/noname/templates/core_form/element-select.mustache b/theme/boost/templates/core_form/element-select.mustache similarity index 100% rename from theme/noname/templates/core_form/element-select.mustache rename to theme/boost/templates/core_form/element-select.mustache diff --git a/theme/noname/templates/core_form/element-selectgroups-inline.mustache b/theme/boost/templates/core_form/element-selectgroups-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-selectgroups-inline.mustache rename to theme/boost/templates/core_form/element-selectgroups-inline.mustache diff --git a/theme/noname/templates/core_form/element-selectgroups.mustache b/theme/boost/templates/core_form/element-selectgroups.mustache similarity index 100% rename from theme/noname/templates/core_form/element-selectgroups.mustache rename to theme/boost/templates/core_form/element-selectgroups.mustache diff --git a/theme/noname/templates/core_form/element-selectwithlink.mustache b/theme/boost/templates/core_form/element-selectwithlink.mustache similarity index 100% rename from theme/noname/templates/core_form/element-selectwithlink.mustache rename to theme/boost/templates/core_form/element-selectwithlink.mustache diff --git a/theme/noname/templates/core_form/element-selectyesno-inline.mustache b/theme/boost/templates/core_form/element-selectyesno-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-selectyesno-inline.mustache rename to theme/boost/templates/core_form/element-selectyesno-inline.mustache diff --git a/theme/noname/templates/core_form/element-selectyesno.mustache b/theme/boost/templates/core_form/element-selectyesno.mustache similarity index 100% rename from theme/noname/templates/core_form/element-selectyesno.mustache rename to theme/boost/templates/core_form/element-selectyesno.mustache diff --git a/theme/noname/templates/core_form/element-static.mustache b/theme/boost/templates/core_form/element-static.mustache similarity index 100% rename from theme/noname/templates/core_form/element-static.mustache rename to theme/boost/templates/core_form/element-static.mustache diff --git a/theme/noname/templates/core_form/element-submit-inline.mustache b/theme/boost/templates/core_form/element-submit-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-submit-inline.mustache rename to theme/boost/templates/core_form/element-submit-inline.mustache diff --git a/theme/noname/templates/core_form/element-submit.mustache b/theme/boost/templates/core_form/element-submit.mustache similarity index 100% rename from theme/noname/templates/core_form/element-submit.mustache rename to theme/boost/templates/core_form/element-submit.mustache diff --git a/theme/noname/templates/core_form/element-tags-inline.mustache b/theme/boost/templates/core_form/element-tags-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-tags-inline.mustache rename to theme/boost/templates/core_form/element-tags-inline.mustache diff --git a/theme/noname/templates/core_form/element-tags.mustache b/theme/boost/templates/core_form/element-tags.mustache similarity index 100% rename from theme/noname/templates/core_form/element-tags.mustache rename to theme/boost/templates/core_form/element-tags.mustache diff --git a/theme/noname/templates/core_form/element-template-inline.mustache b/theme/boost/templates/core_form/element-template-inline.mustache similarity index 93% rename from theme/noname/templates/core_form/element-template-inline.mustache rename to theme/boost/templates/core_form/element-template-inline.mustache index d2ef2da24f5..5bcff0a16ff 100644 --- a/theme/noname/templates/core_form/element-template-inline.mustache +++ b/theme/boost/templates/core_form/element-template-inline.mustache @@ -14,7 +14,7 @@ {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-template.mustache b/theme/boost/templates/core_form/element-template.mustache similarity index 94% rename from theme/noname/templates/core_form/element-template.mustache rename to theme/boost/templates/core_form/element-template.mustache index c06100f6d9d..4e6114eebf2 100644 --- a/theme/noname/templates/core_form/element-template.mustache +++ b/theme/boost/templates/core_form/element-template.mustache @@ -19,7 +19,7 @@ {{#js}} -require(['theme_noname/form-display-errors'], function(module) { +require(['theme_boost/form-display-errors'], function(module) { module.enhance({{#quote}}{{element.id}}{{/quote}}); }); {{/js}} diff --git a/theme/noname/templates/core_form/element-text-inline.mustache b/theme/boost/templates/core_form/element-text-inline.mustache similarity index 100% rename from theme/noname/templates/core_form/element-text-inline.mustache rename to theme/boost/templates/core_form/element-text-inline.mustache diff --git a/theme/noname/templates/core_form/element-text.mustache b/theme/boost/templates/core_form/element-text.mustache similarity index 100% rename from theme/noname/templates/core_form/element-text.mustache rename to theme/boost/templates/core_form/element-text.mustache diff --git a/theme/noname/templates/core_form/element-textarea.mustache b/theme/boost/templates/core_form/element-textarea.mustache similarity index 100% rename from theme/noname/templates/core_form/element-textarea.mustache rename to theme/boost/templates/core_form/element-textarea.mustache diff --git a/theme/noname/templates/core_form/element-url.mustache b/theme/boost/templates/core_form/element-url.mustache similarity index 100% rename from theme/noname/templates/core_form/element-url.mustache rename to theme/boost/templates/core_form/element-url.mustache diff --git a/theme/noname/templates/core_form/element-warning.mustache b/theme/boost/templates/core_form/element-warning.mustache similarity index 100% rename from theme/noname/templates/core_form/element-warning.mustache rename to theme/boost/templates/core_form/element-warning.mustache diff --git a/theme/noname/templates/core_form/element-wikieditor.mustache b/theme/boost/templates/core_form/element-wikieditor.mustache similarity index 100% rename from theme/noname/templates/core_form/element-wikieditor.mustache rename to theme/boost/templates/core_form/element-wikieditor.mustache diff --git a/theme/noname/templates/core_grades/edit_tree.mustache b/theme/boost/templates/core_grades/edit_tree.mustache similarity index 100% rename from theme/noname/templates/core_grades/edit_tree.mustache rename to theme/boost/templates/core_grades/edit_tree.mustache diff --git a/theme/noname/templates/core_grades/weight_field.mustache b/theme/boost/templates/core_grades/weight_field.mustache similarity index 100% rename from theme/noname/templates/core_grades/weight_field.mustache rename to theme/boost/templates/core_grades/weight_field.mustache diff --git a/theme/noname/templates/core_grades/weight_override_field.mustache b/theme/boost/templates/core_grades/weight_override_field.mustache similarity index 100% rename from theme/noname/templates/core_grades/weight_override_field.mustache rename to theme/boost/templates/core_grades/weight_override_field.mustache diff --git a/theme/noname/templates/course_search_form.mustache b/theme/boost/templates/course_search_form.mustache similarity index 100% rename from theme/noname/templates/course_search_form.mustache rename to theme/boost/templates/course_search_form.mustache diff --git a/theme/noname/templates/embedded.mustache b/theme/boost/templates/embedded.mustache similarity index 90% rename from theme/noname/templates/embedded.mustache rename to theme/boost/templates/embedded.mustache index 4d5198bb29c..5686cfe775a 100644 --- a/theme/noname/templates/embedded.mustache +++ b/theme/boost/templates/embedded.mustache @@ -19,5 +19,5 @@ {{#js}} -require(['theme_noname/loader'], function() {}); -{{/js}} \ No newline at end of file +require(['theme_boost/loader'], function() {}); +{{/js}} diff --git a/theme/noname/templates/gradereport_history/user_button.mustache b/theme/boost/templates/gradereport_history/user_button.mustache similarity index 100% rename from theme/noname/templates/gradereport_history/user_button.mustache rename to theme/boost/templates/gradereport_history/user_button.mustache diff --git a/theme/noname/templates/gradereport_singleview/bulk_insert.mustache b/theme/boost/templates/gradereport_singleview/bulk_insert.mustache similarity index 100% rename from theme/noname/templates/gradereport_singleview/bulk_insert.mustache rename to theme/boost/templates/gradereport_singleview/bulk_insert.mustache diff --git a/theme/noname/templates/gradereport_singleview/button.mustache b/theme/boost/templates/gradereport_singleview/button.mustache similarity index 100% rename from theme/noname/templates/gradereport_singleview/button.mustache rename to theme/boost/templates/gradereport_singleview/button.mustache diff --git a/theme/noname/templates/gradereport_singleview/dropdown_attribute.mustache b/theme/boost/templates/gradereport_singleview/dropdown_attribute.mustache similarity index 100% rename from theme/noname/templates/gradereport_singleview/dropdown_attribute.mustache rename to theme/boost/templates/gradereport_singleview/dropdown_attribute.mustache diff --git a/theme/noname/templates/gradereport_singleview/text_attribute.mustache b/theme/boost/templates/gradereport_singleview/text_attribute.mustache similarity index 100% rename from theme/noname/templates/gradereport_singleview/text_attribute.mustache rename to theme/boost/templates/gradereport_singleview/text_attribute.mustache diff --git a/theme/noname/templates/header.mustache b/theme/boost/templates/header.mustache similarity index 100% rename from theme/noname/templates/header.mustache rename to theme/boost/templates/header.mustache diff --git a/theme/noname/templates/maintenance.mustache b/theme/boost/templates/maintenance.mustache similarity index 95% rename from theme/noname/templates/maintenance.mustache rename to theme/boost/templates/maintenance.mustache index 095a912b40e..92eca921b83 100644 --- a/theme/noname/templates/maintenance.mustache +++ b/theme/boost/templates/maintenance.mustache @@ -37,5 +37,5 @@ {{#js}} -require(['theme_noname/loader'], function() {}); +require(['theme_boost/loader'], function() {}); {{/js}} diff --git a/theme/noname/templates/mod_assign/grading_actions.mustache b/theme/boost/templates/mod_assign/grading_actions.mustache similarity index 100% rename from theme/noname/templates/mod_assign/grading_actions.mustache rename to theme/boost/templates/mod_assign/grading_actions.mustache diff --git a/theme/noname/templates/mod_assign/grading_navigation.mustache b/theme/boost/templates/mod_assign/grading_navigation.mustache similarity index 100% rename from theme/noname/templates/mod_assign/grading_navigation.mustache rename to theme/boost/templates/mod_assign/grading_navigation.mustache diff --git a/theme/noname/templates/mod_assign/grading_navigation_user_selector.mustache b/theme/boost/templates/mod_assign/grading_navigation_user_selector.mustache similarity index 100% rename from theme/noname/templates/mod_assign/grading_navigation_user_selector.mustache rename to theme/boost/templates/mod_assign/grading_navigation_user_selector.mustache diff --git a/theme/noname/templates/mod_forum/big_search_form.mustache b/theme/boost/templates/mod_forum/big_search_form.mustache similarity index 100% rename from theme/noname/templates/mod_forum/big_search_form.mustache rename to theme/boost/templates/mod_forum/big_search_form.mustache diff --git a/theme/noname/templates/mod_forum/quick_search_form.mustache b/theme/boost/templates/mod_forum/quick_search_form.mustache similarity index 100% rename from theme/noname/templates/mod_forum/quick_search_form.mustache rename to theme/boost/templates/mod_forum/quick_search_form.mustache diff --git a/theme/noname/templates/secure.mustache b/theme/boost/templates/secure.mustache similarity index 97% rename from theme/noname/templates/secure.mustache rename to theme/boost/templates/secure.mustache index 26fd64a9b8e..3c2af3ce09d 100644 --- a/theme/noname/templates/secure.mustache +++ b/theme/boost/templates/secure.mustache @@ -62,6 +62,6 @@ {{#js}} -require(['theme_noname/loader'], function() {}); +require(['theme_boost/loader'], function() {}); {{/js}} diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_action_menu.php b/theme/boost/tests/behat/behat_theme_boost_behat_action_menu.php similarity index 97% rename from theme/noname/tests/behat/behat_theme_noname_behat_action_menu.php rename to theme/boost/tests/behat/behat_theme_boost_behat_action_menu.php index 5eadca7ed5c..4fc07343a88 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_action_menu.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_action_menu.php @@ -35,7 +35,7 @@ require_once(__DIR__ . '/../../../../lib/tests/behat/behat_action_menu.php'); * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_action_menu extends behat_action_menu { +class behat_theme_boost_behat_action_menu extends behat_action_menu { public function i_open_the_action_menu_in($element, $selectortype) { if (!$this->running_javascript()) { diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_admin.php b/theme/boost/tests/behat/behat_theme_boost_behat_admin.php similarity index 98% rename from theme/noname/tests/behat/behat_theme_noname_behat_admin.php rename to theme/boost/tests/behat/behat_theme_boost_behat_admin.php index 5e027092af4..2dc08345348 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_admin.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_admin.php @@ -34,7 +34,7 @@ use Behat\Gherkin\Node\TableNode as TableNode, * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_admin extends behat_admin { +class behat_theme_boost_behat_admin extends behat_admin { public function i_set_the_following_administration_settings_values(TableNode $table) { diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_auth.php b/theme/boost/tests/behat/behat_theme_boost_behat_auth.php similarity index 97% rename from theme/noname/tests/behat/behat_theme_noname_behat_auth.php rename to theme/boost/tests/behat/behat_theme_boost_behat_auth.php index 06c15711c0c..c83b1aeb6d6 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_auth.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_auth.php @@ -37,7 +37,7 @@ require_once(__DIR__ . '/../../../../auth/tests/behat/behat_auth.php'); * @copyright 2012 David Monllaó * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_auth extends behat_auth { +class behat_theme_boost_behat_auth extends behat_auth { public function i_log_out() { // There is no longer any need to worry about whether the navigation diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_backup.php b/theme/boost/tests/behat/behat_theme_boost_behat_backup.php similarity index 89% rename from theme/noname/tests/behat/behat_theme_noname_behat_backup.php rename to theme/boost/tests/behat/behat_theme_boost_behat_backup.php index 0655bb67850..d47eda0eba4 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_backup.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_backup.php @@ -24,7 +24,7 @@ // NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. require_once(__DIR__ . '/../../../../backup/util/ui/tests/behat/behat_backup.php'); -require_once(__DIR__ . '/behat_theme_noname_behat_navigation.php'); +require_once(__DIR__ . '/behat_theme_boost_behat_navigation.php'); use Behat\Gherkin\Node\TableNode as TableNode, Behat\Mink\Exception\ElementNotFoundException as ElementNotFoundException, @@ -36,10 +36,10 @@ use Behat\Gherkin\Node\TableNode as TableNode, * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_backup extends behat_backup { +class behat_theme_boost_behat_backup extends behat_backup { protected function navigate_to_course_settings_link($langstring, $component = '') { - $behatnavigation = new behat_theme_noname_behat_navigation(); + $behatnavigation = new behat_theme_boost_behat_navigation(); $behatnavigation->setMink($this->getMink()); $behatnavigation->i_navigate_to_node_in(get_string($langstring, $component), get_string('courseadministration')); diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_blocks.php b/theme/boost/tests/behat/behat_theme_boost_behat_blocks.php similarity index 97% rename from theme/noname/tests/behat/behat_theme_noname_behat_blocks.php rename to theme/boost/tests/behat/behat_theme_boost_behat_blocks.php index 7b2a41c7f3f..10716493fb1 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_blocks.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_blocks.php @@ -35,7 +35,7 @@ require_once(__DIR__ . '/../../../../blocks/tests/behat/behat_blocks.php'); * @copyright 2012 David Monllaó * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_blocks extends behat_blocks { +class behat_theme_boost_behat_blocks extends behat_blocks { public function i_add_the_block($blockname) { $this->execute('behat_forms::i_set_the_field_to', diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_course.php b/theme/boost/tests/behat/behat_theme_boost_behat_course.php similarity index 99% rename from theme/noname/tests/behat/behat_theme_noname_behat_course.php rename to theme/boost/tests/behat/behat_theme_boost_behat_course.php index 8d8af067f72..d34045cd4ba 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_course.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_course.php @@ -36,7 +36,7 @@ use Behat\Gherkin\Node\TableNode as TableNode, * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_course extends behat_course { +class behat_theme_boost_behat_course extends behat_course { public function i_open_actions_menu($activityname) { diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_filepicker.php b/theme/boost/tests/behat/behat_theme_boost_behat_filepicker.php similarity index 98% rename from theme/noname/tests/behat/behat_theme_noname_behat_filepicker.php rename to theme/boost/tests/behat/behat_theme_boost_behat_filepicker.php index 9d5029b2e9d..3cb663bdb79 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_filepicker.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_filepicker.php @@ -23,7 +23,7 @@ // NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. -require_once(__DIR__ . '/behat_theme_noname_behat_files.php'); +require_once(__DIR__ . '/behat_theme_boost_behat_files.php'); use Behat\Mink\Exception\ExpectationException as ExpectationException, Behat\Gherkin\Node\TableNode as TableNode; @@ -34,7 +34,7 @@ use Behat\Mink\Exception\ExpectationException as ExpectationException, * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_filepicker extends behat_theme_noname_behat_files { +class behat_theme_boost_behat_filepicker extends behat_theme_boost_behat_files { /** * Creates a folder with specified name in the current folder and in the specified filemanager field. * diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_files.php b/theme/boost/tests/behat/behat_theme_boost_behat_files.php similarity index 97% rename from theme/noname/tests/behat/behat_theme_noname_behat_files.php rename to theme/boost/tests/behat/behat_theme_boost_behat_files.php index c818e0a2fb0..15c8c2a742d 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_files.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_files.php @@ -34,7 +34,7 @@ use Behat\Mink\Exception\ExpectationException as ExpectationException, * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_files extends behat_files { +class behat_theme_boost_behat_files extends behat_files { protected function get_filepicker_node($filepickerelement) { diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_grade.php b/theme/boost/tests/behat/behat_theme_boost_behat_grade.php similarity index 99% rename from theme/noname/tests/behat/behat_theme_noname_behat_grade.php rename to theme/boost/tests/behat/behat_theme_boost_behat_grade.php index 0c267602e2f..4e298a05da4 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_grade.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_grade.php @@ -27,7 +27,7 @@ require_once(__DIR__ . '/../../../../grade/tests/behat/behat_grade.php'); use Behat\Gherkin\Node\TableNode as TableNode; -class behat_theme_noname_behat_grade extends behat_grade { +class behat_theme_boost_behat_grade extends behat_grade { public function i_set_the_following_settings_for_grade_item($gradeitem, TableNode $data) { diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_mod_quiz.php b/theme/boost/tests/behat/behat_theme_boost_behat_mod_quiz.php similarity index 98% rename from theme/noname/tests/behat/behat_theme_noname_behat_mod_quiz.php rename to theme/boost/tests/behat/behat_theme_boost_behat_mod_quiz.php index 8d071e08f39..bf9e6b333fd 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_mod_quiz.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_mod_quiz.php @@ -35,7 +35,7 @@ use Behat\Mink\Exception\ExpectationException as ExpectationException; * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_mod_quiz extends behat_mod_quiz { +class behat_theme_boost_behat_mod_quiz extends behat_mod_quiz { public function i_add_question_to_the_quiz_with($questiontype, $quizname, TableNode $questiondata) { $quizname = $this->escape($quizname); diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_navigation.php b/theme/boost/tests/behat/behat_theme_boost_behat_navigation.php similarity index 98% rename from theme/noname/tests/behat/behat_theme_noname_behat_navigation.php rename to theme/boost/tests/behat/behat_theme_boost_behat_navigation.php index 3eaece60d78..8e8a0ea0fa7 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_navigation.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_navigation.php @@ -34,7 +34,7 @@ use Behat\Mink\Exception\DriverException as DriverException; * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_navigation extends behat_navigation { +class behat_theme_boost_behat_navigation extends behat_navigation { public function i_follow_in_the_user_menu($nodetext) { diff --git a/theme/noname/tests/behat/behat_theme_noname_behat_repository_upload.php b/theme/boost/tests/behat/behat_theme_boost_behat_repository_upload.php similarity index 98% rename from theme/noname/tests/behat/behat_theme_noname_behat_repository_upload.php rename to theme/boost/tests/behat/behat_theme_boost_behat_repository_upload.php index 5fecc1284ce..ad91ee9361a 100644 --- a/theme/noname/tests/behat/behat_theme_noname_behat_repository_upload.php +++ b/theme/boost/tests/behat/behat_theme_boost_behat_repository_upload.php @@ -34,7 +34,7 @@ use Behat\Mink\Exception\ExpectationException as ExpectationException, * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -class behat_theme_noname_behat_repository_upload extends behat_repository_upload { +class behat_theme_boost_behat_repository_upload extends behat_repository_upload { protected function get_filepicker_node($filepickerelement) { diff --git a/theme/noname/tests/behat/blacklist.json b/theme/boost/tests/behat/blacklist.json similarity index 100% rename from theme/noname/tests/behat/blacklist.json rename to theme/boost/tests/behat/blacklist.json diff --git a/theme/noname/thirdpartylibs.xml b/theme/boost/thirdpartylibs.xml similarity index 100% rename from theme/noname/thirdpartylibs.xml rename to theme/boost/thirdpartylibs.xml diff --git a/theme/noname/version.php b/theme/boost/version.php similarity index 86% rename from theme/noname/version.php rename to theme/boost/version.php index 92a2080fc63..fcf0a740363 100644 --- a/theme/noname/version.php +++ b/theme/boost/version.php @@ -15,9 +15,9 @@ // along with Moodle. If not, see . /** - * Noname. + * Boost. * - * @package theme_noname + * @package theme_boost * @copyright 2016 Frédéric Massart * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -26,6 +26,4 @@ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2016071101; $plugin->requires = 2016070700; -$plugin->component = 'theme_noname'; -$plugin->release = '1.0'; -$plugin->maturity = MATURITY_ALPHA; +$plugin->component = 'theme_boost'; diff --git a/theme/bootstrapbase/less/moodle/modules.less b/theme/bootstrapbase/less/moodle/modules.less index 58460f21151..1406a802a7c 100644 --- a/theme/bootstrapbase/less/moodle/modules.less +++ b/theme/bootstrapbase/less/moodle/modules.less @@ -68,7 +68,7 @@ body.path-mod-feedback #region-main .mform.feedback_form .feedback-item-pagebrea min-height: 1em; box-sizing: border-box; padding: 3px; - border: 1px solid #ddd + border: 1px solid #ddd; } .path-mod-feedback .mform.feedback_form .fitem.feedback_hasvalue .fstatic:empty { @@ -320,29 +320,88 @@ div#dock { .path-mod-lesson .contents, .path-mod-lesson .standardtable, .path-mod-lesson .mform .box.contents, -.path-mod-lesson .invisiblefieldset.fieldsetfix tr {text-align: left;} -.path-mod-lesson #layout-table {width: 100%;} +.path-mod-lesson .invisiblefieldset.fieldsetfix tr { + text-align: left; +} + +.path-mod-lesson #layout-table { + width: 100%; +} + .path-mod-lesson .edit_buttons form, -.path-mod-lesson .edit_buttons input {display: inline;} +.path-mod-lesson .edit_buttons input { + display: inline; +} + .path-mod-lesson .userinfotable .cell, -.path-mod-lesson .userinfotable .userpicture {vertical-align: middle;} -.path-mod-lesson .invisiblefieldset.fieldsetfix {display: block;} -.path-mod-lesson .slideshow {overflow: auto;padding: 15px;} -.path-mod-lesson .menu .menuwrapper {max-height: 400px;overflow: auto;vertical-align: top;margin-bottom: 10px;} -.path-mod-lesson .menu ul {list-style: none;padding: 5px 0px 0px 5px;margin: 0px;} -.path-mod-lesson .menu ul li {padding-bottom: 5px;} -.path-mod-lesson .skip {position: absolute;top: -1000em;width: 20em;} +.path-mod-lesson .userinfotable .userpicture { + vertical-align: middle; +} + +.path-mod-lesson .invisiblefieldset.fieldsetfix { + display: block; +} + +.path-mod-lesson .slideshow { + overflow: auto; + padding: 15px; +} + +.path-mod-lesson .menu .menuwrapper { + max-height: 400px; + overflow: auto; + vertical-align: top; + margin-bottom: 10px; +} + +.path-mod-lesson .menu ul { + list-style: none; + padding: 5px 0px 0px 5px; + margin: 0px; +} +.path-mod-lesson .menu ul li { + padding-bottom: 5px; +} +.path-mod-lesson .skip { + position: absolute; + top: -1000em; + width: 20em; +} .path-mod-lesson .branchbuttoncontainer.horizontal div, -.path-mod-lesson .branchbuttoncontainer.horizontal form {display: inline;} -.path-mod-lesson .firstpageoptions {width:30%;margin-left:35%;margin-top:1em;} +.path-mod-lesson .branchbuttoncontainer.horizontal form { + display: inline; +} +.path-mod-lesson .firstpageoptions { + width: 30%; + margin-left: 35%; + margin-top: 1em; +} .path-mod-lesson .progress_bar_table, .path-mod-lesson .progress_bar_completed, -.path-mod-lesson .progress_bar_todo {padding: 0;margin: 0;} -.path-mod-lesson .progress_bar_token {height: 20px;width: 5px;padding: 0;margin: 0;} -.path-mod-lesson .edit_pages_box .addlinks {margin:0;margin-bottom:1em;} -.path-mod-lesson .progress_bar_completed {background-color:green; text-align:right; vertical-align:middle; color:#FFF;} +.path-mod-lesson .progress_bar_todo { + padding: 0; + margin: 0; +} +.path-mod-lesson .progress_bar_token { + height: 20px; + width: 5px; + padding: 0; + margin: 0; +} +.path-mod-lesson .edit_pages_box .addlinks { + margin: 0; + margin-bottom: 1em; +} +.path-mod-lesson .progress_bar_completed { + background-color: green; + text-align: right; + vertical-align: middle; + color: #FFF; +} -.path-mod-lesson .resourcecontent {text-align: center;} +.path-mod-lesson .resourcecontent { + text-align: center; +} .path-mod-lesson .answeroption .fcheckbox > span { position: relative; @@ -376,8 +435,14 @@ div#dock { /** * Style for view.php **/ -#page-mod-lesson-view .password-form .submitbutton {display: inline;} -.path-mod-lesson .reviewessay {width:40%; border:1px solid #DDDDDD; background-color: #EEEEEE;} +#page-mod-lesson-view .password-form .submitbutton { + display: inline; +} +.path-mod-lesson .reviewessay { + width: 40%; + border: 1px solid #DDDDDD; + background-color: #EEEEEE; +} /* Countdown timer. */ #lesson-timer { diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index 1334be72582..b6d8c1f8931 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -13713,6 +13713,132 @@ div#dock { padding: 5px; text-align: center; } +/** General styles (scope: all of lesson) **/ +.path-mod-lesson .contents, +.path-mod-lesson .standardtable, +.path-mod-lesson .mform .box.contents, +.path-mod-lesson .invisiblefieldset.fieldsetfix tr { + text-align: left; +} +.path-mod-lesson #layout-table { + width: 100%; +} +.path-mod-lesson .edit_buttons form, +.path-mod-lesson .edit_buttons input { + display: inline; +} +.path-mod-lesson .userinfotable .cell, +.path-mod-lesson .userinfotable .userpicture { + vertical-align: middle; +} +.path-mod-lesson .invisiblefieldset.fieldsetfix { + display: block; +} +.path-mod-lesson .slideshow { + overflow: auto; + padding: 15px; +} +.path-mod-lesson .menu .menuwrapper { + max-height: 400px; + overflow: auto; + vertical-align: top; + margin-bottom: 10px; +} +.path-mod-lesson .menu ul { + list-style: none; + padding: 5px 0px 0px 5px; + margin: 0px; +} +.path-mod-lesson .menu ul li { + padding-bottom: 5px; +} +.path-mod-lesson .skip { + position: absolute; + top: -1000em; + width: 20em; +} +.path-mod-lesson .branchbuttoncontainer.horizontal div, +.path-mod-lesson .branchbuttoncontainer.horizontal form { + display: inline; +} +.path-mod-lesson .firstpageoptions { + width: 30%; + margin-left: 35%; + margin-top: 1em; +} +.path-mod-lesson .progress_bar_table, +.path-mod-lesson .progress_bar_completed, +.path-mod-lesson .progress_bar_todo { + padding: 0; + margin: 0; +} +.path-mod-lesson .progress_bar_token { + height: 20px; + width: 5px; + padding: 0; + margin: 0; +} +.path-mod-lesson .edit_pages_box .addlinks { + margin: 0; + margin-bottom: 1em; +} +.path-mod-lesson .progress_bar_completed { + background-color: green; + text-align: right; + vertical-align: middle; + color: #FFF; +} +.path-mod-lesson .resourcecontent { + text-align: center; +} +.path-mod-lesson .answeroption .fcheckbox > span { + position: relative; + float: left; +} +.path-mod-lesson .answeroptiongroup .fgroup > span { + position: relative; + width: 100%; +} +.path-mod-lesson .answeroption .fcheckbox input, +.path-mod-lesson .answeroptiongroup input { + position: absolute; + top: 2px; + margin-top: 0px; + left: 0; +} +.path-mod-lesson .answeroption .fcheckbox label, +.path-mod-lesson .mform .fitem.answeroptiongroup fieldset.fgroup label { + padding-left: 20px; + float: left; +} +.path-mod-lesson .answeroption .felement label p:last-child, +.path-mod-lesson .answeroptiongroup .felement label p:last-child { + margin-bottom: 0px; +} +/** + * Style for view.php + **/ +#page-mod-lesson-view .password-form .submitbutton { + display: inline; +} +.path-mod-lesson .reviewessay { + width: 40%; + border: 1px solid #DDDDDD; + background-color: #EEEEEE; +} +/* Countdown timer. */ +#lesson-timer { + text-align: center; +} +.path-mod-lesson .essayungraded { + background-color: #efcfcf; +} +.path-mod-lesson .essaygraded { + background-color: #efefcf; +} +.path-mod-lesson .essaysent { + background-color: #cfefcf; +} .path-mod-wiki .wiki_headingtitle, .path-mod-wiki .midpad, .path-mod-wiki .wiki_headingtime { diff --git a/theme/noname/amd/build/loader.min.js b/theme/noname/amd/build/loader.min.js deleted file mode 100644 index fe8b18fb862..00000000000 --- a/theme/noname/amd/build/loader.min.js +++ /dev/null @@ -1 +0,0 @@ -define(["jquery","./tether"],function(a,b){return window.jQuery=a,window.Tether=b,require(["theme_noname/util","theme_noname/alert","theme_noname/button","theme_noname/carousel","theme_noname/collapse","theme_noname/dropdown","theme_noname/modal","theme_noname/scrollspy","theme_noname/tab","theme_noname/tooltip","theme_noname/popover"],function(b){a('[data-toggle="popover"]').popover()}),{}}); \ No newline at end of file diff --git a/theme/upgrade.txt b/theme/upgrade.txt index 35fd461ba53..a8c3d456720 100644 --- a/theme/upgrade.txt +++ b/theme/upgrade.txt @@ -14,7 +14,7 @@ Removed themes: If you wish to keep your theme and its settings, download it from moodle.org and put it back in the theme/ directory BEFORE UPGRADING. * CLI svgtool.php has moved from theme/base/cli to admin/cli and paths should be relative to the new location. -* Bootstrap 4 was added as part of a the new theme 'noname'. +* Bootstrap 4 was added as part of a the new theme 'boost'. * Themes can now automatically compile SCSS on the fly. This works the same way as it does compiling LESS on the fly, effecitvely adding $THEME->scssfile to your config. * Using .dir-rtl for RTL styling is deprecated and should not be used any more. From now @@ -28,7 +28,7 @@ Removed themes: snippets or configuration samples. * A new callback can be defined to post process the CSS using an object representation of the CSS tree ($THEME->csstreepostprocess). This gives a lot more flexibility than a - simplel find and replace. Refer to 'noname' for an example, and to PHP-CSS-Parser + simplel find and replace. Refer to 'boost' for an example, and to PHP-CSS-Parser (https://github.com/sabberworm/PHP-CSS-Parser) for the API. * You may no longer override the following core_course_renderer methods. See course/upgrade.txt for more information: