-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpayment.html
57 lines (55 loc) · 2.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>STCPay</title>
</head>
<body>
<div class="nav">
<ul>
<li onclick="window.location.href='login.html'">STC Pay</li>
<li id="left"><img src ="STC.svg" id="logo"></li>
<li id="right" class="username" ><span id="user_name" >Name</span></li>
<li id="right"><img src="carbon_user-avatar-filled-alt.svg"></li>
</ul>
</div>
<hr>
<div class="mainsection3">
<p>Available Balance:<sub_text id="user_bal"><t id="total_balance">$100</t></sub_text></p>
<h1>Send Money</h1>
<form id="form3">
<div>
<label>Email</label><br>
<input class="phone_number" type="email" id="email" required>
</div>
<div class="last">
<label>Amount</label><br>
<input class="amount" id="amount" type="text" required>
</div>
<button onclick="send_money()">SEND</button>
</form>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.9.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.9.1/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.9.1/firebase-auth.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyBc2On0APkLuNU4Yaa3azMaiA0xyk-89js",
authDomain: "stcdryrun3.firebaseapp.com",
projectId: "stcdryrun3",
storageBucket: "stcdryrun3.appspot.com",
messagingSenderId: "148436928182",
appId: "1:148436928182:web:f33bba9513e6d2167e0817"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="./payment.js"></script>
</body>
</html>