-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
67 lines (63 loc) · 3.06 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>The Doughnut Shop</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<script src="js/jquery.app.js"></script>
</head>
<body>
<h1>Doughnut Shop</h1>
<form id="new-doughnut">
<input type="text" name='doughnut[flavor]' id="new-doughnut-flavor" placeholder="What type of doughnut?" value="Chocolate">
<select name="doughnut[style]" id="new-doughnut-style">
<option value="Old Fashioned">Old Fashioned</option>
<option value="Cake">Cake</option>
<option value="French Cruller">French Cruller</option>
<option value="Fritter">Fritter</option>
<option value="Cream">Cream</option>
<option value="Jelly">Jelly</option>
<option value="Cruller">Cruller</option>
<option value="Glazed">Glazed</option>
<option value="Yeast">Yeast</option>
</select>
<input type="submit" value='Save My Doughnut'>
</form>
<ul id="doughnuts">
</ul>
<div class="modal fade" id="edit-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Edit Doughnuts</h4>
</div>
<div class="modal-body">
<form id="edit-doughnut">
<input type="text" name='doughnut[flavor]' id="edit-doughnut-flavor" placeholder="What type of doughnut?" value="Chocolate">
<select name="doughnut[style]" id="edit-doughnut-style">
<option value="Old Fashioned">Old Fashioned</option>
<option value="Cake">Cake</option>
<option value="French Cruller">French Cruller</option>
<option value="Fritter">Fritter</option>
<option value="Cream">Cream</option>
<option value="Jelly">Jelly</option>
<option value="Cruller">Cruller</option>
<option value="Glazed">Glazed</option>
<option value="Yeast">Yeast</option>
</select>
<input type="submit" value='Save My Doughnut'>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>