-
Notifications
You must be signed in to change notification settings - Fork 121
/
Copy pathpayment.html
136 lines (130 loc) · 6.37 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Payment · Smarket</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Display:wght@900&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Display:wght@900&family=Noto+Serif+TC:wght@600&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Texturina:wght@700&display=swap" rel="stylesheet">
<!-- Custom styles -->
<link href="styles/payment.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light " style=" background-color:#37bdda;">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<a class="navbar-brand" href="index.html" style="font-size:40pt;font-family: 'Big Shoulders Stencil Display', cursive; text-shadow: 3px 3px #e7d5d5; color: #50270b;">Smarket</a>
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="ordering.html">Ordering </a>
</li>
<li class="nav-item">
<a class="nav-link" href="profilePage.html">Profile</a>
</li>
</ul>
</div>
</nav>
<div class="emp-payment container">
<h2>Payment</h2>
<span class="lead">Please choose a method of payment.</span>
<hr>
<form id="payment">
<div class="d-flex justify-content-between mt-3 mb-3">
<div class="form-check">
<label>
<input id="mastercard" class="form-check-input" type="radio" name="exampleRadios" value="option1">
<img src="images/mastercard.png" alt="Mastercard" />
</label>
</div>
<div class="form-check">
<label>
<input id="visa" class="form-check-input" type="radio" name="exampleRadios" value="option2">
<img src="images/visa.png" alt="VISA" />
</label>
</div>
</div>
<div class="form-group">
<label for="number">Credit card number:</label>
<input type="text" class="form-control" id="number" placeholder="Credit card number..." pattern="[0-9]{16}" required>
<small class="form-text text-muted">Please enter your 16-digit credit card number.</small>
</div>
<div class="row">
<div class="form-group col-4">
<label>Expiry month:</label>
<select id="month" class="custom-select" required>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
<small class="form-text text-muted">Please choose the expiry month.</small>
</div>
<div class="form-group col-8">
<label>Expiry year:</label>
<select id="year" class="custom-select" required>
<option>2020</option>
<option>2021</option>
<option>2022</option>
<option>2023</option>
<option>2024</option>
<option>2025</option>
<option>2026</option>
<option>2027</option>
<option>2028</option>
<option>2029</option>
<option>2030</option>
<option>2031</option>
</select>
<small class="form-text text-muted">Please choose the expiry year.</small>
</div>
</div>
<div class="form-group">
<label for="cvv">CVV number:</label>
<input type="password" class="form-control" id="cvv" placeholder="CVV number..." pattern="[0-9]{3}" required>
<small class="form-text text-muted">Please enter the 3-digit CVV number on the back of your credit card.</small>
</div>
<div class="custom-control custom-checkbox mb-3">
<input type="checkbox" class="custom-control-input" id="remember">
<label class="custom-control-label" for="remember">Remember my payment info</label>
<small class="form-text text-muted">Your CVV number will not be saved for extra security.</small>
</div>
<button id="submit" class="btn btn-block btn-primary btn-rounded">Confirm Payment</button>
</form>
</div>
<div id="space"></div>
<footer class="container footer fixed-bottom mt-auto py-3">
<a href="receipt.html" id="continue" type="button" class="mt-auto mb-3 btn btn-block disabled btn-primary btn-rounded">Proceed to Receipt</a>
</footer>
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-app.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-firestore.js"></script>
<!-- jQuery and Bootstrap Bundle (includes Popper) -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<!-- Your own Firebase API key information -->
<script src="scripts/firebase_api.js"></script>
<!-- Your own JavaScript functions included here -->
<script src="scripts/payment.js"></script>
</body>
</html>