-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtracking.html
103 lines (87 loc) · 3.41 KB
/
tracking.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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="images/sherman-logo-title.png" type="image/icon type">
<title>Tracking</title>
<!-- This code is needed for responsive design to work.
(Responsive design = make the website look good on
smaller screen sizes like a phone or a tablet). -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Load a font called Roboto from Google Fonts. -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<!-- Here are the CSS files for this page. -->
<link rel="stylesheet" href="styles/shared/general.css">
<link rel="stylesheet" href="styles/shared/sherman-header.css">
<link rel="stylesheet" href="styles/pages/tracking.css">
</head>
<body bgcolor = "grey">
<div class="sherman-header">
<div class="sherman-header-left-section">
<a href="sherman.html" class="header-link">
<img class="sherman-logo"
src="images/sherman-logo-white.png">
<img class="sherman-mobile-logo"
src="images/sherman-mobile-logo-white.png">
</a>
</div>
<div class="sherman-header-middle-section">
<input class="search-bar" type="text" placeholder="Search">
<button class="search-button">
<img class="search-icon" src="images/icons/search-icon.png">
</button>
</div>
<div class="sherman-header-right-section">
<a class="orders-link header-link" href="orders.html">
<span class="returns-text">Returns</span>
<span class="orders-text">& Orders</span>
</a>
<a class="list-link header-link" href="checkout.html">
<img class="list-icon" src="images/icons/list-icon.png">
<div class="list-quantity">3</div>
<div class="list-text">Check</div>
</a>
</div>
</div>
<div class="main">
<div class = "under-maintenance">Sorry, This page is under Maintenance</div>
<div class = "top-line">________________________________________________</div>
<div class="order-tracking">
<a class="back-to-orders-link link-primary" href="orders.html">
<button class = "viewAllOrders">View all orders</button>
</a>
<div class="delivery-date">
Arriving on Monday, June 13
</div>
<div class="product-info">
Black and Gray Athletic Cotton Socks - 6 Pairs
</div>
<div class="product-info">
Quantity: 1
</div>
<img class="product-image" src="images/products/athletic-cotton-socks-6-pairs.jpg">
<div class="progress-labels-container">
<div class="progress-label">
Preparing
</div>
<div class="progress-label current-status">
Shipped
</div>
<div class="progress-label">
Delivered
</div>
</div>
<div class="progress-bar-container">
<div class="progress-bar"></div>
</div>
</div>
</div>
<script>
const url = new URL(window.location.href);
console.log(url.searchParams.get('orderId'));
console.log(url.searchParams.get('productId'));
</script>
</body>
</html>
<!--URL parameters = search parameters >