You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					54 lines
				
				1.2 KiB
			
		
		
			
		
	
	
					54 lines
				
				1.2 KiB
			| 
								 
											12 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								use yii\bootstrap\NavBar;
							 | 
						||
| 
								 | 
							
								use yii\bootstrap\Nav;
							 | 
						||
| 
								 | 
							
								use yii\helpers\Html;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * @var $this \yii\base\View
							 | 
						||
| 
								 | 
							
								 * @var $content string
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								$asset = yii\gii\GiiAsset::register($this);
							 | 
						||
| 
								 | 
							
								?>
							 | 
						||
| 
								 | 
							
								<?php $this->beginPage(); ?>
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html lang="en">
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
									<meta charset="utf-8"/>
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
									<title><?= Html::encode($this->title) ?></title>
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
									<?php $this->head(); ?>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								<?php $this->beginBody(); ?>
							 | 
						||
| 
								 | 
							
								<?php
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								NavBar::begin([
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
									'brandLabel' => Html::img($asset->baseUrl . '/logo.png'),
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
									'brandUrl' => ['default/index'],
							 | 
						||
| 
								 | 
							
									'options' => ['class' => 'navbar-inverse navbar-fixed-top'],
							 | 
						||
| 
								 | 
							
								]);
							 | 
						||
| 
								 | 
							
								echo Nav::widget([
							 | 
						||
| 
								 | 
							
									'options' => ['class' => 'nav navbar-nav pull-right'],
							 | 
						||
| 
								 | 
							
									'items' => [
							 | 
						||
| 
								 | 
							
										['label' => 'Home', 'url' => ['default/index']],
							 | 
						||
| 
								 | 
							
										['label' => 'Help', 'url' => 'http://www.yiiframework.com/doc/guide/topics.gii'],
							 | 
						||
| 
								 | 
							
										['label' => 'Application', 'url' => Yii::$app->homeUrl],
							 | 
						||
| 
								 | 
							
									],
							 | 
						||
| 
								 | 
							
								]);
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								NavBar::end();
							 | 
						||
| 
								 | 
							
								?>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<div class="container">
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
									<?= $content ?>
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<footer class="footer">
							 | 
						||
| 
								 | 
							
									<div class="container">
							 | 
						||
| 
								 | 
							
										<p class="pull-left">A Product of <a href="http://www.yiisoft.com/">Yii Software LLC</a></p>
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
										<p class="pull-right"><?= Yii::powered() ?></p>
							 | 
						||
| 
								 
											12 years ago
										 
									 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								</footer>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<?php $this->endBody(); ?>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 | 
						||
| 
								 | 
							
								<?php $this->endPage(); ?>
							 |