[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/theme/bootstrapbase/ -> readme_moodle.txt (source)

   1  Discription of Twitter bootstrap import into Moodle
   2  
   3  Twitter bootstrap
   4  -----------------
   5  The bootstrap theme uses the original unmodified version 2.3.0 Twitter bootstrap less files. These are
   6  Object Oriented CSS files. The bootstrap repository is available on:
   7  
   8  https://github.com/twitter/bootstrap.git
   9  
  10  To update to the latest release of twitter bootstrap:
  11  * remove all files from less/bootstrap,
  12  * download the new less files and store them in less/bootstrap
  13  * Apply change in MDL-42195 (We don't want responsive images by default).
  14  * regenerate files using recess: recess --compile --compress moodle.less > ../style/moodle.css **
  15  * regenerate files using recess: recess --compile --compress editor.less > ../style/editor.css **
  16  * update ./thirdpartylibs.xml
  17  
  18  ** If you want to make changes to the .css generated from these .less files then you
  19  need to install recess (https://github.com/twitter/recess) to compile the .less files,
  20  then run these commands in the bootstrapbase/less/ folder:
  21  
  22  
  23  html5shiv.js
  24  ------------
  25  This theme uses the original unmodified html5shiv.js JavaScript library to enable HTML5 tags in IE7 and IE8.
  26  This library is available on:
  27  
  28  https://github.com/aFarkas/html5shiv/blob/master/src/html5shiv.js
  29  
  30  To update to the latest release of html5shiv:
  31  * download and replace: javascript/html5shiv.js
  32  * update ./thirdpartylibs.xml
  33  
  34  bootstrapcollapse.js, bootstrapdropdown.js, bootstrapengine.js
  35  --------------------------------------------------------------
  36  This theme uses YUI ports of the Twitter bootstrap jQuery based libs.
  37  
  38  Upgrade procedure:
  39  * git clone https://github.com/jshirley/yui-gallery.git
  40  * from that repository copy:
  41  ** build/gallery-bootstrap-collapse/gallery-bootstrap-collapse-debug.js to js/gallery-bootstrapcollapse.js
  42  ** build/gallery-bootstrap-dropdown/gallery-bootstrap-dropdown-debug.js to js/gallery-bootstrapdropdown.js
  43  ** build/gallery-bootstrap-engine/gallery-bootstrap-engine-debug.js to js/gallery-bootstrapengine.js
  44  * apply patches from MDL-43152 to address linting issues
  45  * run shifter on this directory as required
  46  * update ../../../thirdpartylibs.xml
  47  
  48  The YUI port of the Twitter bootstrap libs are now longer maintained. If you need all of the Bootstrap JavaScript
  49  functionality consider switching to the original jQuery version of these file


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1