-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (69 loc) · 2.13 KB
/
index.html
File metadata and controls
86 lines (69 loc) · 2.13 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>GitHub Search API</title>
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body {
height: 100%;}
body {
display: flex;
flex-direction: column;
}
.content {
flex: 1 0 auto;
}
.footer {
flex-shrink: 0;
background: #eee;
}
.search-error {
color: red;
}
</style>
<link href="https://unpkg.com/primer/build/build.css" rel="stylesheet">
</head>
<body>
<div class="content container-lg p-6">
<h2>
Try searching for a GitHub user:
</h2>
<br>
<input class="form-control search-input" type="text" placeholder="username"/>
<button class="btn btn-primary search" type="button">
Search
</button>
<br>
<p class="search-error"></p>
<br>
<div class="login">
<p class="login-text">
For more API queries, try logging in to GitHub?
</p>
<button class="btn login-button">
Login
</button>
</div>
<br>
<ul class="search-results pt-3 pl-3"></ul>
</div>
<footer class="footer pb-2 pt-3 text-center">
<div class="scheme">
<p>
You are using <strong><span class="auth-type"></span> authentication</strong> against the <strong><span class="auth-target"></span> API</strong>.
</p>
<p>
<span class="hits-remaining"></span><span class="hits-total"></span>
</p>
</div>
</footer>
<script src="/client.js"></script>
<!-- include the Glitch button to show what the webpage is about and
to make it easier for folks to view source and remix -->
<div class="glitchButton" style="position:fixed;top:20px;right:20px;"></div>
<script src="https://button.glitch.me/button.js"></script>
</body>
</html>