-
Notifications
You must be signed in to change notification settings - Fork 0
/
github-explorer.html
103 lines (100 loc) · 6.69 KB
/
github-explorer.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>GitHub Explorer</title>
<meta name="description" content="Filter and sort all repositories of a user or organization">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css" integrity="sha256-UzFD2WYH2U1dQpKDjjZK72VtPeWP50NoJjd26rnAdUI=" crossorigin="anonymous"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/css/theme.bootstrap_4.min.css" integrity="sha256-vFn0MM8utz2N3JoNzRxHXUtfCJLz5Pb9ygBY2exIaqg=" crossorigin="anonymous"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/css/jquery.tablesorter.pager.min.css" />
<link rel="stylesheet" href="github-explorer.css" />
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-RHDCCBW4R9');
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RHDCCBW4R9"></script>
<script defer src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js" integrity="sha256-4iQZ6BVL4qNKlQ27TExEhBN1HFPvAvAMbFavKKosSWQ=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha256-4HLtjeVgH0eIB3aZ9mLYF6E8oU5chNdjU6p6rrXpl9U=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/jquery.tablesorter.min.js" integrity="sha256-uC1JMW5e1U5D28+mXFxzTz4SSMCywqhxQIodqLECnfU=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/jquery.tablesorter.widgets.min.js" integrity="sha256-Xx4HRK+CKijuO3GX6Wx7XOV2IVmv904m0HKsjgzvZiY=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/extras/jquery.tablesorter.pager.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/widgets/widget-mark.min.js" integrity="sha256-DfoIPa9QOOTpU0SbnxRtz885xtnJf3oCa3mEQzLwNRg=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/widgets/widget-print.min.js" integrity="sha256-rQHI1L5ju3qcr/vvnel2yzoKcvX7TfpEvATa41JdfUM=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.1/js/widgets/widget-columnSelector.min.js" integrity="sha256-h4pbs31FqVOemgEtyBwsB1n4W6zVF/XEXy2gtZtIe2U=" crossorigin="anonymous"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script defer src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script defer src="github-explorer.js"></script>
</head>
<body>
<div class="container">
<div class="d-flex justify-content-center mt-3 mb-3">
<form class="form-inline" action="javascript:list()">
<label for="owner">Owner</label>
<input type="text" class="form-control ml-2 mr-2" id="owner" />
<button type="submit" class="btn btn-success">Explore</button>
</form>
</div>
<div class="d-flex justify-content-center">
<div class="text-center" id="loading"></div>
</div>
<div class="d-flex justify-content-center mt-3 mb-3">
<form class="form-inline" action="javascript:void(0);">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-search"></i></span>
</div>
<input type="text" class="form-control search" data-column="any" placeholder="Search table" />
</div>
<button type="button" class="btn btn-primary ml-2 mr-2 reset-filter">Reset Filters</button>
<button type="button" class="btn btn-success reset-sort">Reset Sort</button>
<button type="button" class="btn btn-info ml-2" id="popover">Select Columns</button>
<div class="d-none">
<div id="popover-target"></div>
</div>
</form>
</div>
<div class="d-flex justify-content-center">
<table class="table table-bordered" aria-hidden="true">
<thead>
</thead>
<tfoot>
<tr>
<th colspan="18" scope="col">
<div class="ts-pager form-inline">
<div class="btn-group" role="group">
<button type="button" class="btn btn-outline-secondary first" title="Go to first page"><i class="fas fa-step-backward"></i></button>
<button type="button" class="btn btn-outline-secondary prev" title="Go to previous page"><i class="fas fa-backward"></i></button>
</div>
<span class="ml-2 mr-2 pagedisplay"></span>
<div class="btn-group" role="group">
<button type="button" class="btn btn-outline-secondary next" title="Go to next page"><i class="fas fa-forward"></i></button>
<button type="button" class="btn btn-outline-secondary last" title="Go to last page"><i class="fas fa-step-forward"></i></button>
</div>
<span class="ml-2 mr-2">Page size:</span>
<select class="form-control pagesize" title="Select page size">
<option value="10">10</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="all">All Rows</option>
</select>
<span class="ml-2 mr-2">Page number:</span>
<select class="form-control gotoPage" title="Select page number"></select>
<button type="button" class="btn btn-success ml-2 print">Print Table</button>
</div>
</th>
</tr>
</tfoot>
<tbody>
</tbody>
</table>
</div>
</div>
</body>
</html>