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
5ec03366
Commit
5ec03366
authored
Feb 09, 2012
by
niskac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the default itemCssClass for BootGridView and updated the test page.
parent
725ad0f7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
index.php
demo/protected/views/site/index.php
+0
-6
BootGridView.php
widgets/BootGridView.php
+1
-1
No files found.
demo/protected/views/site/index.php
View file @
5ec03366
...
...
@@ -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'=>'#'),
),
)); ?>
...
...
widgets/BootGridView.php
View file @
5ec03366
...
...
@@ -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'.
...
...
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