forked from 1301yashraj/fleet-lock-616
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment.html
242 lines (187 loc) · 5.95 KB
/
payment.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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!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">
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./styles/style_PR.css">
<title>Payment Gateway</title>
<style>
*{
font-family: ProximaNova, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
label{
color: white;
}
body{
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
margin: 0 -16px;
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
.col-25 {
-ms-flex: 25%; /* IE10 */
flex: 25%;
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
.col-50 {
-ms-flex: 50%; /* IE10 */
flex: 50%;
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
.col-75 {
-ms-flex: 75%; /* IE10 */
flex: 75%;
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
.col-25,
.col-50,
.col-75 {
padding: 0 16px;
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
.container {
background-color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;
padding: 5px 20px 15px 20px;
/* border: 1px solid lightgrey; */
border-radius: 3px;
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
input[type=text] {
width: 90%;
margin-bottom: 20px;
background-color: rgb(247, 240, 240);
color: rgb(234, 233, 241);
padding: 12px;
border: 1px solid #ccc;
/* border-radius: 3px; */
background-image: url(https://htmlcolorcodes.com/assets/images/html-color-codes-color-tutorials-hero.jpg);
}
label {
margin-bottom: 10px;
display: block;
}
.icon-container {
margin-bottom: 20px;
padding: 7px 0;
font-size: 24px;
}
#btn {
background-color: black;
color: white;
padding: 12px;
margin: 10px 0;
border: none;
width: 300px;
border-radius: 3px;
cursor: pointer;
font-size: 17px;
margin-top: 20%;
display: flex;
margin: auto;
justify-content: center;
align-items: center;
}
#btn:hover {
background-color: #06af22;
}
span.price {
float: right;
color: grey;
}
/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (and change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {
.row {
flex-direction: column-reverse;
}
.col-25 {
margin-bottom: 20px;
}
}
#pay {
text-align: center;
width: 50%;
height: 50px;
margin: auto;
margin-bottom: 20px;
color: rgb(233, 229, 229);
}
#Dcard{
height: 400px;
margin-left: 30%;
display: flex;
}
#secure{
text-align: center;
color: white;
}
</style>
</head>
<body>
<div id="navbar"></div>
<h1 id="pay">PAYMENT GATEWAY</h1>
<div id="Dcard">
<img src="https://i.pinimg.com/originals/0f/c1/e3/0fc1e399e98d357623b1d78c2820e5cd.gif" alt="">
</div>
<div class="row">
<div class="col-75">
<div class="container">
<form action="">
<div class="row">
<div class="col-50">
<h3></h3>
<label for="fname"><i class="fa fa-user"></i> Full Name</label>
<input type="text" id="fname" name="firstname" placeholder="Full name" required>
<label for="email"><i class="fa fa-envelope"></i> Email</label>
<input type="text" id="email" name="email" placeholder="Email Address" required>
</div>
<div class="col-50">
<h3 style="color: white;">Payment</h3>
<label for="cname">Name on Card</label>
<input type="text" id="cname" name="cardname" placeholder="Name as on card" required>
<label for="ccnum">Credit card number</label>
<input type="text" id="ccnum" name="cardnumber" placeholder="16 Digit Card Number"required>
<label for="expmonth">Exp Month</label>
<input type="text" id="expmonth" name="expmonth" placeholder="Month"required>
<div class="row">
<div class="col-50">
<label for="expyear">Exp Year</label>
<input type="text" id="expyear" name="expyear" placeholder="Year"required>
</div>
<div class="col-50">
<label for="cvv">CVV</label>
<input type="text" id="cvv" name="cvv" placeholder="3 Digit CVV"required>
</div>
</div>
<input id="btn" type="submit" value="CONTINUE TO CHECKOUT"></a>
</div>
</div>
<label>
<input style="margin-bottom: 20px;" type="checkbox" checked="checked" name="sameadr"> By clicking on this, You are Accepted the Rules and Regulation of hotel
</label>
<div id="secure">
<h3>100% secure payment powered by PayTm </h3>
</div>
</form>
</div>
</div>
</body>
</html>
<script src="./scripts/navbar_import.js" type="module"></script>
<script src="./scripts/buttons_navbar_PR.js"></script>
<script>
let frm = document.querySelector("form");
frm.addEventListener("submit", ()=>{
event.preventDefault();
window.location.href = "./endPage_PD.html";
});
</script>