Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
Yii Bootstrap 3
Project
Overview
Details
Activity
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Common
Yii Bootstrap 3
Commits
ec81137c
Commit
ec81137c
authored
Mar 08, 2012
by
niskac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a few bugs in the demo
parent
5b96a619
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
index.php
demo/protected/views/site/index.php
+21
-21
No files found.
demo/protected/views/site/index.php
View file @
ec81137c
...
...
@@ -346,7 +346,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
[php]
<?php
\$
this->widget('bootstrap.widgets.BootTabbed', array(
'type'=>'tabs',
'placement'=>'below', // '
top ', 'right', 'bottom
' or 'left'
'placement'=>'below', // '
', 'right', 'below
' or 'left'
'tabs'=>array(
array('label'=>'Section 1', 'content'=>'<p>I\'m in Section 1.</p>'),
array('label'=>'Section 2', 'content'=>'<p>Howdy, I\'m in Section 2.</p>'),
...
...
@@ -937,11 +937,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php
$this
->
widget
(
'bootstrap.widgets.BootButtonGroup'
,
array
(
'buttons'
=>
array
(
array
(
'label'
=>
'Action'
,
'items'
=>
array
(
array
(
'label'
=>
'Action'
),
array
(
'label'
=>
'Another action'
),
array
(
'label'
=>
'Something else'
),
array
(
'label'
=>
'Action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Another action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Something else'
,
'url'
=>
'#'
),
'---'
,
array
(
'label'
=>
'Separate link'
),
array
(
'label'
=>
'Separate link'
,
'url'
=>
'#'
),
)),
),
));
?>
...
...
@@ -949,11 +949,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'type'
=>
'primary'
,
'buttons'
=>
array
(
array
(
'label'
=>
'Action'
,
'items'
=>
array
(
array
(
'label'
=>
'Action'
),
array
(
'label'
=>
'Another action'
),
array
(
'label'
=>
'Something else'
),
array
(
'label'
=>
'Action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Another action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Something else'
,
'url'
=>
'#'
),
'---'
,
array
(
'label'
=>
'Separate link'
),
array
(
'label'
=>
'Separate link'
,
'url'
=>
'#'
),
)),
),
));
?>
...
...
@@ -961,11 +961,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'type'
=>
'danger'
,
'buttons'
=>
array
(
array
(
'label'
=>
'Danger'
,
'items'
=>
array
(
array
(
'label'
=>
'Action'
),
array
(
'label'
=>
'Another action'
),
array
(
'label'
=>
'Something else'
),
array
(
'label'
=>
'Action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Another action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Something else'
,
'url'
=>
'#'
),
'---'
,
array
(
'label'
=>
'Separate link'
),
array
(
'label'
=>
'Separate link'
,
'url'
=>
'#'
),
)),
),
));
?>
...
...
@@ -975,11 +975,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'type'
=>
'success'
,
'buttons'
=>
array
(
array
(
'label'
=>
'Success'
,
'items'
=>
array
(
array
(
'label'
=>
'Action'
),
array
(
'label'
=>
'Another action'
),
array
(
'label'
=>
'Something else'
),
array
(
'label'
=>
'Action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Another action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Something else'
,
'url'
=>
'#'
),
'---'
,
array
(
'label'
=>
'Separate link'
),
array
(
'label'
=>
'Separate link'
,
'url'
=>
'#'
),
)),
),
));
?>
...
...
@@ -987,11 +987,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'type'
=>
'info'
,
'buttons'
=>
array
(
array
(
'label'
=>
'Info'
,
'items'
=>
array
(
array
(
'label'
=>
'Action'
),
array
(
'label'
=>
'Another action'
),
array
(
'label'
=>
'Something else'
),
array
(
'label'
=>
'Action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Another action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Something else'
,
'url'
=>
'#'
),
'---'
,
array
(
'label'
=>
'Separate link'
),
array
(
'label'
=>
'Separate link'
,
'url'
=>
'#'
),
)),
),
));
?>
...
...
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