-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount_details.html
102 lines (96 loc) · 3.41 KB
/
account_details.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Account Details</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #f0f0f0; /* Assuming a light gray background */
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
padding-top: 50px; /* Space for the header */
}
#accountDetailsWrapper {
background-color: #ffffff;
padding: 20px;
width: 90%;
max-width: 500px; /* Adjust width as desired */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 8px;
margin: 20px;
text-align: left;
}
h1 {
text-align: center;
color: #333;
}
p {
font-size: 1rem;
line-height: 1.6;
color: #666;
}
strong {
color: #333;
}
</style>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="menu_toggle.css">
<link rel="stylesheet" href="quick_menu.css">
</head>
<body>
<div class="menu-toggle" id="menuToggle">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<!--<div class="quick-menu" id="quickMenu" include="./quick_menu.html"></div>-->
<!--<script src="inject.js"></script>-->
<div class="quick-menu" id="quickMenu">
<div class="user-info">
<img src="user-icon.jpg" alt="Profile Picture">
<span class="username" id="username">username</span>
</div>
<ul class="menu-options">
<li><a href="home.html">Home</a></li>
<li><a href="#">Account</a></li>
<li><a href="financialGoal.html">Financial Goal</a></li>
<li><a href="#">Credit Score</a></li>
<li><a href="CostomizeCategory.html">Create New Category</a></li>
<li><a href="#">Standard Investments</a></li>
<li><a href="#">Bond Investments</a></li>
<li><a href="#">Combined Expenses</a></li>
<li><a href="#">Education</a></li>
<li><a href="setting.html">Settings</a></li>
</ul>
</div>
<script src="quick_menu.js"></script>
<div id="accountDetailsWrapper">
<h1>Account Details</h1>
<div id="accountInfo">
<!-- Details will be inserted here -->
</div>
</div>
<script>
window.onload = function() {
const urlParams = new URLSearchParams(window.location.search);
const accountName = urlParams.get('accountName');
const amount = urlParams.get('amount');
const userName = urlParams.get('userName');
const accountNumber = urlParams.get('accountNumber');
// Example of how to display the information
document.getElementById('accountInfo').innerHTML = `
<p><strong>User Name:</strong> ${userName}</p>
<p><strong>Account Name:</strong> ${accountName}</p>
<p><strong>Account Number:</strong> ${accountNumber}</p>
<p><strong>Amount:</strong> ${amount}</p>
<p><strong>Recent Transactions:</strong> [Placeholder for transaction list]</p>
`;
}
</script>
</body>
</html>