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
38ebe2c6
Commit
38ebe2c6
authored
Jul 31, 2012
by
niskac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the demo
parent
3ae19a07
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
styles.less
demo/less/styles.less
+0
-4
index.php
demo/protected/views/site/index.php
+9
-6
TbNavbar.php
widgets/TbNavbar.php
+0
-3
No files found.
demo/less/styles.less
View file @
38ebe2c6
...
...
@@ -10,10 +10,6 @@ body {
padding-bottom: 60px;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom: 0.6em;
}
p {
font-size: 14px;
margin-bottom: 1.6em;
...
...
demo/protected/views/site/index.php
View file @
38ebe2c6
...
...
@@ -1377,9 +1377,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<div
class=
"well"
>
<?php
$this
->
widget
(
'bootstrap.widgets.TbButton'
,
array
(
'label'
=>
'Click me'
,
'url'
=>
'#myModal'
,
'type'
=>
'primary'
,
'htmlOptions'
=>
array
(
'data-toggle'
=>
'modal'
),
'htmlOptions'
=>
array
(
'data-toggle'
=>
'modal'
,
'data-target'
=>
'#myModal'
,
),
));
?>
</div>
...
...
@@ -1414,9 +1416,11 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php
echo
$phpLighter
->
highlight
(
"<?php
\$
this->widget('bootstrap.widgets.TbButton', array(
'label'=>'Click me',
'url'=>'#myModal',
'type'=>'primary',
'htmlOptions'=>array('data-toggle'=>'modal'),
'htmlOptions'=>array(
'data-toggle'=>'modal',
'data-target'=>'#myModal',
),
)); ?>"
);
?>
<a
class=
"top"
href=
"#top"
>
Back to top
↑
</a>
...
...
@@ -1651,4 +1655,4 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
),
),
),
));
?>
\ No newline at end of file
));
?>
widgets/TbNavbar.php
View file @
38ebe2c6
...
...
@@ -13,9 +13,6 @@
*/
class
TbNavbar
extends
CWidget
{
// Navbar types.
const
TYPE_SUBNAV
=
'subnav'
;
// Navbar fix locations.
const
FIXED_TOP
=
'top'
;
const
FIXED_BOTTOM
=
'bottom'
;
...
...
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