Commit 8e96b12e by Qiang Xue

Added bootstrap bundles.

parent 7dc624d1
...@@ -15,9 +15,6 @@ ...@@ -15,9 +15,6 @@
"config": { "config": {
"vendor-dir": "vendor" "vendor-dir": "vendor"
}, },
"bin": [
"yii"
],
"minimum-stability": "dev", "minimum-stability": "dev",
"repositories": [ "repositories": [
{ {
......
...@@ -5,8 +5,6 @@ return array( ...@@ -5,8 +5,6 @@ return array(
'basePath' => '@wwwroot', 'basePath' => '@wwwroot',
'baseUrl' => '@www', 'baseUrl' => '@www',
'css' => array( 'css' => array(
'css/bootstrap.min.css',
'css/bootstrap-responsive.min.css',
'css/site.css', 'css/site.css',
), ),
'js' => array( 'js' => array(
...@@ -14,6 +12,7 @@ return array( ...@@ -14,6 +12,7 @@ return array(
), ),
'depends' => array( 'depends' => array(
'yii', 'yii',
'twitter/bootstrap-responsive',
), ),
), ),
); );
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -42,6 +42,23 @@ return array( ...@@ -42,6 +42,23 @@ return array(
), ),
'depends' => array('yii'), 'depends' => array('yii'),
), ),
'twitter/bootstrap' => array(
'sourcePath' => __DIR__ . '/assets',
'css' => array(
'bootstrap/css/bootstrap.css',
),
'js' => array(
'bootstrap/js/bootstrap.js',
),
'depends' => array('jquery'),
),
'twitter/bootstrap-responsive' => array(
'sourcePath' => __DIR__ . '/assets',
'css' => array(
'bootstrap/css/bootstrap-responsive.css',
),
'depends' => array('bootstrap'),
),
'punycode' => array( 'punycode' => array(
'sourcePath' => __DIR__ . '/vendor/bestiejs/punycode.js', 'sourcePath' => __DIR__ . '/vendor/bestiejs/punycode.js',
'js' => array( 'js' => array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment