-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
66 lines (66 loc) · 2.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Shoes Client</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.css">
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.js"></script>
</head>
<body>
<!-- NAVIGATION -->
<div class="ui pointing menu">
<a class="active item" onClick="showForm()">
Create Shoes
</a>
<a class="item" onclick="allShoes()">
View Shoes
</a>
<a class="item">
Edit Shoes
</a>
<div class="right menu">
<div class="item">
<div class="ui transparent icon input">
<input type="text" placeholder="Search...">
<i class="search link icon"></i>
</div>
</div>
</div>
</div>
<!-- END OF NAVIGATION -->
<div class="ui segment items">
<form class="ui form success error" onsubmit="createShoe()">
<div class="field">
<label>Shoe Brand</label>
<input type="text" name="shoe-brand" placeholder="Shoe Brand">
</div>
<div class="field">
<label>Shoe Size</label>
<input type="number" name="shoe-size" placeholder="Shoe Size">
</div>
<div class="field">
<label>Shoe Color</label>
<input type="text" name="shoe-color" placeholder="Shoe Color">
</div>
<div class="field">
<label>Shoe Image Link</label>
<input type="text" name="shoe-image" placeholder="Shoe Image URL">
</div>
<div class="ui success message" style="display: none">
<div class="header">Form Completed</div>
<p>You have succesfully created a show.</p>
</div>
<div class="ui error message" style="display: none">
<div class="header">Action Forbidden</div>
<p id="errmsg"></p>
</div>
<button class="ui button" type="submit">Create Shoe</button>
</form>
</div>
<script type="text/javascript" src="shoe.js"></script>
</body>
</html>