),
'theme' => array(
- 'afterburner', 'anomaly', 'arialist', 'base', 'binarius', 'bootstrap',
+ 'afterburner', 'anomaly', 'arialist', 'base', 'binarius', 'bootstrapbase',
'boxxie', 'brick', 'canvas', 'clean', 'formal_white', 'formfactor',
'fusion', 'leatherbound', 'magazine', 'mymobile', 'nimble',
'nonzero', 'overlay', 'serenity', 'sky_high', 'splash',
+++ /dev/null
-// We need to actually use the code manually here as this is tricky do in
-// themes at present.
-YUI().use('moodle-theme_bootstrap-bootstrap', function(Y) {
- Y.Moodle.theme_bootstrap.bootstrap.init();
-});
$THEME->doctype = 'html5';
$THEME->yuicssmodules = array();
-$THEME->name = 'bootstrap';
+$THEME->name = 'bootstrapbase';
$THEME->parents = array('');
$THEME->sheets = array('generated');
$THEME->supportscssoptimisation = false;
--- /dev/null
+// We need to actually use the code manually here as this is tricky do in
+// themes at present.
+YUI().use('moodle-theme_bootstrapbase-bootstrap', function(Y) {
+ Y.Moodle.theme_bootstrapbase.bootstrap.init();
+});
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-$string['pluginname'] = 'Bootstrap';
+$string['pluginname'] = 'Bootstrap Base';
$string['region-side-post'] = 'Right';
$string['region-side-pre'] = 'Left';
$string['choosereadme'] = '
-<div class="clearfix"><div class="theme_screenshot"><h2>Bootstrap</h2>
+<div class="clearfix"><div class="theme_screenshot"><h2>Bootstrap Base</h2>
<img class=img-polaroid src="bootstrap/pix/screenshot.jpg" />
<h3>Theme Credits</h3>
<p>
If you want to make changes to the .css generated from these .less files then you
need to install recess (https://github.com/twitter/recess) to compile the .less files,
-then run these commands in the bootstrap/less/ folder:
+then run these commands in the bootstrapbase/less/ folder:
recess --compile --compress moodle.less > ../style/generated.css
** If you want to make changes to the .css generated from these .less files then you
need to install recess (https://github.com/twitter/recess) to compile the .less files,
-then run these commands in the bootstrap/less/ folder:
+then run these commands in the bootstrapbase/less/ folder:
html5shiv.js
functionality consider switching to the original jQuery version of these file
If you do want to update use these file locations:
-theme/bootstrap/yui/src/bootstrap/js/bootstrap-collapse.js
-theme/bootstrap/yui/src/bootstrap/js/bootstrap-dropdown.js
-theme/bootstrap/yui/src/bootstrap/js/bootstrap-engine.js
+theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-collapse.js
+theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-dropdown.js
+theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-engine.js
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
- * @package theme_bootstrap
+ * @package theme_bootstrapbase
* @copyright 2012
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-class theme_bootstrap_core_renderer extends core_renderer {
+class theme_bootstrapbase_core_renderer extends core_renderer {
/*
* This renders a notification message.
* Theme version info
*
* @package theme
- * @subpackage bootstrap
+ * @subpackage bootstrapbase
* @copyright 2013 Bas Brands, www.basbrands.nl
* @authors Bas Brands, David Scotson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
$plugin->version = 2013032800;
$plugin->requires = 2012112900;
-$plugin->component = 'theme_bootstrap';
+$plugin->component = 'theme_bootstrapbase';
{
- "name": "moodle-theme_bootstrap-bootstrap",
+ "name": "moodle-theme_bootstrapbase-bootstrap",
"builds": {
- "moodle-theme_bootstrap-bootstrap": {
+ "moodle-theme_bootstrapbase-bootstrap": {
"prependfiles": [
"bootstrapengine.js",
"bootstrapcollapse.js",
The Moodle Bootstrap theme's bootstrap JavaScript
@namespace Moodle
-@module theme_bootstrap-bootstrap
+@module theme_bootstrapbase-bootstrap
**/
/**
The Moodle Bootstrap theme's bootstrap JavaScript
-@class Moodle.theme_bootstrap.bootstrap
+@class Moodle.theme_bootstrapbase.bootstrap
@uses node
@uses selector-css3
@constructor
TOGGLECOLLAPSE: '*[data-disabledtoggle="collapse"]',
NAV_COLLAPSE: '.nav-collapse'
},
- NS = Y.namespace('Moodle.theme_bootstrap.bootstrap');
+ NS = Y.namespace('Moodle.theme_bootstrapbase.bootstrap');
/**
* Initialise the Moodle Bootstrap theme JavaScript
{
- "moodle-theme_bootstrap-bootstrap": {
+ "moodle-theme_bootstrapbase-bootstrap": {
"requires": [
"node",
"selector-css3"
//////////////////////////////////
//
$THEME->doctype = 'html5';
-$THEME->parents = array('bootstrap');
+$THEME->parents = array('bootstrapbase');
$THEME->sheets = array('custom');
$THEME->supportscssoptimisation = false;
$THEME->yuicssmodules = array();