Commit 5ec03366 by niskac

Changed the default itemCssClass for BootGridView and updated the test page.

parent 725ad0f7
......@@ -213,12 +213,6 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'items'=>array(
array('label'=>'Home', 'url'=>'#', 'active'=>true),
array('label'=>'Profile', 'url'=>'#'),
array('label'=>'Dropdown', 'items'=>array(
array('label'=>'Secondary link', 'url'=>'#'),
array('label'=>'Something else here', 'url'=>'#'),
'---',
array('label'=>'Another link', 'url'=>'#'),
)),
array('label'=>'Messages', 'url'=>'#'),
),
)); ?>
......
......@@ -22,7 +22,7 @@ class BootGridView extends CGridView
/**
* @var string the CSS class name for the container table. Defaults to 'table'.
*/
public $itemsCssClass = 'table';
public $itemsCssClass = 'table table-striped';
/**
* @var string the CSS class name for the pager container.
* Defaults to 'pagination'.
......
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