-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (46 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en" ng-app="indexApp">
<head>
<meta charset="utf-8">
<title>Cheat sheet</title>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="index.css">
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="index.js"></script>
</head>
<body ng-controller="IndexCtrl">
<div class="container-fluid">
<div class="col-sm-6" ng-repeat="cheatSheetCollection in cheatSheets">
<div class="panel panel-default" ng-repeat="cheatSheet in cheatSheetCollection">
<div class="panel-heading">
<h3 class="panel-title">{{cheatSheet.name}}</h3>
</div>
<div class="panel-body">
<h4>{{cheatSheet.desc}}</h4>
<div ng-repeat="sample in cheatSheet.samples">
<code class="sample-code">{{sample.code}}</code>
<h5>{{sample.desc}}</h5>
<div ng-repeat="hint in sample.hints" class="alert alert-info">
<strong>{{hint.name}}: </strong>{{hint.desc}}
</div>
</div>
</div>
<div class="panel-footer">
<div ng-repeat="hint in cheatSheet.hints" class="alert alert-info">
<strong>{{hint.name}}: </strong>{{hint.desc}}
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="col-sm-12">
<ul class="list-group">
<li class="list-group-item" ng-repeat="resource in resources" ng-bind-html="resource">
</li>
</ul>
</div>
</div>
</body>
</html>