forked from achasveachas/GitHub-cleaner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·79 lines (73 loc) · 1.73 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
<!DOCTYPE html>
<html>
<head>
<title>GitHub Cleaner</title>
<style>
.flexbox-container {
display: -ms-flex;
display: -webkit-flex;
display: flex;
}
.flexbox-container > div {
width: 50%;
padding: 10px;
}
.flexbox-container > div:first-child {
margin-right: 20px;
}
#errors {
color: red;
}
input {
padding: 0.5em;
margin-bottom: 0.5em;
width: 250px;
}
button {
padding: 0.5em;
}
</style>
</head>
<body>
<main id="main">
<div class="title"><h1>GitHub Cleaner</h1></div>
<div id="errors"></div>
</main>
<div class="flexbox-container">
<div>
<input
type="text"
id="token"
placeholder="Paste your github token here"
/><br />
<input
type="text"
id="username"
placeholder="Type your github username here"
/><br />
<input
type="text"
id="organization"
placeholder="Type your github organization here"
/><br />
<input
type="text"
id="search"
placeholder="Type your search keyword here"
/><br /><br />
<button onclick="handleGetLabs()">Get List of Repos</button>
<button id="make_private" onclick="handlePrivatizeRepos()" disabled>
Make Private
</button>
<button id="transfer_repos" onclick="handleTransferRepos()" disabled>
Transfer Repos
</button>
<div>
<h3>Progress</h3>
<ul id="progress"></ul>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>