HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
main.php
Go to the documentation of this file.
1 <?php /* @var $this Controller */ ?>
2 <!DOCTYPE html>
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6  <meta name="language" content="en" />
7 
8  <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/styles.css" />
9 
10  <title><?php echo CHtml::encode($this->pageTitle); ?></title>
11 
12  <?php Yii::app()->bootstrap->register(); ?>
13 </head>
14 
15 <body>
16 
17 <?php $this->widget('bootstrap.widgets.TbNavbar',array(
18  'items'=>array(
19  array(
20  'class'=>'bootstrap.widgets.TbMenu',
21  'items'=>array(
22  array('label'=>'Home', 'url'=>array('/site/index')),
23  array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
24  array('label'=>'Contact', 'url'=>array('/site/contact')),
25  array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
26  array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
27  ),
28  ),
29  ),
30 )); ?>
31 
32 <div class="container" id="page">
33 
34  <?php if(isset($this->breadcrumbs)):?>
35  <?php $this->widget('bootstrap.widgets.TbBreadcrumbs', array(
36  'links'=>$this->breadcrumbs,
37  )); ?><!-- breadcrumbs -->
38  <?php endif?>
39 
40  <?php echo $content; ?>
41 
42  <div class="clear"></div>
43 
44  <div id="footer">
45  Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
46  All Rights Reserved.<br/>
47  <?php echo Yii::powered(); ?>
48  </div><!-- footer -->
49 
50 </div><!-- page -->
51 
52 </body>
53 </html>