-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
50 lines (45 loc) · 1.77 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ThinkPHP 5.0 English Manual</title>
<link href="libs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="libs/dpatch/dist/css/general-cn.css" rel="stylesheet"/>
<link href="assets/css/style.css" rel="stylesheet"/>
<script src="libs/angular/angular.js"></script>
<script src="libs/jquery/dist/jquery.min.js"></script>
<script src="libs/showdown/compressed/Showdown.min.js"></script>
<script src="libs/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="libs/angular-sanitize/angular-sanitize.min.js"></script>
<script src="libs/angular-markdown-directive/markdown.js"></script>
</head>
<body ng-app="app" ng-controller="ctrl">
<div style="background-color: #5E9C2F; color: white">
<div class="container">
<h1>ThinkPHP 5.0 English Manual</h1>
</div>
</div>
<div class="container">
<div class="col-sm-3" ng-include="'assets/components/menu.comp.html'">
</div>
<div btf-markdown class="col-sm-9"
ng-include="currentPage"
></div>
</div>
<footer class="container">
<div>© 2017 THINKPHP</div>
<div><a href="https://github.com/dotku/thinkphp-guide">FORK THIS DOCUMENT</a></div>
<div><a href="http://www.kancloud.cn/manual/thinkphp5">Original Document</a></div>
</footer>
<script>
var app = angular.module("app", ['ngSanitize', 'btford.markdown']);
app.controller('ctrl', function($scope){
$scope.currentPage = "docs/00-preface/README.md";
$scope.updateCurrentPage = function(url) {
$scope.currentPage = url;
}
});
</script>
</body>
</html>