-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
280 lines (241 loc) · 11.9 KB
/
index.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!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">
<title>Bank</title>
<!--link the font for wensite-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<!--link the css and bootstrap css file-->
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<!--link the javascript and bootstrap js file-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<!--Navbar-->
<nav id="navbar_top" class="navbar navbar-expand-lg navbar-light navbar-fixed-top">
<div class="container">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mynavbar">
<span class="navbar-toggler-icon"></span>
</button>
<a href="" class="navbar-brand"> <img src="images/logo.png" width="120" height="120"></a>
<div class="collapse navbar-collapse" id="mynavbar">
<ul class="navbar-nav mx-auto">
<li class="nav-item"> <a href="" class="nav-link"> Home</a></li>
<li class="nav-item"> <a href="#trans" class="nav-link" onclick="deposit()"> Deposit</a></li>
<li class="nav-item"> <a href="#trans" class="nav-link" onclick="transfer()"> Transfer</a></li>
<li class="nav-item"> <a href="#trans" class="nav-link" onclick="balance()"> Balance</a></li>
<li class="nav-item"> <a href="#contact" class="nav-link">Contact</a></li>
</ul>
<form class="d-flex">
<input type="search" class="form-control" placeholder="Search here...">
<button class="btn btn-outline-dark">Search</button>
</form>
</div>
</div>
</nav>
<!---Banner-->
<section id="banner">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1>"You must gain control over your money, or the lack of it will forever control you.</h1>
<h5>"If you wish to get rich, save what you can get. A fool can earn money, but it takes a wise man
to save and dispose of it to his own advantage"</h5>
<img src="images/logo.png" alt="play" width="50" height="50"><span><a
href="#contact">Find us</a></span>
</div>
<div class="col-md-6">
<img src="images/profile.png" width="75%" height="75%">
</div>
</div>
</div>
<hr>
</section>
<div class="body">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="table">
<h1 align="center">Customers 🤝</h1><br>
<table>
<tr>
<th>Name</th>
<th>Id</th>
<th>Balance</th>
<th>Add Money 📥</th>
<th>Send Money 📤</th>
</tr>
<tr>
<th>Vishnu</th>
<td id="user1">User1</td>
<td id="money1">99</td>
<td id="am1"><button onclick="am1()">Add Money 📥</button></td>
<td id="sm1"><button onclick="sm1()">Send Money 📤</button></td>
</tr>
<tr>
<th>Pandey</th>
<td id="user2">User2</td>
<td id="money2">99</td>
<td id="am2"><button onclick="am2()">Add Money 📥</button></td>
<td id="sm2"><button onclick="sm2()">Send Money 📤</button></td>
</tr>
<tr>
<th>Vedu</th>
<td id="user3">User3</td>
<td id="money3">99</td>
<td id="am3"><button onclick="am3()">Add Money 📥</button></td>
<td id="sm3"><button onclick="sm3()">Send Money 📤</button></td>
</tr>
<tr>
<th>Viral</th>
<td id="user4">User4</td>
<td id="money4">99</td>
<td id="am4"><button onclick="am4()">Add Money 📥</button></td>
<td id="sm4"><button onclick="sm4()">Send Money 📤</button></td>
</tr>
<tr>
<th>Rohit</th>
<td id="user5">User5</td>
<td id="money5">99</td>
<td id="am5"><button onclick="am5()">Add Money 📥</button></td>
<td id="sm5"><button onclick="sm5()">Send Money 📤</button></td>
</tr>
<tr>
<th>Jyoti</th>
<td id="user6">User6</td>
<td id="money6">99</td>
<td id="am6"><button onclick="am6()">Add Money 📥</button></td>
<td id="sm6"><button onclick="sm6()">Send Money 📤</button></td>
</tr>
<tr>
<th>Sudhanshu</th>
<td id="user7">User7</td>
<td id="money7">99</td>
<td id="am7"><button onclick="am7()">Add Money 📥</button></td>
<td id="sm7"><button onclick="sm7()">Send Money 📤</button></td>
</tr>
<tr>
<th>Shivam</th>
<td id="user8">User8</td>
<td id="money8">99</td>
<td id="am8"><button onclick="am8()">Add Money 📥</button></td>
<td id="sm8"><button onclick="sm8()">Send Money 📤</button></td>
</tr>
<tr>
<th>Dolly</th>
<td id="user9">User9</td>
<td id="money9">99</td>
<td id="am9"><button onclick="am9()">Add Money 📥</button></td>
<td id="sm9"><button onclick="sm9()">Send Money 📤</button></td>
</tr>
<tr>
<th>Vidhi</th>
<td id="user10">User10</td>
<td id="money10">99</td>
<td id="am10"><button onclick="am10()">Add Money 📥</button></td>
<td id="sm10"><button onclick="sm10()">Send Money 📤</button></td>
</tr>
</table>
</div>
</div>
<div class="col-md-6">
<div class="trans" id="trans">
<h1> Transcations</h1>
<div class="btn">
<button onclick="deposit()">Deposit Money</button><br>
<button onclick="transfer()">Transfer Money</button><br>
<button onclick="balance()">Check balance</button>
</div>
</div>
</div>
</div>
</div>
</div>
<hr>
<div class="txt">
<h3>“Be thankful for what you have; you’ll end up having more. If you concentrate on what you don’t have, you
will never, ever have enough.”</h3><h2 id="displayDateTime"></h2>
</div>
<section id="contact" class="contact">
<div class="container">
<hr>
<div class="section-title">
<h1 align="center">Contact</h1>
<hr>
</div>
<div class="row">
<div class="col-lg-5 d-flex align-items-stretch">
<div class="info">
<div class="address">
<i class="bi bi-geo-alt"></i>
<h4>Location:</h4>
<p>Government Engineering College Surat</p>
</div>
<div class="email">
<i class="bi bi-envelope"></i>
<h4>Email:</h4>
<p>info.pandey@gmail.com</p>
</div>
<div class="phone">
<i class="bi bi-phone"></i>
<h4>Call:</h4>
<p>+91 9426669765</p>
</div>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3720.3021070467785!2d72.81107521424802!3d21.180154487970075!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3be04e722d115dc7%3A0x58f1c37c96a9b7e3!2sAdministrative%20Department-%20GEC%2CSURAT!5e0!3m2!1sen!2sbg!4v1655374523976!5m2!1sen!2sbg"
width="400" height="300" style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
<div class="col-lg-7 mt-5 mt-lg-0 d-flex align-items-stretch">
<form action="forms/contact.php" method="post" role="form" class="php-email-form">
<div class="row">
<div class="form-group col-md-6">
<label for="name">Your Name</label>
<input type="text" name="name" class="form-control" id="name" required>
</div>
<div class="form-group col-md-6">
<label for="name">Your Email</label>
<input type="email" class="form-control" name="email" id="email" required>
</div>
</div>
<div class="form-group">
<label for="name">Subject</label>
<input type="text" class="form-control" name="subject" id="subject" required>
</div>
<div class="form-group">
<label for="name">Message</label>
<textarea class="form-control" name="message" rows="10" required></textarea>
</div><br>
<div class="text-center"><button type="submit" onsubmit="done()">Send Message</button></div>
</form>
</div>
</div>
</div>
</section>
</body>
<script src="script.js">
</script>
<script>
document.addEventListener("DOMContentLoaded", function(){
window.addEventListener('scroll', function() {
if (window.scrollY > 50) {
document.getElementById('navbar_top').classList.add('fixed-top');
// add padding top to show content behind navbar
navbar_height = document.querySelector('.navbar').offsetHeight;
document.body.style.paddingTop = navbar_height + 'px';
} else {
document.getElementById('navbar_top').classList.remove('fixed-top');
// remove padding top from body
document.body.style.paddingTop = '0';
}
});
});
</script>
</html>