-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (69 loc) · 2.42 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
<!DOCTYPE html>
<html>
<head>
<link href="https://styleguide.brainly.com/58.2.0/style-guide.css" rel="stylesheet"/>
<link href="spinkit.css" rel="stylesheet"/>
<style>
.js-hidden {
display: none;
}
</style>
</head>
<body>
<h2 class="sg-header-primary sg-header-primary--small" style="margin-top: 1rem; text-align: center;">
Starred repos from Github by both selected users
</h2>
<div class="sg-layout">
<div class="sg-layout__container" style="margin-top: 1rem;">
<div class="sg-layout__content">
<p class="sg-text">Type usernames here</p>
<div class="sg-content-box">
<form class="js-form">
<input type="text" class="sg-input sg-input--spaced-bottom js-username" placeholder="Type first username">
<br />
<input type="text" class="sg-input sg-input--spaced-bottom js-username" placeholder="Type second username">
<br />
<button class="sg-button-secondary sg-button-secondary--inverse js-submit">
<div class="sg-button-secondary__hole">
<svg class="sg-icon sg-icon--x14 sg-icon--adaptive">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-search"></use>
</svg>
</div>
</button>
</form>
</div>
</div>
<div class="sg-layout__content sg-layout__aside-content">
<div class="spinner js-spinner js-hidden">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
<div class="js-list">
</div>
</div>
</div>
</div>
<script>
const template = data => {
return `<a class="sg-media sg-media--gray-secondary-light sg-media--clickable" target="_blank" href="${data.html_url}">
<div class="sg-media__aside">
<div class="sg-avatar">
<img class="sg-avatar__image" src="${data.owner.avatar_url}">
</div>
</div>
<div class="sg-media__wrapper">
<div class="sg-media__content">
<span class="sg-link sg-link--gray sg-link--emphasised">${data.full_name}</span>
</div>
<div class="sg-media__content">
<span>Master </span>
</div>
</div>
</a>`;
};
</script>
<script src="app.js"></script>
<script src="https://styleguide.brainly.com/images/icons-0c4bcf5be2.js"></script>
</body>
</html>