-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile.html
More file actions
99 lines (99 loc) · 3.28 KB
/
profile.html
File metadata and controls
99 lines (99 loc) · 3.28 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./helpers/components.css" />
<link rel="stylesheet" href="./styles.css" />
<title>Profile</title>
<script src="./tailwind.js"></script>
</head>
<body>
<nav class="bg-gray-800 text-white p-6">
<ul class="flex justify-between items-center">
<li><a href="./transactions.html">Transactions</a></li>
<li><a href="./deposit.html">Deposit</a></li>
<li><a href="./withdraw.html">Withdraw</a></li>
<li><a href="./transfer.html">Transfer</a></li>
<li><a href="#">Account Profile</a></li>
<li><a id="logout-btn" href="#">Logout</a></li>
</ul>
</nav>
<div class="account-balance">
<p>Balance: ₦<span id="user-account-balance"></span></p>
</div>
<div class="container-fixed">
<h1>Account Profile</h1>
<form id="profile-form" class="account-profile" onsubmit="return false">
<div class="form-group">
<label class="form-control-label">Account Name</label>
<input type="text" id="account-name" class="form-control" required />
</div>
<div class="form-group">
<label class="form-control-label">Account Number</label>
<input
type="number"
id="account-number"
class="form-control"
required
readonly
/>
</div>
<label class="form-control-label">
<input type="checkbox" id="change-pin" />
Change Pin</label
>
<div id="pin-update-section">
<div class="form-group">
<label class="form-control-label">Current PIN</label>
<input
type="password"
id="current-pin"
maxlength="4"
class="form-control"
/>
</div>
<div class="form-group">
<label class="form-control-label">New PIN</label>
<input
type="password"
id="new-pin"
maxlength="4"
class="form-control"
/>
</div>
<div class="form-group">
<label class="form-control-label">Confirm New PIN</label>
<input
type="password"
id="confirm-new-pin"
maxlength="4"
class="form-control"
/>
</div>
</div>
<div class="form-group">
<button class="bg-gray-800 text-white p-2 rounded-md" id="update-btn">
Update
</button>
</div>
</form>
<button id="close-btn" class="bg-red-800 text-white p-2 rounded-md">
Close
</button>
<div id="confirm-close-btn-action">
<p>You are about to close account</p>
<button id="yes" class="bg-green-800 text-white p-2 rounded-md">
Yes
</button>
<button id="no" class="bg-gray-800 text-white p-2 rounded-md">
No
</button>
</div>
</div>
</body>
<script src="./common.js"></script>
<script src="./common-session.js"></script>
<script src="./profile.js"></script>
</html>