Browse Source

Added bootstrap bundles.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
8e96b12e18
  1. 3
      apps/bootstrap/composer.json
  2. 3
      apps/bootstrap/config/assets.php
  3. 9
      apps/bootstrap/www/css/bootstrap-responsive.min.css
  4. 9
      apps/bootstrap/www/css/bootstrap.min.css
  5. 6
      apps/bootstrap/www/js/bootstrap.min.js
  6. 17
      yii/assets.php
  7. 0
      yii/assets/bootstrap/css/bootstrap-responsive.css
  8. 0
      yii/assets/bootstrap/css/bootstrap.css
  9. 0
      yii/assets/bootstrap/img/glyphicons-halflings-white.png
  10. 0
      yii/assets/bootstrap/img/glyphicons-halflings.png
  11. 0
      yii/assets/bootstrap/js/bootstrap.js

3
apps/bootstrap/composer.json

@ -15,9 +15,6 @@
"config": { "config": {
"vendor-dir": "vendor" "vendor-dir": "vendor"
}, },
"bin": [
"yii"
],
"minimum-stability": "dev", "minimum-stability": "dev",
"repositories": [ "repositories": [
{ {

3
apps/bootstrap/config/assets.php

@ -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(
), ),
'depends' => array( 'depends' => array(
'yii', 'yii',
'twitter/bootstrap-responsive',
), ),
), ),
); );

9
apps/bootstrap/www/css/bootstrap-responsive.min.css vendored

File diff suppressed because one or more lines are too long

9
apps/bootstrap/www/css/bootstrap.min.css vendored

File diff suppressed because one or more lines are too long

6
apps/bootstrap/www/js/bootstrap.min.js vendored

File diff suppressed because one or more lines are too long

17
yii/assets.php

@ -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(

0
apps/bootstrap/www/css/bootstrap-responsive.css → yii/assets/bootstrap/css/bootstrap-responsive.css vendored

0
apps/bootstrap/www/css/bootstrap.css → yii/assets/bootstrap/css/bootstrap.css vendored

0
apps/bootstrap/www/img/glyphicons-halflings-white.png → yii/assets/bootstrap/img/glyphicons-halflings-white.png

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

0
apps/bootstrap/www/img/glyphicons-halflings.png → yii/assets/bootstrap/img/glyphicons-halflings.png

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

0
apps/bootstrap/www/js/bootstrap.js → yii/assets/bootstrap/js/bootstrap.js vendored

Loading…
Cancel
Save