-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (70 loc) · 1.92 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Home</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h2>API Client</h2>
<ul id="nav">
<li> </li><a href="" class="viewSearch">List</a> |
<li> </li><a href="" class="viewCreate">Create</a>
</ul>
<form id="search" class="view">
<div id="result"></div>
<a href="" class="viewCreate">Create a Story</a>
</form>
<section id="detail" class="view">
<fieldset>
<legend>Detail</legend>
<div>
<label for="title">Title</label>
<span class="title"></span>
</div>
<div>
<label for="content">Content</label>
<span class="content"></span>
</div>
<a href="" class="edit">Edit</a>
<a href="" class="remove">Remove</a>
</fieldset>
<a href="" class="viewList">< Back to list results </a>
</section>
<form id="create" class="view">
<fieldset>
<legend>Create</legend>
<div>
<label for="name">Title</label>
<input type="text" name="title">
</div>
<div>
<label for="name">Content</label>
<textarea rows="4" cols="50" name="content"></textarea>
</div>
<button type="submit">Submit</button>
</fieldset>
</form>
<form id="edit" class="view">
<fieldset>
<legend>Edit</legend>
<div>
<label for="name">Title</label>
<input type="text" name="title">
</div>
<div>
<label for="name">Content</label>
<textarea rows="4" cols="50" name="content"></textarea>
</div>
<button type="submit">Submit</button>
</fieldset>
</form>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="js/fetch.js"></script>
<script src="js/app.js"></script>
</body>
</html>