HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
tpl_navigation.php
Go to the documentation of this file.
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>
8  </a>
9 
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>
12 
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',
18  'encodeLabel'=>false,
19  'items'=>array(
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')),
26  /*array('label'=>'Gii generated', 'url'=>array('customer/index')),*/
27  array('label'=>'My Account <span class="caret"></span>', 'url'=>'#','itemOptions'=>array('class'=>'dropdown','tabindex'=>"-1"),'linkOptions'=>array('class'=>'dropdown-toggle','data-toggle'=>"dropdown"),
28  'items'=>array(
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'=>'#'),
34  )),
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),
37  ),
38  )); ?>
39  </div>
40  </div>
41  </div>
42 </div>
43 
44 <div class="subnav navbar navbar-fixed-top">
45  <div class="navbar-inner">
46  <div class="container">
47 
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>
56  </div>
57  <form class="navbar-search pull-right" action="">
58 
59  <input type="text" class="search-query span2" placeholder="Search">
60 
61  </form>
62  </div><!-- container -->
63  </div><!-- navbar-inner -->
64 </div><!-- subnav -->