-
Notifications
You must be signed in to change notification settings - Fork 13
/
cinsert.html
167 lines (149 loc) · 4.37 KB
/
cinsert.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html>
<head>
<title>Insertion Customer</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
h1{
border: 10px solid grey;
border-radius: 28px;
padding: 19px;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: white;
}
* {
box-sizing: border-box;
}
.container {
padding: 19px;
background-color: snow;
}
input[type=date] {
width: 17%;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 9px;
font-size: 18px;
background-color: white;
background-position: 10px 10px;
background-repeat: no-repeat;
padding: 20px 20px 22px 10px;
font-weight: bold;
font-size: 25px;
}
input[type=text], input[type=tel], input[type=number]
{
width: 50%;
padding: 19px;
margin: 5px 0 32px 0;
display: inline-block;
border-radius: 8px;
border: 2px solid grey;
background: #f1f1f0;
font-weight: bold;
font-size: 19px;
}
input[type=text]:focus,input[type=number],input[type=tel]:focus {
background-color: #ffffff;
outline: none;
}
hr {
border: 1.5px solid #f1f1f1;
margin-bottom: 35px;
}
.registerbtn{
background-color: forestgreen;
color: white;
padding: 16px 10px;
margin: 8px 20px 20px 50px;
border-radius: 24px;
cursor: pointer;
width: 15%;
opacity: 0.7;
align-content: center;
font-family: "verdana";
font-weight: bold;
-webkit-box-shadow: 0px 6px 0px green;
-moz-box-shadow: 0px 6px 0px green;
box-shadow: 0px 6px 0px green;
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: translate(0, 5px) rotateX(25deg);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px)
}
.registerbtn:hover
{
opacity: 1;
background-color:forestgreen;
}
.registerbtn1{
background-color: red;
color: white;
padding: 16px 10px;
margin: 8px 20px 20px 50px;
border-radius: 24px;
cursor: pointer;
width: 15%;
opacity: 0.7;
align-content: center;
font-family: "verdana";
font-weight: bold;
-webkit-box-shadow: 0px 6px 0px darkred;
-moz-box-shadow: 0px 6px 0px darkred;
box-shadow: 0px 6px 0px darkred;
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
-webkit-transform: translate(0, 5px) rotateX(25deg);
-moz-transform: translate(0, 4px);
transform: translate(0, 4px)
}
.registerbtn1:hover
{
opacity: 1;
background-color:red;
}
label{
font-weight: bold;
font-size: 20px;
font-family: 'verdana';
}
</style>
</head>
<body>
<form ACTION="cinsert.php"METHOD="POST">
<div class="container">
<center><h1 style="color:#3366cc" size="30";><font style="border: 10px solid grey; padding: 19px;">FILL THE FORM WITH PROPER DETAILS</font></h1></center>
<hr>
<center>
<label for="custid"><b>Customer ID</b></label><br>
<input type="text" placeholder="Enter Customer ID" name="custid" required><br>
<label for="fname"><b>Customer's First Name</b></label><br>
<input type="text" placeholder="Enter First Name" name="fname" required><br>
<label for="lname"><b>Customer's Last Name</b></label><br>
<input type="text" placeholder="Enter Last Name" name="lname" required><br>
<label for="dob"><b>Date of Birth</b></label><br>
<input type="date" placeholder="Enter Date of Birth" name="dob" required>
<br>
<br>
<br>
<label for="address"><b>Address</b></label><br>
<input type="text" placeholder="Enter Address" name="address" required><br>
<label for="phone"><b>Contact Number</b></label><br>
<input type="tel" placeholder="Enter Contact Number" name="phone" required><br>
<label for="G_ID"><b>Gallery ID</b></label><br>
<input type="text" placeholder="Enter Gallery ID" name="G_ID" required><br>
<label for="artworkid"><b>Artwork ID</b></label><br>
<input type="text" placeholder="Enter Artwork ID" name="artworkid" required><br>
<hr>
<button type="submit" class="registerbtn">SUBMIT</button>
<button type="reset" class="registerbtn1">RESET</button>
</center>
</div>
</form>
</body>
</html>