-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin_menu_add.html
141 lines (118 loc) · 2.79 KB
/
admin_menu_add.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content=
"width=device-width, initial-scale=1.0">
<title>
Customer Feedback
</title>
<style>
body {
font-family: Verdana;
text-align: center;
}
form {
background-color: #fff;
max-width: 500px;
margin: 25px auto;
padding: 30px 20px;
box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.5);
}
.form-control {
text-align: left;
margin-bottom: 25px;
}
.form-control label {
display: block;
margin-bottom: 10px;
}
.form-control input,
.form-control select,
.form-control textarea {
border: 1px solid #777;
border-radius: 2px;
font-family: inherit;
padding: 10px;
display: block;
width: 95%;
}
button{
align-items: center;
background-color: rgb(200, 195, 195);
border: 2px solid #111;
border-radius: 8px;
box-sizing: border-box;
color: #111;
cursor: pointer;
display: flex;
font-family: Inter,sans-serif;
font-size: 16px;
height: 48px;
justify-content: center;
line-height: 24px;
max-width: 100%;
padding: 0 25px;
position: relative;
text-align: center;
text-decoration: none;
}
.submit-button{
width: 100%;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
</style>
</head>
<script>
var name = document.getElementById("label-name");
var price = document.getElementById("label-price");
var img_location = document.getElementById("label-image");
var category = document.getElementById("label-category");
</script>
<body>
<h1>Add Item</h1>
<form name="myForm" action="" onsubmit="return validateForm()" method="post" id="form">
<div class="form-control">
<label form="name" id="label-name">
Name
</label>
<input type="text"
name="name"
placeholder="Enter name" />
</div>
<div class="form-control">
<label form="name" id="label-price">
Price
</label>
<input type="text"
name="name"
placeholder="Enter price" />
</div>
<div class="form-control">
<label form="name" id="label-image">
Image
</label>
<input type="text"
name="name"
placeholder="Enter image location" />
</div>
<div class="form-control">
<label form="name" id="label-category">
Category
</label>
<input type="text"
name="name"
placeholder="Veg / Non-veg" />
</div>
<div class="submit-button">
<button type="submit" value="submit">
Submit
</button>
</div>
</form>
</body>
</html>