-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.ctp
More file actions
70 lines (62 loc) · 1.67 KB
/
default.ctp
File metadata and controls
70 lines (62 loc) · 1.67 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
60
61
62
63
64
65
66
67
68
69
70
<?php
/**
* レイアウト
*
* @author Shohei Nakajima <nakajimashouhei@gmail.com>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
* @copyright Copyright 2014, NetCommons Project
*/
?>
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
<?php
if (isset($pageTitle)) {
echo h($pageTitle) . ' - ' . __d('install', 'Install');
}
?>
</title>
<?php
echo $this->fetch('meta');
echo $this->Html->css(
array(
'/components/bootstrap/dist/css/bootstrap.min.css',
'/components/jqueryui/themes/overcast/jquery-ui.min.css',
'/net_commons/css/style.css',
'style'
),
array('plugin' => false)
);
echo $this->fetch('css');
echo $this->Html->script(
array(
'/components/jquery/dist/jquery.min.js',
'/components/jqueryui/jquery-ui.min.js',
'/components/bootstrap/dist/js/bootstrap.min.js',
'/components/angular/angular.min.js',
'/components/angular-bootstrap/ui-bootstrap-tpls.min.js',
'/net_commons/js/base.js',
'/net_commons/jquery.cookie.js'
),
array('plugin' => false)
);
echo $this->fetch('script');
?>
</head>
<body ng-controller="NetCommons.base">
<div class="container">
<?php echo $this->fetch('content'); ?>
</div>
<footer id="nc-system-footer" role="contentinfo">
<div class="box-footer box-id-5">
<div class="copyright">Powered by NetCommons</div>
</div>
</footer>
<?php echo $this->element('sql_dump'); ?>
</body>
</html>