forked from learn-co-curriculum/javascript-fetch-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (50 loc) · 1.32 KB
/
index.html
File metadata and controls
50 lines (50 loc) · 1.32 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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript fetch() Lab</title>
<style>
.flexbox-container {
display: -ms-flex;
display: -webkit-flex;
display: flex;
}
.flexbox-container > div {
width: 50%;
padding: 10px;
}
.flexbox-container > div:first-child {
margin-right: 20px;
}
</style>
</head>
<body>
<main id="main">
<div id="errors"></div>
</main>
<div class="flexbox-container">
<div>
<h3>Create Fork</h3>
<p><a href="#" onclick="forkRepo()">Fork Repository</a></p>
<div id="results"></div>
</div>
<div>
<h3>Issues</h3>
<div>
Issue Title: <input type="text" id="title"><br>
Issue Text: <input type="text" id="body"><br>
<a href="#" id="search" onclick="createIssue()">Create Issue</a>
</div>
<div id="issues"></div>
</div>
</div>
<script src="handlebars.js"></script>
<script src="index.js"></script>
<script id="repo-template" type="text/x-handlebars-template">
<h3>Forked Successfully!</h3>
<!--fill me in with templatey goodness-->
</script>
<script id="issues-template" type="text/x-handlebars-template">
<!--fill me in with templatey goodness-->
</script>
</body>
</html>