-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpantaloonscredit.html
308 lines (258 loc) · 11.4 KB
/
pantaloonscredit.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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<!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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="frontpage.css">
<!-- favicon link -->
<link rel="manifest" href="/site.webmanifest">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<style>
#container
{
display: flex;
}
.left{
height: 400px;
width: 400px;
margin-left: 20px;
display: flex;
flex-direction: column;
}
.right{
height: 400px;
width: 100%;
margin-left: 40px;
}
.leftbtn {
height: 100px;
width: 100%;
background-color: #f5f5f5;
text-align: left;
color:#a7a1a7;
font-size: 16px;
border: none;
border-bottom: 1px solid #a7a1a7;
}
.leftbtn:hover{
background-color: #01a58d;
color: white;
}
.leftspan{
margin-left: 20px;
}
.center
{
height: 100px;
padding: 30px;
text-align: center;
line-height: 0px;
background-color:#f2f2f2;
}
.colspace{
width: 200px;
height: 40px;
background-color: white;
}
.centerb{
padding: 20px;
background-color: #f2f2f2;
margin-top: 20px;
height: 150px;
}
.centerbh3{
color: teal;
}
.size{
font-size: 50px;
color: teal;
margin: 30px;
}
/* ----------------------------------------right side styles --------------------------------------------------------------------*/
</style>
</head>
<body>
<!-- top line start -->
<a href=""><div id="top">Diwali Dhamaka: Upto 60% Off + Extra 20% Off on orders of Rs. 3500 & above. Use Coupon: DIWALISALE | * T & C Apply. Shop Now </div></a>
<!-- top line end -->
<!-------------------------------- navigation bar start --------------------------------------------------------->
<ul id="navbar">
<img id="myntraimg" src="https://pantaloons.imgix.net/img/app/brands/pantaloons/v2/PT_D_logo.png">
<!-- women section start -->
<a href="womens.html"><li>WOMEN
<!-- hover contents -->
<div id="innerdiv">
<ul class="innerul">
<li class="head">NEW ARRIVALS</li>
<li class="tail">tees & tops</li>
<li class="tail">jeans</li>
<li class="tail"> Shorts & Capris</li>
</ul>
<ul>
<li class="head">WESTERN WEAR</li>
<li class="tail">Tees & Tops</li>
<li class="tail">Shirts & Blouses</li>
<li class="tail">Dresses & Jumpsuits</li>
<li class="tail">Suits & Blazers</li>
<li class="tail">Sweaters & Sweatshirts</li>
<li class="tail">Shrugs</li>
<li class="tail">Jackets</li>
<li class="tail">Trousers</li>
<li class="tail">Jeans</li>
<li class="tail">Shorts</li>
<li class="tail">Culottes & Capris</li>
<li class="tail">Skirts</li>
</ul>
<ul>
<li class="head">ETHNIC WEAR</li>
<li class="tail">Kurtas</li>
<li class="tail">Kurtis & Tunics</li>
<li class="tail">Tops & Cholis</li>
<li class="tail">Kurta Sets</li>
<li class="tail">Dresses</li>
<li class="tail">Dupattas </li>
<li class="tail">Leggings</li>
<li class="tail">Skirts & Lehengas</li>
<li class="tail">Pants & Palazzos</li>
<li class="head">SARIS</li>
<li class="head">PLUS SIZE</li>
</ul>
<ul>
<li class="head">HANDBAGS</li>
<li class="head">FOOTWEAR</li>
<li class="tail">Ballerina </li>
<li class="tail">Flip Flops </li>
<li class="tail">Sandals </li>
<li class="tail"> Heels</li>
<li class="tail"> Sneakers</li>
<li class="tail">Casual Shoes</li>
<li class="tail">Loafers</li>
<li class="head">ATHLEISURE</li>
<li class="head">INNER WEAR</li>
<li class="head">SLEEPWEAR</li>
<li class="head">MASKS</li>
</ul>
</div>
</li></a>
<!-- women section end ---------------->
<!-- men section start -->
<li>MEN
<div id="innerdiv">
</div>
</li>
<!-- men section end ----------------------->
<!-- kids section start -->
<li>KID
<div id="innerdiv">
</div>
</li>
<!-- women section end ----------------------->
<!-- home section start -->
<li>HOME
<div id="innerdiv">
</div>
</li>
<!-- home section end --------------------->
<!-- accessories section start -->
<li>ACCESSORIES
<div id="innerdiv">
</div>
</li>
<!-- accessories section end ---------------->
<!-- brans section start -->
<li class="move">BRANDS</li>
<!-- brans section end ---------------------->
<!-- sale section start -->
<li class="sale">SALE</li>
<!-- sale section end ----------------------->
<!-- search button with icon -->
<div><a href=""><p class="sp"><span >GREENCARD</span><span class="move">TRACK ORDER</span><span class="move">STORE LOCATOR </span><span class="move">CONTACT US</span></p></a>
<input class="search" type="text" placeholder="Search.." name="search">
<button class="searchicon" type="submit"><i class="fa fa-search"></i></button>
<button id="login" class="btn_design"><i class="fa fa-user-circle-o" aria-hidden="true"></i><p class="lo">Login</p></button>
<select id="navprofile" onchange="profile()">
<option value=""></option>
<option value="account">My Account</option>
<option value="order">My Order</option>
<option value="wishlist">My wishlist</option>
<option value="return">Return</option>
</select>
<button class="btn_design"><i class="fa fa-heart-o" aria-hidden="true"></i>
<div class="fav"><p>SAVED THE PRODUCT</p></div>
</button>
<button class="btn_design"><i class="fa fa-shopping-bag" aria-hidden="true"></i>
<div class="cart"></div>
</button>
</div>
</ul>
<hr>
<!---------------------------------------------------- navigation bar end ----------------------------------------------------------------------->
<div id="container">
<!------------------------------------------ left side buttons start ------------------------------------------------------------------>
<div class="left">
<button id="order" class="leftbtn"><i class="fa fa-refresh" aria-hidden="true"></i><span class="leftspan">ORDER HISTORY</span></button>
<button id="credits" class="leftbtn"><i class="fa fa-credit-card" aria-hidden="true"></i><span class="leftspan">PANTALOONS CREDITS</span></button>
<button class="leftbtn"><i class="fa fa-address-book" aria-hidden="true"></i><span class="leftspan">ACCOUNT & INFORMATION</span></button>
<button class="leftbtn"><i class="fa fa-credit-card" aria-hidden="true"></i><span class="leftspan">GREEN CARD POINTS</span></button>
<button class="leftbtn"><i class="fa fa-heart" aria-hidden="true"></i><span class="leftspan">WISHLIST ITEMS</span></button>
<button class="leftbtn"><i class="fa fa-map-marker" aria-hidden="true"></i><span class="leftspan">MY ADDRESSES</span></button>
<button class="leftbtn"><i class="fa fa-unlock-alt" aria-hidden="true"></i><span class="leftspan">CHANGE PASSWORD</span></button>
<button class="leftbtn"><i class="fa fa-power-off" aria-hidden="true"></i><span class="leftspan">LOGOUT</span></button>
</div>
<!------------------------------------------------- left side buttons end ----------------------------------------------------------------------->
<!------------------------------------------------- right side contents display start ------------------------------------------------------------->
<div class="right">
<h3>Pantaloons Credits</h3>
<hr>
<div id="test">
<div class="center">
<p>Your Pantaloons Credits</p>
<p class="size">0</p>
<p>You can use these credits for your purchase at the time of check out</p>
<p>Credits is the actual amount of the product when returned, cashbacks or any other promotional value.</p>
</div>
<div class="centerb">
<h3 class="centerbh3">PANTALOONS CREDITS USAGE HISTORY</h3>
<table>
<tr>
<td class="colspace">Date</td>
<td class="colspace">Order ID</td>
<td class="colspace">Description</td>
<td class="colspace">Credit</td>
<td class="colspace">Depit</td>
<td class="colspace">Balance</td>
</tr>
</table>
</div>
</div>
</div>
<!-- pantallons credit -->
<!------------------------------------------------- right side contents display end ------------------------------------------------------------->
</body>
</html>
<script>
document.querySelector("#credits").addEventListener("click",fun1)
function fun1(){
var x=document.querySelector("#test");
if(x.style.display=="none"){
x.style.display = "block";
} else {
x.style.display = "none";
}
}
//--------------------------------------------------pantaloons credits--------------------------------------------
// document.getElementById("credits").addEventListener("click",pantaloonscredits)
// pantaloonscredits()
// function pantaloonscredits(){
// console.log("here");
// var x=document.querySelector("#credithis");
// if(x.style.display=="none"){
// x.style.display = "block";
// } else {
// x.style.display = "none";
// }
// }
</script>