forked from techgaun/active-forks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
120 lines (100 loc) · 7.02 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 lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Active GitHub Forks</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/datatables.net-bs4@2/css/dataTables.bootstrap4.min.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/datatables.net-searchbuilder-bs4@1/css/searchBuilder.bootstrap4.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jquery@3"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/popper.js@1"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/bootstrap@4"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/moment@2"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/darkmode-js@1"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/datatables.net@2/js/dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/datatables.net-bs4@2/js/dataTables.bootstrap4.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/datatables.net-searchbuilder@1/js/dataTables.searchBuilder.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/datatables.net-searchbuilder-bs4@1/js/searchBuilder.bootstrap4.min.js"></script>
<link rel="stylesheet" href="css/styles.css">
</head>
<body class="mt-4 mb-2">
<div class="container">
<div class="row">
<div class="col-sm-12 col-lg-12">
<div class="card">
<div class="card-header text-center">
<h3>
<a href="https://github.com/QuentiumYT/active-forks" class="text-dark">
<i class="fa fa-github-alt pull-left" aria-hidden="true"></i>
</a>
Active GitHub Forks
</h3>
</div>
<div class="card-body">
<div class="form-group">
<form id="form" role="form">
<div class="input-group">
<input id="q" name="q" class="form-control" type="text" placeholder="QuentiumYT/active-forks">
<input id="branch" name="branch" class="form-control" type="text" placeholder="main">
<span class="input-group-btn">
<button id="find" onClick="fetchData()" type="button" class="btn btn-primary">
<i id="spinner" class="fa fa-spinner fa-pulse fa-fw d-none"></i>
<span class="find-label">Find</span>
</button>
<button id="findDiff" onClick="fetchData(true)" type="button" class="btn btn-primary">
<i id="spinner" class="fa fa-spinner fa-pulse fa-fw d-none"></i>
<span class="find-label">Find with diff</span>
</button>
</span>
</div>
<div class="input-group mt-2 d-flex justify-content-end">
<input id="token" name="token" class="form-control collapsible-content" type="text" placeholder="Auth Token">
<span class="input-group-btn">
<button id="collapsible" onClick="toggleToken()" type="button" class="btn btn-primary collapsible">
Hide Token
</button>
<a href="https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line" class="btn btn-success" target="_blank">
Info
</a>
<a class="btn btn-primary options-button" data-toggle="collapse" href="#options" role="button" aria-expanded="false" aria-controls="options">
Options
</a>
</span>
<span class="quota input-group-btn ml-3 d-none">
<button id="rate-limit" type="button" class="btn btn-primary py-0 h-100"></button>
</span>
</div>
<div class="options collapse mt-2 px-3" id="options">
<div class="card bg-light card-body">
<div class="form-inline">
<label for="maxRecords">Max records:</label>
<input id="maxRecords" name="maxRecords" class="form-control ml-3 mr-5" type="number" min="10">
<label>Assume same commits if:</label>
<input id="sameSize" name="sameSize" class="form-check-input ml-3" type="checkbox">
<label for="sameSize" class="form-check-label">Same Size</label>
<input id="samePushDate" name="samePushDate" class="form-check-input ml-3" type="checkbox">
<label for="samePushDate" class="form-check-label">Same Push Date</label>
</div>
</div>
</div>
<div class="progress mt-2">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
0 / 0
</div>
</div>
</form>
</div>
<div id="data-body"></div>
<table id="forkTable" class="display table-sm table-striped" width="100%"></table>
</div>
<div id="footer" class="card-footer text-muted"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>