From 582ff594aaee3e47f91d0d516b93a0b477fcf7bb Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Mon, 26 Aug 2013 03:22:18 +0400 Subject: [PATCH] Added note about theme asset bundle to bootstrap widgets guide --- docs/guide/bootstrap-widgets.md | 44 +++++++++++++++-------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/docs/guide/bootstrap-widgets.md b/docs/guide/bootstrap-widgets.md index acf580a..0739847 100644 --- a/docs/guide/bootstrap-widgets.md +++ b/docs/guide/bootstrap-widgets.md @@ -21,40 +21,28 @@ convenient way to include bootstrap assets in your pages with a single line adde public $depends = array( 'yii\web\YiiAsset', 'yii\bootstrap\BootstrapAsset', // this line + // 'yii\bootstrap\BootstrapThemeAsset' // uncomment to apply bootstrap 2 style to bootstrap 3 ); ``` -Using bootstrap through Yii asset manager allows you to combine and minimize its resources with your own ones when +Using bootstrap through Yii asset manager allows you to minimize its resources and combine with your own resources when needed. Yii widgets ----------- Most complex bootstrap components are wrapped into Yii widgets to allow more robust syntax and integrate with -framework features. All widgets belong to `\yii\bootstrap` namespace. Let's review these. - -### Alert - -### Button - -### ButtonDropdown - -### ButtonGroup - -### Carousel - -### Collapse - -### Dropdown - -### Modal - -### Nav - -### NavBar - -### Progress - -### Tabs - -### Typeahead +framework features. All widgets belong to `\yii\bootstrap` namespace: + +- Alert +- Button +- ButtonDropdown +- ButtonGroup +- Carousel +- Collapse +- Dropdown +- Modal +- Nav +- NavBar +- Progress +- Tabs