<?php
/* @var $this Controller */
$cs = Yii::app()->clientScript;
$baseUrl = Yii::app()->baseUrl;
$templateBaseUrl = $baseUrl . '/css/admin/ace/assets';
$cs->registerCoreScript('jquery');
$cs->registerScriptFile($templateBaseUrl . '/js/ace-extra.min.js', 2);
$cs->registerScriptFile($templateBaseUrl . '/js/bootstrap.min.js', 2);
$cs->registerScriptFile($templateBaseUrl . '/js/typeahead-bs2.min.js', 2);
//page specific plugin scripts
//ace scripts
$cs->registerScriptFile($templateBaseUrl . '/js/ace-elements.min.js', 2);
$cs->registerScriptFile($templateBaseUrl . '/js/ace.min.js', 2);
?>
<!DOCTYPE html>
<html lang="<?php echo Yii::app()->language; ?>">
    <head>
	<meta charset="utf-8" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<!-- basic styles -->
	<link href="<?php echo $templateBaseUrl; ?>/css/bootstrap.min.css" rel="stylesheet" />
	<link href="<?php echo $templateBaseUrl; ?>/css/font-awesome.min.css" rel="stylesheet" />
	<!--[if IE 7]>
	    <link href="<?php echo $templateBaseUrl; ?>/css/font-awesome-ie7.min.css" rel="stylesheet" />
	<![endif]-->
	<!-- page specific plugin styles -->
	<!-- fonts -->
	<!--<link rel="stylesheet" href="<?php // echo $templateBaseUrl; ?>/css/ace-fonts.css" />-->
	<!-- ace styles -->
	<link rel="stylesheet" href="<?php echo $templateBaseUrl; ?>/css/ace.min.css" />
	<link rel="stylesheet" href="<?php echo $templateBaseUrl; ?>/css/ace-rtl.min.css" />
	<link rel="stylesheet" href="<?php echo $templateBaseUrl; ?>/css/ace-skins.min.css" />
	<!--[if lte IE 8]>
	  <link rel="stylesheet" href="<?php echo $templateBaseUrl; ?>/css/ace-ie.min.css" />
	<![endif]-->
	<link rel="stylesheet" href="<?php echo $baseUrl; ?>/css/admin/main.css" />
	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	<script src="<?php echo $baseUrl; ?>/js/html5shiv.js"></script>
	<script src="<?php echo $baseUrl; ?>/js/respond.min.js"></script>
	<![endif]-->
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>
    <body class="login-layout">
        <div class="main-container">
	    <div class="main-content">
		<div class="row">
		    <div class="col-sm-10 col-sm-offset-1">
			<div class="login-container">
			    <div class="center">
				<h1>
				    <span><?php echo Yii::app()->name; ?></span>
				</h1>
			    </div>
			    <div class="space-6"></div>
			    <div class="position-relative">
				<?php echo $content; ?>
			    </div><!-- /position-relative -->
			</div>
		    </div><!-- /.col -->
		</div><!-- /.row -->
	    </div>
	</div><!-- /.main-container -->
    </body>
</html>
