-
Notifications
You must be signed in to change notification settings - Fork 0
/
loyalty-points-payment.html
97 lines (97 loc) · 3.11 KB
/
loyalty-points-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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Loyalty Points
</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="foodstyles.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js">
</script>
<script src="food-order-confirmation.js">
</script>
<script src="script.js">
</script>
<script src="loyalty-points-payment.js">
</script>
<style>
.cc{
text-align: left;
padding:2em;
border-right:5px solid black;
outline:none;
}
button{
width:8em;
height:5em;
}
</style>
</head>
<body>
<!--Main menu navbar-->
<script src="nav-bar.js">
</script>
<div id="nav-bar">
</div>
<br>
<div class="container main-menu">
<div class="row">
<div class="col-sm-12">
<h1>Loyalty Points Payment
</h1>
<hr>
</div>
</div>
<div class="row">
<div class="col-sm-4 cc">
<h4>Order Summary:
</h1>
<p id="orderSummary" style="font-size: 15px;">
</p>
<h4>Order History:
</h4>
<p id="orderHistory" style="font-size: 15px;">
</p>
</div>
<div class="col-sm-5 cc">
<h4 id="LP">Loyalty Points Balance: $<span id="pointBalance"></span>
</h4>
<p id="loyaltyBal" style="font-size: 15px;">
</p>
</div>
<div id="purchaseButtons" class="col-sm-3 cc" style="border-right:none">
<button onclick="purchase();" style="background-color: lightgreen; width:100%;">CONFIRM PURCHASE
</button>
<br>
<br>
<button onclick="history.back();" style="background-color: red; width:100%;">RETURN
</button>
</div>
<div id="receiptButtons" class="col-sm-3 cc" style="border-right:none; display:none">
<input type="text" class="form-control" id="SMS" name="SMS" placeholder="Phone Number" required="" autofocus="" style="width:100%;"/>
<button onclick="textReceipt();" style="background-color: cyan; width:100%;">Send SMS Receipt
</button>
<br>
<br>
<input type="text" class="form-control" id="email" name="email" placeholder="E-mail" required="" autofocus="" style="width:100%;"/>
<button onclick="emailReceipt();" style="background-color: orange; width:100%;">Send E-mail Receipt
</button>
<br>
<br>
<br>
<a href="index.html">
<button style="background-color: red;">HOME
</button>
</a>
</div>
</div>
</div>
</div>
</body>
</html>