MDL-39341 Themes Rename bootstrap to bootstrapbase

This commit is contained in:
Damyon Wiese
2013-04-26 12:49:26 +08:00
parent 44ed2fe740
commit 4f1008202d
121 changed files with 1460 additions and 25 deletions

View File

@@ -809,7 +809,7 @@ class plugin_manager {
), ),
'theme' => array( 'theme' => array(
'afterburner', 'anomaly', 'arialist', 'base', 'binarius', 'bootstrap', 'afterburner', 'anomaly', 'arialist', 'base', 'binarius', 'bootstrapbase',
'boxxie', 'brick', 'canvas', 'clean', 'formal_white', 'formfactor', 'boxxie', 'brick', 'canvas', 'clean', 'formal_white', 'formfactor',
'fusion', 'leatherbound', 'magazine', 'mymobile', 'nimble', 'fusion', 'leatherbound', 'magazine', 'mymobile', 'nimble',
'nonzero', 'overlay', 'serenity', 'sky_high', 'splash', 'nonzero', 'overlay', 'serenity', 'sky_high', 'splash',

View File

@@ -1,5 +0,0 @@
// 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();
});

View File

@@ -31,7 +31,7 @@
$THEME->doctype = 'html5'; $THEME->doctype = 'html5';
$THEME->yuicssmodules = array(); $THEME->yuicssmodules = array();
$THEME->name = 'bootstrap'; $THEME->name = 'bootstrapbase';
$THEME->parents = array(''); $THEME->parents = array('');
$THEME->sheets = array('generated'); $THEME->sheets = array('generated');
$THEME->supportscssoptimisation = false; $THEME->supportscssoptimisation = false;

View File

@@ -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();
});

View File

@@ -21,12 +21,12 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @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-post'] = 'Right';
$string['region-side-pre'] = 'Left'; $string['region-side-pre'] = 'Left';
$string['choosereadme'] = ' $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" /> <img class=img-polaroid src="bootstrap/pix/screenshot.jpg" />
<h3>Theme Credits</h3> <h3>Theme Credits</h3>
<p> <p>

View File

@@ -1,6 +1,6 @@
If you want to make changes to the .css generated from these .less files then you 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, 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 recess --compile --compress moodle.less > ../style/generated.css

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

View File

Before

Width:  |  Height:  |  Size: 879 B

After

Width:  |  Height:  |  Size: 879 B

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 1002 B

After

Width:  |  Height:  |  Size: 1002 B

View File

Before

Width:  |  Height:  |  Size: 880 B

After

Width:  |  Height:  |  Size: 880 B

Some files were not shown because too many files have changed in this diff Show More