-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlayout.html
230 lines (229 loc) · 7.51 KB
/
layout.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
<!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>Bankist</title>
<link rel="stylesheet" href="./general.css" />
<link rel="stylesheet" href="./layout.css" />
<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:wght@400;600&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header class="flex-space">
<div class="flex-center gap1">
<div><img src="./logo.png" class="logo" /></div>
<h2 class="header-text">Bankist</h2>
</div>
<div class="flex-center gap1">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="user-icon"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z"
/>
</svg>
<h2 class="header-text username-label">Jonas!</h2>
</div>
</header>
<main>
<section class="display-section">
<div class="balance-information flex-space">
<div>
<h2 class="secondary-heading">Current Balance</h2>
<p class="date">As of 29/06/2023, 18:32</p>
</div>
<h1 class="balance-amount" id="number">25952,59 $</h1>
</div>
<div class="analysis">
<div class="card card-positive">
<p class="card-title">IN</p>
<h3 class="deposit-total-card card-amount">3000 $</h3>
</div>
<div class="card card-negative">
<p class="card-title">Out</p>
<h3 class="withdraw-total-card card-amount">3000 $</h3>
</div>
<div class="card card-positive">
<p class="card-title">Interest</p>
<h3 class="interest-total-card card-amount">3000 $</h3>
</div>
</div>
<div class="table-navigator flex-space">
<h3 class="card-amount">Transaction</h3>
<button>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="sort-icon"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M8.25 6.75L12 3m0 0l3.75 3.75M12 3v18"
/>
</svg>
</button>
</div>
<div class="transactions"></div>
</section>
<section class="operations-container">
<div class="operations-data">
<div class="flex-space stat">
<h5 class="stats-heading">Average Withdraw</h5>
<h5 class="stats-data avg-withdraw">15$</h5>
</div>
<div class="flex-space stat">
<h5 class="stats-heading">Maximum Withdraw</h5>
<h5 class="stats-data max-withdraw">15$</h5>
</div>
<div class="flex-space stat">
<h5 class="stats-heading">Average Deposit</h5>
<h5 class="stats-data avg-deposit">15$</h5>
</div>
</div>
<div class="operations-data">
<button class="btn btn-transfer">Transfer Money</button>
<button class="btn btn-request">Request Loan</button>
<button class="btn btn-close">Close Account</button>
</div>
<div class="flex-space gap1">
<div>
<span class="mins date">00</span><span class="date"> : </span>
<span class="seconds date">00</span>
</div>
<div>
<a href="/" class="logout-btn"> ← Logout</a>
</div>
</div>
</section>
</main>
<div class="overlay-container hide"></div>
<!-- TRANSFER DIALOG -->
<div class="dialog-container transfer-dialog hide">
<div class="flex-space dialog-btn-container">
<h2 class="dialog-heading">Transfer Money</h2>
<button class="cls-btn btn-transfer-dialog">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="sort-icon"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</button>
</div>
<form class="login-form transfer-form" action="/">
<input
type="text"
class="field-input transfer-username"
placeholder="Transfer To"
required
/>
<input
type="number"
min="1"
class="field-input extra-margin transfer-amount"
placeholder="Amount"
required
/>
<button class="btn">Transfer Money</button>
</form>
<p class="error"> </p>
</div>
<!-- REQUEST DIALOG -->
<div class="dialog-container request-dialog hide">
<div class="flex-space dialog-btn-container">
<h2 class="dialog-heading">Request Loan</h2>
<button class="cls-btn">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="sort-icon"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</button>
</div>
<form class="request-form" action="/">
<input
type="number"
class="field-input request-amount"
placeholder="Amount"
min="1"
required
/>
<button class="btn">Request Loan</button>
</form>
<p class="error"> </p>
</div>
<!-- CLOSE DIALOG -->
<div class="dialog-container close-dialog hide">
<div class="flex-space dialog-btn-container">
<h2 class="dialog-heading">Close Account</h2>
<button class="cls-btn">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="sort-icon"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</button>
</div>
<form class="close-form" action="/">
<input
type="text"
class="field-input closeUsername"
placeholder="Username"
required
/>
<input
type="password"
class="field-input extra-margin closePassword"
placeholder="Password"
required
/>
<button class="btn">Close Account</button>
</form>
<p class="error"> </p>
</div>
<script src="./layout.js"></script>
</body>
</html>