-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuccess.html
97 lines (87 loc) · 3.56 KB
/
success.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
<!doctype html>
<html lang="en">
<head>
<title>Success</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<!-- Remote Style Sheets -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css">
<!-- Local CSS files-->
<link href="css/success.css" rel="stylesheet" />
<link href="css/order.css" rel="stylesheet" /> <!-- Copy some styles from here -->
<!-- Local Common Services CSS files -->
<link href="../common/css/common.css" rel="stylesheet" />
<!-- Renote JS files -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Local Common Services JS files-->
<script src="../common/js/fetchLoggedInUser.js"></script>
<script src="../common/js/logoutUser.js"></script>
<script src="../common/js/common.js"></script>
<!-- Local JS Files -->
<script src="js/success.js"></script>
</head>
<body class="m-0 h-100">
<!-- Navigation Bar -->
<header class="p-3 fixed-top bg-white">
<div id="mainAlert" class="alert alert-danger d-none alert-height" role="alert">
An error has occurred.
</div>
<div class="container-fluid container-xl d-flex align-items-center justify-content-between">
<a class="navbar-brand-text text-primary text-decoration-none" href="/index.html">WeGo</a>
<nav id="navbar" class="navbar">
<ul>
<li id="usernameList" class="nav-item dropdown logged-in-user">
<a class="nav-link dropdown-toggle px-3 py-2 text-dark" href="#" id="usernameLabel"
role="button" data-bs-toggle="dropdown" aria-expanded="false">
Username
</a>
<div class="dropdown-menu" aria-labelledby="usernameLabel">
<a class="pe-4 dropdown-item" href="dashboard.html">Dashboard</a>
<a class="pe-4 dropdown-item" href="#">Account</a>
<a class="pe-4 dropdown-item" href="orders.html">Orders</a>
</div>
</li>
<li class="nav-item mx-3">
<button id="logoutButton" class="w-100 nav-item btn color-primary px-3 py-2 text-light"
style="text-align: left!important;">Log out</button>
</li>
</ul>
<i id="mobile-nav-toggle" class="bi text-secondary mobile-nav-toggle bi-list"></i>
</nav>
</div>
</header>
<main id="main" class="d-flex justify-content-center align-items-center min-vh-100 nav-height-padding">
<div class="container">
<div class="card shadow-lg py-5 bg-white card-rounded">
<div class="card-body p-5">
<div class="row">
<div class="col text-center">
<div class="pb-3">
<a class="navbar-brand-text text-primary text-decoration-none" href="/index.html">WeGo</a>
</div>
<div>
<h2><strong>Thank You For Your Order!</strong></h2>
</div>
<div class="pb-3">
<h5>Your order is being processed.</h5>
</div>
<div class="display-inline">
<h6><small>Order # </small></h6>
<h6 class="text-muted" id="orderId"><small></small></h6>
</div>
<div class="pt-4">
<a class="btn btn-primary" href="orders.html">View orders</a>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
</html>