Commit 38ebe2c6 by niskac

updated the demo

parent 3ae19a07
......@@ -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;
......
......@@ -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 &uarr;</a>
......@@ -1651,4 +1655,4 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
),
),
),
)); ?>
\ No newline at end of file
)); ?>
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment