-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbankDashboard.html
88 lines (72 loc) · 4.23 KB
/
bankDashboard.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
<!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>Tokai Bank Dashboard</title>
<link rel="shortcut icon" href="images/bank.png" type="image/x-icon">
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<header class="bg-gradient-to-r from-purple-800 via-indigo-400 to-indigo-500 py-2 px-12">
<div class="flex items-center">
<div class="flex items-center space-x-4 flex-grow">
<img class="w-16 h-16 object-contain" src="images/bank.png" alt="logo">
<h1 class="text-2xl md:text-3xl lg:text-3xl font-semibold text-purple-100">Bank Dashboard</h1>
</div>
<button id="logout_button"
class="bg-transparent px-4 py-2 text-white border border-white rounded-lg hover:bg-purple-600 transition duration-700">Logout</button>
</div>
</header>
<main>
<!-- balance andd transaction -->
<section class="max-w-screen-lg mx-auto px-12 my-12">
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-3 gap-10">
<div class="bg-blue-200 rounded-lg shadow-xl p-6 box-border">
<h3 class="text-xl text-blue-600">Deposit</h3>
<h1 class="text-4xl font-bold text-blue-700">$ <span id="deposit_total">0</span></h1>
</div>
<div class="bg-red-200 rounded-lg shadow-xl p-6 box-border">
<h3 class="text-xl text-red-600">Withdraw</h3>
<h1 class="text-4xl font-bold text-red-700">$ <span id="withdraw_total">33</span></h1>
</div>
<div class="bg-green-200 rounded-lg shadow-xl p-6 box-border">
<h3 class="text-xl text-green-600">Balance</h3>
<h1 class="text-4xl font-bold text-green-700">$ <span id="balance_total">5000</span></h1>
</div>
</div>
</section>
<!-- desposit and withdraw -->
<section class="max-w-screen-lg mx-auto px-12 my-12">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-10 bg-gray-50 p-8 box-border rounded-lg">
<!-- deposit -->
<div>
<h3 class="text-gray-500 text-2xl pb-4">Please Deposit</h3>
<div class="flex flex-col space-y-4">
<input id="deposit_money_field"
class="border border-gray-400 py-3 px-6 w-66 h-12 rounded-lg focus:outline-none focus:border-purple-800 text-gray-600"
type="number" placeholder="Deposit Amount" />
<p id="deposit_error_messege" class="text-red-500 font-semibold"></p>
<button id="deposit_button"
class="text-white bg-purple-800 w-24 px-4 py-2 rounded-lg flex justify-center border border-purple-500 hover:bg-purple-200 hover:text-purple-800 transition duration-700">Deposit</button>
</div>
</div>
<!-- withdraw -->
<div>
<h3 class="text-gray-500 text-2xl pb-4">Please Withdraw</h3>
<div class="flex flex-col space-y-4">
<input id="withdraw_money_field"
class="border border-gray-400 py-3 px-6 w-66 h-12 rounded-lg focus:outline-none focus:border-purple-800 text-gray-600"
type="number" placeholder="Withdraw Amount" />
<p id="withdraw_error_messege" class="text-red-500 font-semibold"></p>
<button id="withdraw_button"
class="text-white bg-purple-800 w-24 px-4 py-2 rounded-lg flex justify-center border border-purple-500 hover:bg-purple-200 hover:text-purple-800 transition duration-700">Withdraw</button>
</div>
</div>
</div>
</section>
</main>
<script src="js/dashboard.js"></script>
</body>
</html>