-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbal.html
More file actions
139 lines (105 loc) · 6.4 KB
/
bal.html
File metadata and controls
139 lines (105 loc) · 6.4 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
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
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="bal.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..708,0..1,-50..200">
<script>
//wanted to put async js but couldnt reason skill issue
function deposit(){
let out1 = document.getElementById('para');
let bal = prompt("please enter the amount to depositt:");
let x = parseInt(bal)
alert("amount deposited"+ " _ "+ x);
out1.innerHTML = bal;}
// sidebar hover logic
function onenter(){
document.getElementById('as').setAttribute("class", "atag-after")
document.getElementById('as1').setAttribute("class", "atag-after")
document.getElementById('as2').setAttribute("class", "atag-after")
document.getElementById('as3').setAttribute("class", "atag-after")
document.getElementById('as4').setAttribute("class", "atag-after")
document.getElementById('as5').setAttribute("class", "atag-after")
document.getElementById('as6').setAttribute("class", "atag-after")
document.getElementById('sdb').setAttribute("class", "sidebar-after")
}
function onleave(){
document.getElementById('as').setAttribute("class", "atag")
document.getElementById('as1').setAttribute("class", "atag")
document.getElementById('as2').setAttribute("class", "atag")
document.getElementById('as3').setAttribute("class", "atag")
document.getElementById('as4').setAttribute("class", "atag")
document.getElementById('as5').setAttribute("class", "atag")
document.getElementById('as6').setAttribute("class", "atag")
document.getElementById('sdb').setAttribute("class", "sidebar")
}
</script>
</head>
<body>
<!-- sidebar >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-->
<aside class="sidebar" onmouseenter="onenter()" onmouseleave="onleave()" id="sdb" >
<ul class="links" id="lnks" style="background-color: transparent;">
<li id="lis">
<span id="spn" class="material-symbols-outlined">home</span>
<a id="as" class="atag" href="bal.html"> Home</a>
</li>
<li>
<span class="material-symbols-outlined">Dashboard</span>
<a class="atag" id="as1" href="index.html"> Dashboard</a>
</li><li>
<span class="material-symbols-outlined">Person</span>
<a class="atag" id="as2" href="login_page.html"> Login</a>
</li>
<li>
<span class="material-symbols-outlined">Group</span>
<a class="atag" id="as3" href="open_account_page.html"> Open Account</a>
</li><li>
<span class="material-symbols-outlined">pacemaker</span>
<a class="atag" id="as4" href="terms_and_conditions.html"> Terms and Conditions</a>
</li><li>
<span class="material-symbols-outlined">Mail</span>
<a class="atag" id="as5" href="contact_us.html">Contact Us </a>
</li><li>
<span class="material-symbols-outlined">Logout</span>
<a class="atag" id="as6" href="#"> Logout</a>
</li>
</ul>
</aside>
<div class="primary_panel">
<h5 id="bal" >
balance
</h5>
<div class="display">
<p id="para">
0
</p>
</div>
<br> <br><br>
<button onclick="deposit()" id="onc"> Deposit </button>
<button id="onc"> <a href="pay.html" style=" text-decoration: none; color: white;"> Pay</a> </button>
<br><br><br><br><br><br><br>
<h5 id="rec" style="font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;">
Recent Transactions
</h5>
<div class="recent_trans_div" style="color: antiquewhite;">
<img src="recent_pay.png" id="pro_p">
<img src="recent_pay.png" id="pro_p">
<img src="recent_pay.png" id="pro_p">
<img src="recent_pay.png" id="pro_p">
<img src="recent_pay.png" id="pro_p">
<img src="recent_pay.png" id="pro_p">
</div>
<p style="background-color: transparent; color: aliceblue; font-size: 20px;"> Sarthak Sam Walter Alfred dudh wala 56443@gpay</p>
<br><br><br><br><br><br><br>
<div class="boxx">
<img src="chart.png" id="chart"> <div class="trade"> <a href="https://in.tradingview.com/chart/"><img src="up arrow.png" id="arrow"> </a>BUY <br><br><br><br><br><br>SELL <a href="https://in.tradingview.com/chart/"><img src="down arrow.png" id="arrow" ></a> </div>
<div class="pos" style="background-color: transparent; height: 240px; width: 350px; display: flex; margin-left: 50px;">
<h6 style="color: aliceblue; font-size: 30px; height: 25px;margin-bottom: 0px;margin-left: 110px;margin-top: 0px; background-color: transparent; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;">Positions</h6> <h6 style="color: rgb(10, 232, 10); height: 20px; font-size: 20px; margin-top: 10px; margin-left: 15px; background-color: transparent; width: 10px; margin-bottom: 0px;" >5%</h6>
<br><br>
</div>
</div>
</body>
</html>