-
Notifications
You must be signed in to change notification settings - Fork 48
/
index.html
42 lines (40 loc) · 1 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
<!DOCTYPE html>
<html ng-app="d3DemoApp">
<head>
<meta charset="utf-8">
<title>AngularJS + D3.js</title>
<script src="http://d3js.org/d3.v2.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.js"></script>
<script src="app.js"></script>
<style>
body {
font: 14px Helvetica Neue;
text-rendering: optimizeLegibility;
margin-top: 1em;
overflow-y: scroll;
}
.label {
font-size: .65em;
}
body {
width: 960px;
margin: auto;
}
h1 {
font-size: 36px;
font-weight: 300;
margin-bottom: .3em;
}
</style>
</head>
<body ng-controller="AppCtrl">
<h1>Github Commit Graph</h1>
<div>
User: <input ng-change="getCommitData()" ng-model="user"></input>
Repo: <input ng-change="getCommitData()" ng-model="repo"></input>
Grouped <input type="checkbox" ng-model="grouped">
</div>
<p>{{error}}</p>
<gh-visualization val="data" grouped="grouped"></gh-visualization>
</body>
</html>