dashboard.php
1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
use yii\helpers\Html;
use app\ht\assets\AppAsset;
AppAsset::register($this);
$baseUrl = Yii::$app->request->baseUrl;
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?=Yii::$app->language?>">
<head>
<link rel="shortcut icon" href="<?=$baseUrl?>/favicon.ico" />
<meta charset="<?=Yii::$app->charset?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
<?= Html::csrfMetaTags() ?>
<title><?=Html::encode($this->title)?></title>
<?php $this->head() ?>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="<?=$baseUrl?>/fits-ie/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="<?=$baseUrl?>/fits-ie/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<?=$this->render('_bootstrap-table-style')?>
<script>
seajs.config({
base: "<?=Yii::$app->request->baseUrl?>/exts/",
map : [
[ /^(.*\.(?:css|js))(.*)$/i, '$1?v=<?=time()?>' ]
]
});
$frameApp.init({
clientId : 'admin',
debug : true
});
</script>
</head>
<body>
<?php $this->beginBody() ?>
<div class="content" style="right: 80px;top:0px;">
<div class="content-body">
<?=$content?>
</div>
<?=$this->render('_content-footer')?>
</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>