-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathindex.html
49 lines (43 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>GitHub Repo Viewer</title>
<link rel="stylesheet" href="./style/style.css">
<link rel="stylesheet" href="./style/widget/user_repos_view.css">
<link rel="stylesheet" href="./style/widget/user_detail_view.css">
<link rel="stylesheet" href="./style/widget/search_block.css">
<link rel="stylesheet" href="./style/widget/error_view.css">
<link rel="stylesheet" href="./style/widget/widget.css">
</head>
<body>
<main class="widget">
<div class="input-group">
<input id="searchInput" type="text" name="username" placeholder="Search username..." required>
<input id="search" type="submit" value="Search" onclick="clickHandler(input.value)">
</div>
<div id="error" class="hidden">
<h3>Does not exist</h3>
</div>
<div id="userInfos" class="hidden">
<div class="user-avatar">
<img src="" alt="avatar">
</div>
<div class="user-details">
<h4 id="userName"></h4>
<h1 id="fullName"></h1>
<p id="bio"></p>
</div>
</div>
<div id="repoHeader" class="hidden">
<h3>Repositories</h3>
</div>
<div id="userRepos" class="hidden">
</div>
</main>
<script src="./script/constants.js"></script>
<script src="./script/dom_helpers.js"></script>
<script src="./script/gitViewer.js"></script>
<script src="./script/index.js"></script>
</body>
</html>