1 <div
class=
"navbar navbar-inverse navbar-fixed-top">
2 <div
class=
"navbar-inner">
3 <div
class=
"container">
4 <a
class=
"btn btn-navbar" data-toggle=
"collapse" data-target=
".nav-collapse">
5 <span
class=
"icon-bar"></span>
6 <span
class=
"icon-bar"></span>
7 <span
class=
"icon-bar"></span>
10 <!-- Be sure to leave the brand out there
if you want it shown -->
11 <a
class=
"brand" href=
"#">abound <small>admin theme v1.1</small></a>
13 <div
class=
"nav-collapse">
14 <?php $this->widget(
'zii.widgets.CMenu',array(
15 'htmlOptions'=>array(
'class'=>
'pull-right nav'),
16 'submenuHtmlOptions'=>array(
'class'=>
'dropdown-menu'),
17 'itemCssClass'=>
'item-test',
20 array(
'label'=>
'Dashboard',
'url'=>array(
'/site/index')),
21 array(
'label'=>
'Graphs & Charts',
'url'=>array(
'/site/page',
'view'=>
'graphs')),
22 array(
'label'=>
'Forms',
'url'=>array(
'/site/page',
'view'=>
'forms')),
23 array(
'label'=>
'Tables',
'url'=>array(
'/site/page',
'view'=>
'tables')),
24 array(
'label'=>
'Interface',
'url'=>array(
'/site/page',
'view'=>
'interface')),
25 array(
'label'=>
'Typography',
'url'=>array(
'/site/page',
'view'=>
'typography')),
27 array(
'label'=>
'My Account <span class="caret"></span>',
'url'=>
'#',
'itemOptions'=>array(
'class'=>
'dropdown',
'tabindex'=>
"-1"),
'linkOptions'=>array(
'class'=>
'dropdown-toggle',
'data-toggle'=>
"dropdown"),
29 array(
'label'=>
'My Messages <span class="badge badge-warning pull-right">26</span>',
'url'=>
'#'),
30 array(
'label'=>
'My Tasks <span class="badge badge-important pull-right">112</span>',
'url'=>
'#'),
31 array(
'label'=>
'My Invoices <span class="badge badge-info pull-right">12</span>',
'url'=>
'#'),
32 array(
'label'=>
'Separated link',
'url'=>
'#'),
33 array(
'label'=>
'One more separated link',
'url'=>
'#'),
35 array(
'label'=>
'Login',
'url'=>array(
'/site/login'),
'visible'=>Yii::app()->user->isGuest),
36 array(
'label'=>
'Logout ('.Yii::app()->user->name.
')',
'url'=>array(
'/site/logout'),
'visible'=>!Yii::app()->user->isGuest),
44 <div
class=
"subnav navbar navbar-fixed-top">
45 <div
class=
"navbar-inner">
46 <div
class=
"container">
48 <div
class=
"style-switcher pull-left">
49 <a href=
"javascript:chooseStyle('none', 60)" checked=
"checked"><span
class=
"style" style=
"background-color:#0088CC;"></span></a>
50 <a href=
"javascript:chooseStyle('style2', 60)"><span
class=
"style" style=
"background-color:#7c5706;"></span></a>
51 <a href=
"javascript:chooseStyle('style3', 60)"><span
class=
"style" style=
"background-color:#468847;"></span></a>
52 <a href=
"javascript:chooseStyle('style4', 60)"><span
class=
"style" style=
"background-color:#4e4e4e;"></span></a>
53 <a href=
"javascript:chooseStyle('style5', 60)"><span
class=
"style" style=
"background-color:#d85515;"></span></a>
54 <a href=
"javascript:chooseStyle('style6', 60)"><span
class=
"style" style=
"background-color:#a00a69;"></span></a>
55 <a href=
"javascript:chooseStyle('style7', 60)"><span
class=
"style" style=
"background-color:#a30c22;"></span></a>
57 <form
class=
"navbar-search pull-right" action=
"">
59 <input type=
"text" class=
"search-query span2" placeholder=
"Search">
62 </div><!-- container -->
63 </div><!-- navbar-inner -->