| Server IP : 165.22.154.248 / Your IP : 216.73.217.0 [ Web Server : Apache/2.4.29 (Ubuntu) System : Linux droplet-integra 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 7.2.24-0ubuntu0.18.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/avanza-lms.old.bak9874115/theme/boost/ |
Upload File : |
Description of Twitter bootstrap import into Moodle Twitter bootstrap ----------------- Sass: This theme uses the version 4.0.0 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 * re-apply /* rtl:begin:ignore */ on the top of _popover.scss before .popover rule and /* rtl:end:ignore */ before .popover-arrow::after rule. See MDL-56763 commit (1a4faf9b). * comment out all uses of the @supports syntax in SCSS (see https://github.com/sabberworm/PHP-CSS-Parser/issues/127). In Bootstrap 4.0 The @supports rules are used for carousal transitions (nice sliding) and the .sticky-top helper class. The carousel bootstrap component will still be functional. * update ./thirdpartylibs.xml Javascript: This theme uses the transpiled javascript from bootstrap4 as amd modules. To update the javascript files: Checkout the latest branch of bootstrap to a folder, Run the follwing inside the cloned Bootstrap repository: ``` $ npm install @babel/cli@7.0.0-beta.37 @babel/preset-env@7.0.0-beta.37 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. Run grunt to re-compile the JS files. (thanks to Joby Harding)