forked from Somsubhra/github-release-stats
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
120 lines (119 loc) · 5.54 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
<!DOCTYPE html>
<html>
<head>
<title>Github Release Stats</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Get the latest release stats like download counts, release dates, author on any Github project">
<meta name="keywords" content="Github, release, download, count">
<link rel="icon" href="img/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="third-party/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href=".">
<span class="glyphicon glyphicon-stats"></span>
Github Release Stats
</a>
</div>
<div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/Somsubhra/github-release-stats" target="_blank">
<span class="glyphicon glyphicon-eye-open"></span>
View project on Github
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row" id="search">
<div class="col-md-4 col-md-offset-4">
<h1>Enter project details...</h1>
<div class="form form-inline">
<div class="form-group">
<input type="text" class="form-control" id="username" placeholder="Github username">
</div>
<div class="form-group">
<input type="text" class="form-control" id="repository" placeholder="Repository name">
</div>
<button class="btn btn-primary" id="get-stats-button">Get the latest release stats!</button>
</div>
</div>
</div>
<div class="row" id="description">
<h1>...and get the latest release stats like download counts, release dates, authors for any Github project.</h1>
</div>
<div class="row" id="title">
<h1><span class="username"></span>/<span class="repository"></span></h1>
<span class="description">release stats</span>
</div>
<div class="row" id="ads">
<div class="col-md-6 col-md-offset-2">
<script type="text/javascript">
( function() {
if (window.CHITIKA === undefined) { window.CHITIKA = { 'units' : [] }; };
var unit = {"calltype":"async[2]","publisher":"somsubhra","width":728,"height":90,"sid":"Chitika Default"};
var placement_id = window.CHITIKA.units.length;
window.CHITIKA.units.push(unit);
document.write('<div id="chitikaAdBlock-' + placement_id + '"></div>');
}());
</script>
<script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script>
</div>
</div>
<div class="row" id="stats-result">
</div>
<div class="row">
<nav id="pagination">
<ul class="pager">
<li><a id="get-prev-results-button" href="#">Newer</a></li>
<li><a id="get-next-results-button" href="#">Older</a></li>
</ul>
<div id="per-page">
<label class="">Per page</label>
<select class="form-control">
<option>5</option>
<option>10</option>
<option>15</option>
<option>20</option>
<option>25</option>
<option>30</option>
</select>
</div>
</nav>
</div>
<div id="loader-gif">
<img src="img/gif-load.gif">
</div>
</div>
<div id="footer">
<div class="container">
Made with <span class="glyphicon glyphicon-heart"></span> by <a href="http://somsubhra.com" target="_blank">Somsubhra</a>
</div>
</div>
</body>
<script type="text/javascript" src="third-party/jquery/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="third-party/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="third-party/typahead/bootstrap3-typeahead.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58580258-2', 'auto');
ga('send', 'pageview');
</script>
</html>