-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
90 lines (78 loc) · 3.22 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
<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" />
<title>GitGittu</title>
<!-- bootstrap 5 css -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!-- google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
body {
font-family: 'Ubuntu', sans-serif;
}
a:link, a:visited, a:hover, a:active{
text-decoration: none;
}
</style>
</head>
<body>
<div class="container-fluid mt-3">
<!-- header -->
<header class="p-3 mb-3 bg-dark text-white">
<i class="fa-brands fa-github-alt fa-2xl"></i>
<br>
<h1 class="display-5">GitGittu</h1>
<p class="lead">A Super Tool to view a GitHub user's repos, gists, following and followers</p>
<!-- add input field and button -->
<div class="row mt-3">
<label for="username" class="col-sm-2 col-form-label">Github Username:</label>
<div class="col-sm-3">
<input type="text" class="form-control" placeholder="Enter Your Github Username" id="username" />
</div>
<div class="col-sm-5">
<button type="button" class="btn btn-primary" id="submit-btn">View Repositories</button>
<button type="button" class="btn btn-primary" id="submit-btn2">View Gists</button>
<button type="button" class="btn btn-primary" id="submit-btn3">Following</button>
<button type="button" class="btn btn-primary" id="submit-btn4">Followers</button>
</div>
</div>
</header>
<!-- responsive table -->
<div class="table-responsive">
<table class="table table-striped">
<!--<thead>
<tr>
<th scope="raw">...</th>
<th scope="raw">...</th>
<th scope="raw">...</th>
<th scope="raw">...</th>
</tr>
</thead>-->
<tbody>
<!--
<tr>
<td>...</td>
<td>...</td>
<td>...</td>
<td>...</td>
</tr>
-->
</tbody>
</table>
</div>
</div>
<footer class="bg-dark text-light text-center py-3">
<p>Made with ❤️ using <a href="https://docs.github.com/en/rest">GitHub REST API</a> by <a href="https://github.com/shrudra">@shrudra</p>
</footer>
<!-- This line is a script tag that includes the jQuery library from a remote source (a CDN) with version 2.2.4 -->
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<!-- Custom Javascript file -->
<script src="main.js"></script>
</body>
</html>