forked from kobo/gaiden
/
index.html
39 lines (35 loc) · 1.21 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
<!doctype html>
<html ng-app="gaiden">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="styles/bootstrap.css"/>
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<div ng-controller="MainController">
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul class="nav nav-sidebar">
<li ng-repeat="tocNode in toc" ng-include="'toc-template'"></li>
</ul>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" ng-view="">
</div>
</div>
</div>
<script src="scripts/bootstrap.js"></script>
<script src="scripts/angular.js"></script>
<script src="scripts/angular-route.js"></script>
<script src="scripts/gaiden.js"></script>
<script src="scripts/scripts/app.js"></script>
<script type="text/ng-template" id="toc-template">
<a href="#/{{ tocNode.path }}" ng-bind="tocNode.numbers + '. ' + tocNode.title"></a>
<ul>
<li ng-repeat="tocNode in tocNode.children" ng-include="'toc-template'"></li>
</ul>
</script>
</div>
</body>
</html>