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
9236cc9f
Commit
9236cc9f
authored
Mar 07, 2012
by
niskac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added messages to indicate upcoming features in the demo
parent
51844d81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
index.php
demo/protected/views/site/index.php
+17
-7
No files found.
demo/protected/views/site/index.php
View file @
9236cc9f
...
...
@@ -278,7 +278,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php
echo
$parser
->
safeTransform
(
"~~~
[php]
<?php
\$
this->widget('bootstrap.widgets.BootTabb
able
', array(
<?php
\$
this->widget('bootstrap.widgets.BootTabb
ed
', array(
'type'=>'pills', // 'tabs' or 'pills'
'tabs'=>array(
array('label'=>'Home', 'content'=>'Raw denim you probably haven\'t heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.'),
...
...
@@ -291,6 +291,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
)); ?>
~~~"
);
?>
<div
class=
"alert alert-block alert-warning"
>
Tabbable placement support is part of version 0.9.10 and therefore not included in the current release.
If you're eager to try it out download the "bootstrap-2.0.2" branch from Bitbucket.
</div>
<div
class=
"row"
>
<div
class=
"span6"
>
...
...
@@ -336,7 +341,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php
echo
$parser
->
safeTransform
(
"~~~
[php]
<?php
\$
this->widget('bootstrap.widgets.BootTabb
able
', array(
<?php
\$
this->widget('bootstrap.widgets.BootTabb
ed
', array(
'type'=>'tabs',
'placement'=>'below', // 'top ', 'right', 'bottom' or 'left'
'tabs'=>array(
...
...
@@ -386,7 +391,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<h2>
Grid views
</h2>
<h3>
Default
</h3>
<h3>
Default
tables
</h3>
<?php
$this
->
widget
(
'bootstrap.widgets.BootGridView'
,
array
(
'dataProvider'
=>
$gridDataProvider
,
...
...
@@ -395,7 +400,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'columns'
=>
$gridColumns
,
));
?>
<h3>
Striped
</h3>
<h3>
Striped
tables
</h3>
<?php
$this
->
widget
(
'bootstrap.widgets.BootGridView'
,
array
(
'dataProvider'
=>
$gridDataProvider
,
...
...
@@ -404,7 +409,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'columns'
=>
$gridColumns
,
));
?>
<h3>
Bordered
</h3>
<h3>
Bordered
tables
</h3>
<?php
$this
->
widget
(
'bootstrap.widgets.BootGridView'
,
array
(
'dataProvider'
=>
$gridDataProvider
,
...
...
@@ -413,7 +418,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'columns'
=>
$gridColumns
,
));
?>
<h3>
Condensed
</h3>
<h3>
Condensed
tables
</h3>
<?php
$this
->
widget
(
'bootstrap.widgets.BootGridView'
,
array
(
'dataProvider'
=>
$gridDataProvider
,
...
...
@@ -422,7 +427,7 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'columns'
=>
$gridColumns
,
));
?>
<h3>
Striped, bordered and condensed
</h3>
<h3>
Striped, bordered and condensed
tables
</h3>
<?php
$this
->
widget
(
'bootstrap.widgets.BootGridView'
,
array
(
'dataProvider'
=>
$gridDataProvider
,
...
...
@@ -834,6 +839,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<h2>
Buttons
</h2>
<div
class=
"alert alert-block alert-warning"
>
The button widgets are a part of version 0.9.10 and therefore not included in the current release.
If you're eager to try them out download the "bootstrap-2.0.2" branch from Bitbucket.
</div>
<div
class=
"row"
>
<div
class=
"span4"
>
<h3>
Large
</h3>
...
...
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