Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
yii2bootstrap
Commits
df7e494b
Commit
df7e494b
authored
Jun 03, 2015
by
Nobuo Kihara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs/guide small fixes [ci skip]
parent
25b717a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
asset-bundles.md
docs/guide/asset-bundles.md
+4
-4
helper-html.md
docs/guide/helper-html.md
+4
-4
No files found.
docs/guide/asset-bundles.md
View file @
df7e494b
...
...
@@ -2,12 +2,12 @@ Asset Bundles
=============
Bootstrap is a complex front-end solution, which includes CSS, JavaScript, fonts and so on.
In order to allow you most flexible control over Bootstrap components, this extension provides several asset bundles.
In order to allow you
the
most flexible control over Bootstrap components, this extension provides several asset bundles.
They are:
-
[
[yii\bootstrap\BootstrapAsset|BootstrapAsset
]
] - contains only main CSS files.
-
[
[yii\bootstrap\BootstrapPluginAsset|BootstrapPluginAsset
]
] - depends on
[
[yii\bootstrap\BootstrapAsset
]
], contains javascript files.
-
[
[yii\bootstrap\BootstrapThemeAsset|BootstrapThemeAsset
]
] - depends on
[
[yii\bootstrap\BootstrapAsset
]
], contains Bootstrap default theme CSS.
-
[
[yii\bootstrap\BootstrapAsset|BootstrapAsset
]
] - contains only
the
main CSS files.
-
[
[yii\bootstrap\BootstrapPluginAsset|BootstrapPluginAsset
]
] - depends on
[
[yii\bootstrap\BootstrapAsset
]
], contains
the
javascript files.
-
[
[yii\bootstrap\BootstrapThemeAsset|BootstrapThemeAsset
]
] - depends on
[
[yii\bootstrap\BootstrapAsset
]
], contains
the
Bootstrap default theme CSS.
Particular application needs may require different bundle (or bundle combination) usage.
If you need only CSS styles,
[
[yii\bootstrap\BootstrapAsset
]
] will be enough for you. However, if
...
...
docs/guide/helper-html.md
View file @
df7e494b
...
...
@@ -2,7 +2,7 @@ Html helper
===========
Bootstrap introduces many consistent HTML constructions and skeletons, which allow creating different visual effects.
Only the most complex of them are covered by widgets provided with this extension. The rest should be composed manually
Only the most complex of them are covered by
the
widgets provided with this extension. The rest should be composed manually
using direct HTML composition.
However, several special Bootstrap markup cases are covered by
[
[\yii\bootstrap\Html
]
] helper.
[
[\yii\bootstrap\Html
]
] is an enhanced version of the regular
[
[\yii\helpers\Html
]
] dedicated to the Bootstrap needs.
...
...
@@ -11,7 +11,7 @@ It provides several useful methods:
-
`icon()`
- allows rendering of Glyphicon icons
-
`staticControl()`
- allows rendering of form "static controls"
[
[\yii\bootstrap\Html
]
] inherits all functionality available at
[
[\yii\helpers\Html
]
] and can be used as substitute,
[
[\yii\bootstrap\Html
]
] inherits all functionality available at
[
[\yii\helpers\Html
]
] and can be used as
a
substitute,
so you don't need them both inside your view files.
For example:
...
...
@@ -26,5 +26,5 @@ use yii\bootstrap\Html;
]);
?>
```
> Attention: do not confuse [[\yii\bootstrap\Html]] and [[\yii\helpers\Html]], be careful in which class
you are using inside your views.
\ No newline at end of file
> Attention: do not confuse [[\yii\bootstrap\Html]] and [[\yii\helpers\Html]], be careful of which class
you are using inside your views.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment