MDL-39341 Themes Rename bootstrap to bootstrapbase
@@ -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',
|
||||||
|
@@ -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();
|
|
||||||
});
|
|
@@ -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;
|
5
theme/bootstrapbase/javascript/moodlebootstrap.js
Normal 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();
|
||||||
|
});
|
@@ -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>
|
@@ -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
|
||||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 592 B After Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 879 B After Width: | Height: | Size: 879 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1002 B After Width: | Height: | Size: 1002 B |
Before Width: | Height: | Size: 880 B After Width: | Height: | Size: 880 B |