-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpayment.html
147 lines (125 loc) · 4.14 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
<!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>Document</title>
<!-- <link rel="stylesheet" href="payment.css"> -->
<!-- <style>
/* Write all necessery styles here */
body{
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
}
body div{
display: flex;
flex-direction: column;
padding: 30px;
margin: 20px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
form > input{
margin-top: 10px;
padding: 5px;
}
form > select{
margin-top: 10px;
padding: 5px;
}
body form {
display: flex;
flex-direction: column;
}
body > table{
border: 1px solid;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
margin-bottom: 100px;
}
th , td{
padding: 15px;
text-align: center;
}
body > table > thead{
background-color: yellow;
}
#parent{
display: grid;
grid-template-columns: 1fr 1fr;
}
#rightside{
height: fit-content;
}
</style> -->
<link rel="stylesheet" href="payment.css">
</head>
<body>
<!-- first navbar -->
<div id="mybagnav">
<div id="brandname">
<div id="img-cnt-clickable">
<img src="https://cdn07.nnnow.com/web-images/master/navtree_metaData/59b2657be4b0e6b6e16a9180/1548053082431/se.png" alt="">
</div>
</div>
<div id="logindetails">
<p id="logindetailsp"></p>
</div>
</div>
<!-- first navbar -->
<!-- second navbar -->
<div id="simplenav">
<div>
<h3 id="mybagcount">PAYMENT DETAILS <span id="numberofproducts"></span></h3>
</div>
</div>
<!-- second navbar -->
<div id="parent">
<div id="overview">
<div id="leftside">
<h1>Enter Card Details</h1>
<form>
<select name="Card_Type" id="card_type" required >
<option value="credit">MASTER</option>
<option value="vis">VISA</option>
<option value="rupay">RUPAY</option>
</select>
<h3>Card Number</h3>
<input type="number" id="card_num" placeholder="Enter card Number " required>
<h3>Exp Date</h3>
<input type="number" placeholder="MM / YY" maxlength='7' required>
<input type="password" id="cvv" placeholder="cvv" required>
<input type="submit" value="confirm" id="checkoutbutton">
</form>
</div>
</div>
<div id="right">
<div id="promoanssum">
<!-- <div id="promocode">
<input type="text" id="couponint" placeholder="Enter Promo code">
<button id="couponbut">Check</button>
</div> -->
<div id="ordersummary">
<H4>OVERVIEW</H4>
<!-- <DIV id="box1">
<Label id="lab">Subtotal</Label>
<span id="priceshow"></span>
</DIV>
<div id="box1">
<label id="lab2">Discount</label>
<span id="afterdiscountprice">0</span>
</div> -->
<hr>
<div id="box2">
<label for="">Total</label>
<span id="finalprice2">Rs.<span id="finalprice">0</span></span>
</div>
</div>
</button>
</div>
</div>
</div>
</body>
</html>
<script src="payment.js"></script>