-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew-order-form.html
85 lines (69 loc) · 2.72 KB
/
new-order-form.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
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel='stylesheet' href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" />
<style>
.container {
margin-bottom: 20px
}
.center-div {
float: none;
margin: 0 auto;
}
.center-text {
text-align: center
}
.medium-screen {
max-width: 800px;
}
.margin-sides {
padding-left: 10px;
padding-right: 10px;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="src/new-order.js"></script>
<title>New Order</title>
</head>
<body>
<div class="row container">
<div class="col-md-12 margin-sides center-div">
<form id="formOrder">
<h2>Process Order</h2>
<div class="form-group">
<label for="first_name">First Name</label>
<input class="form-control" type="text" id="first_name" name="first_name">
</div>
<div class="form-group">
<label for="last_name">Last Name</label>
<input class="form-control" type="text" id="last_name" name="last_name">
</div>
<div class="form-group">
<label for="email">Email</label>
<input class="form-control" type="email" id="email" name="email">
</div>
<div class="form-group">
<label for="product">Product</label>
<input class="form-control" type="text" id="product" name="product">
</div>
<div class="form-group">
<label for="state">State</label>
<select class="form-control" name="state" id="state">
<option value="toCook">To cook</option>
<option value="cooking">Cooking</option>
<option value="cooked">Cooked</option>
</select>
</div>
<div class="form-group">
<label for="instructions">Instructions</label>
<textarea name="instructions" id="instructions" cols="30" rows="4" class="form-control"></textarea>
</div>
</form>
<button class="btn btn-block btn-success" onclick="postNewOrder()">Enviar</button>
</div>
</div>
</body>
</html>