Skip to content

Commit

Permalink
MDL-39341 Themes Rename bootstrap to bootstrapbase
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Apr 26, 2013
1 parent 44ed2fe commit 4f10082
Show file tree
Hide file tree
Showing 121 changed files with 1,460 additions and 25 deletions.
2 changes: 1 addition & 1 deletion lib/pluginlib.php
Expand Up @@ -809,7 +809,7 @@ public static function standard_plugins_list($type) {
),

'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',
Expand Down
5 changes: 0 additions & 5 deletions theme/bootstrap/javascript/moodlebootstrap.js

This file was deleted.

File renamed without changes.
Expand Up @@ -31,7 +31,7 @@

$THEME->doctype = 'html5';
$THEME->yuicssmodules = array();
$THEME->name = 'bootstrap';
$THEME->name = 'bootstrapbase';
$THEME->parents = array('');
$THEME->sheets = array('generated');
$THEME->supportscssoptimisation = false;
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions theme/bootstrapbase/javascript/moodlebootstrap.js
@@ -0,0 +1,5 @@
// 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();
});
Expand Up @@ -21,12 +21,12 @@
* @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>
Expand Down
File renamed without changes.
@@ -1,6 +1,6 @@
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

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Expand Up @@ -15,7 +15,7 @@ To update to the latest release of twitter bootstrap:

** 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
Expand Down Expand Up @@ -44,6 +44,6 @@ The YUI port of the Twitter bootstrap libs are now longer maintained. If you nee
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
File renamed without changes.
Expand Up @@ -17,12 +17,12 @@
/**
* 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.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -18,7 +18,7 @@
* 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
Expand All @@ -28,4 +28,4 @@

$plugin->version = 2013032800;
$plugin->requires = 2012112900;
$plugin->component = 'theme_bootstrap';
$plugin->component = 'theme_bootstrapbase';

0 comments on commit 4f10082

Please sign in to comment.