__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
Description of Twitter bootstrap import into Moodle
Twitter bootstrap
-----------------
Sass:
This theme uses Bootstrap frontend toolkit.
The Bootstrap repository is available on:
https://github.com/twbs/bootstrap
To update to the latest release of twitter bootstrap:
* download bootstrap to your home folder
* remove folder theme/boost/scss/bootstrap
* copy the scss files from ~/bootstrap/scss to theme/boost/scss/bootstrap
* comment out left: 0; from .popover {} in scss/bootstrap/_popover.scss. In RTL mode this prevents popovers from showing and it is not required in LTR mode.
* comment out this line in theme/boost/scss/_print.scss
@page {
size: $print-page-size;
}
It breaks when compiled with phpscss.
* update ./thirdpartylibs.xml
* follow the instructions in admin/tool/component_library/readme_moodle.txt to update the Bootstrap documentation there.
Javascript:
* remove folder theme/boost/amd/src/bootstrap
* copy the js files from ~/bootstrap/js/src to theme/boost/amd/src/bootstrap (including the subfolder)
* copy index.js from ~/bootstrap/js to theme/boost/amd/src
* edit theme/boost/amd/src/index.js and update import path (src -> bootstrap)
* Moodle core includes the popper.js library, make sure each of the new Bootstrap js files
includes the 'core/popper' library instead of 'popper.js'. For current version these files were: tooltip.js and dropdown.js
* update ./thirdpartylibs.xml to include all new Bootstrap js files
* run "grunt ignorefiles" to prevent linting errors appearing from the new Bootstrap js files.
* in folder theme/boost run "grunt amd" to compile the bootstrap JS
* in folder theme/boost run "grunt css" to compile scss
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| amd | Folder | 0777 |
|
|
| classes | Folder | 0777 |
|
|
| cli | Folder | 0777 |
|
|
| lang | Folder | 0777 |
|
|
| layout | Folder | 0777 |
|
|
| pix | Folder | 0777 |
|
|
| scss | Folder | 0777 |
|
|
| style | Folder | 0777 |
|
|
| templates | Folder | 0777 |
|
|
| tests | Folder | 0777 |
|
|
| UPGRADING.md | File | 1.36 KB | 0777 |
|
| config.php | File | 6.16 KB | 0777 |
|
| lib.php | File | 5.86 KB | 0777 |
|
| readme_moodle.txt | File | 1.65 KB | 0777 |
|
| settings.php | File | 4.77 KB | 0777 |
|
| thirdpartylibs.xml | File | 8.28 KB | 0777 |
|
| upgrade.txt | File | 5.68 KB | 0777 |
|
| version.php | File | 990 B | 0777 |
|