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
d125198c
Commit
d125198c
authored
Feb 11, 2012
by
Crisu83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed BootMenu to always set the href of dropdown-toggles to '#'.
parent
4efdf8b9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
3 deletions
+3
-3
glyphicons-halflings-white.png
demo/images/glyphicons-halflings-white.png
+0
-0
glyphicons-halflings.png
demo/images/glyphicons-halflings.png
+0
-0
styles.less
demo/less/styles.less
+0
-1
index.php
demo/protected/views/site/index.php
+2
-0
BootMenu.php
widgets/BootMenu.php
+1
-2
No files found.
demo/images/glyphicons-halflings-white.png
deleted
100644 → 0
View file @
4efdf8b9
4.25 KB
demo/images/glyphicons-halflings.png
deleted
100644 → 0
View file @
4efdf8b9
4.25 KB
demo/less/styles.less
View file @
d125198c
...
...
@@ -138,7 +138,6 @@ section {
}
@media (max-width: 980px) {
// Unfix the topbar
body {
padding-top: 0px;
}
...
...
demo/protected/views/site/index.php
View file @
d125198c
...
...
@@ -69,6 +69,8 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'items'
=>
array
(
array
(
'label'
=>
'Home'
,
'url'
=>
'#'
,
'active'
=>
true
),
array
(
'label'
=>
'Link'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Link'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Link'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Dropdown'
,
'url'
=>
'#'
,
'items'
=>
array
(
array
(
'label'
=>
'Action'
,
'url'
=>
'#'
),
array
(
'label'
=>
'Another action'
,
'url'
=>
'#'
),
...
...
widgets/BootMenu.php
View file @
d125198c
...
...
@@ -181,8 +181,7 @@ class BootMenu extends BootWidget
if
(
isset
(
$item
[
'items'
]))
{
if
(
!
isset
(
$item
[
'url'
]))
$item
[
'url'
]
=
'#'
;
$item
[
'url'
]
=
'#'
;
if
(
isset
(
$item
[
'linkOptions'
][
'class'
]))
$item
[
'linkOptions'
][
'class'
]
.=
' dropdown-toggle'
;
...
...
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