-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
195 lines (178 loc) · 9.18 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Behavioral Meta Data -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta charset="UTF-8">
<title>Github Profile Visualizer</title>
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />
<!-- Material Dashboard CSS -->
<link rel="stylesheet" href="assets/css/app.css">
<link rel="stylesheet" href="assets/css/material-dashboard.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.0/dygraph.min.css" />
<!-- TODO: Favicon -->
<link rel="shortcut icon" href="images/favicon.ico" />
<meta content="Github Profile Visualizer - Visualize Github profile growth (followers, num repo, etc) with daily cron and Github Pages" name="description">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper ">
<div class="sidebar" data-color="purple" data-background-color="white" data-image="img/sidebar.png">
<div class="logo" id="page-title"></div>
<div class="sidebar-wrapper">
<ul class="nav">
<li class="nav-item active ">
<a class="nav-link" href="./index.html">
<i class="material-icons">person</i>
<p>User</p>
</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="./global.html">
<i class="material-icons">language</i>
<p>Global</p>
</a>
</li>
</ul>
</div>
</div>
<div class="main-panel">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top ">
<div class="container-fluid">
<div class="navbar-wrapper">
<a class="navbar-brand" href="#">Github Profile Visualizer (User)</a>
</div>
<div class="collapse navbar-collapse justify-content-end">
<a class="github-button" href="https://github.com/freedomofkeima/github-profile-visualizer" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star freedomofkeima/github-profile-visualizer on GitHub">Star</a>
<a class="github-button" href="https://github.com/freedomofkeima/github-profile-visualizer/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork freedomofkeima/github-profile-visualizer on GitHub">Fork</a>
</div>
</div>
</nav>
<!-- End Navbar -->
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<div class="card card-chart">
<div class="card-header">
<div class="ct-chart" id="follower"></div>
</div>
<div class="card-body">
<h4 class="card-title">Github Follower</h4>
</div>
<div class="card-footer">
<div class="stats">
<i class="material-icons">access_time</i> updated daily
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card card-chart">
<div class="card-header">
<div class="ct-chart" id="following"></div>
</div>
<div class="card-body">
<h4 class="card-title">Github Following</h4>
</div>
<div class="card-footer">
<div class="stats">
<i class="material-icons">access_time</i> updated daily
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="card card-chart">
<div class="card-header">
<div class="ct-chart" id="num_repo"></div>
</div>
<div class="card-body">
<h4 class="card-title">Github Number of Repository</h4>
</div>
<div class="card-footer">
<div class="stats">
<i class="material-icons">access_time</i> updated daily
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="card card-chart">
<div class="card-header">
<div class="ct-chart" id="num_star"></div>
</div>
<div class="card-body">
<h4 class="card-title">Github Number of Star</h4>
</div>
<div class="card-footer">
<div class="stats">
<i class="material-icons">access_time</i> updated daily
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container-fluid">
<div class="copyright float-right">
©
<script>
document.write(new Date().getFullYear())
</script>, made with <i class="material-icons">favorite</i> by
<a href="https://github.com/freedomofkeima" target="_blank">Freedomofkeima</a>.
</div>
</div>
</footer>
</div>
</div>
<!-- Core JS Files -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap-material-design.min.js"></script>
<script src="assets/js/perfect-scrollbar.jquery.min.js"></script>
<script src="assets/js/material-dashboard.min.js"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dygraph/2.1.0/dygraph.min.js"></script>
<script>
url = window.location.href
username = window.location.host.split(".")[0]
document.getElementById("page-title").innerHTML = '<a href="https://github.com/' + username + '" class="simple-text logo-normal">' + username + '</a>'
followerG = new Dygraph(document.getElementById("follower"), url + "/../data/follower.txt", {
legend: 'always',
includeZero: true,
dateWindow: [ Date.parse("2018/10/01 00:00:00"), new Date() ],
});
followingG = new Dygraph(document.getElementById("following"), url + "/../data/following.txt", {
legend: 'always',
includeZero: true,
dateWindow: [ Date.parse("2018/10/01 00:00:00"), new Date() ],
});
numRepoG = new Dygraph(document.getElementById("num_repo"), url + "/../data/num_repo.txt", {
legend: 'always',
includeZero: true,
dateWindow: [ Date.parse("2018/10/01 00:00:00"), new Date() ],
});
numStarG = new Dygraph(document.getElementById("num_star"), url + "/../data/num_stars.txt", {
legend: 'always',
includeZero: true,
dateWindow: [ Date.parse("2018/10/01 00:00:00"), new Date() ],
});
</script>
</body>
</html>
<!-- Made with ♥ by freedomofkeima - Iskandar Setiadi © 2018 - 2019 -->