-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
59 lines (48 loc) · 1.74 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
<!--
-------------------------------------------
Author: Seyon Rajagopal
Copyright (c) 2020 Seyon Rajagopal
-------------------------------------------
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- UIkit used for styling and icons -->
<link rel="stylesheet" href="css/uikit.min.css" />
<link rel="stylesheet" href="css/styles.css" />
<script src="js/uikit.min.js"></script>
<script src="js/uikit-icons.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="js/script.js"></script>
<title>Repository List </title>
</head>
<body>
<!--
<div id="title">
<h1>Enter GitHub Username:</h1>
<input id="user" type="text" placeholder="seyon123">
<button id="btn" onclick="getusername()">View Repos</button>
<br><i>*Repos may appear at a slower rate compared to other content on screen.</i>
</div>
-->
<div id="back">
<a href="index.html">Go Back</a>
</div>
<!-- The div below is all you need to list all repositories-->
<div id="repo-box"></div>
<script>
document.getElementById("back").style.display = "none";
function getusername() {
var user = document.getElementById("user").value;
document.getElementById("title").style.display = "none";
document.getElementById("repo-box").style.display = "block";
document.getElementById("back").style.display = "block";
genRepo(user);
}
</script>
</body>
</html>
</html>