-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
244 lines (198 loc) · 8.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bank Application</title>
<!-- Favicon -->
<link rel="shortcut icon" href="assets/img/logo.png" type="image/x-icon">
<!-- CUSTOM CSS -->
<link rel="stylesheet" href="assets/css/style.css">
<!-- FONT AWESOME CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<!-- Information popup starts -->
<div class="popup__info">
<p class="popup__msg"></p>
</div>
<!-- Information ends -->
<!-- Registration view starts -->
<section class="register__view">
<header class="register__header">
<h3>registration</h3>
</header>
<form action="" class="register__form">
<label for="rcard">card number:</label>
<input type="text" id="rcard" name="card" required>
<label for="remail">email:</label>
<input type="text" id="remail" name="email" required>
<label for="rusername">username:</label>
<input type="text" id="rusername" name="username" required>
<label for="rpassword">password:</label>
<input type="password" id="rpassword" name="password" required>
<button class="register__btn">register</button>
<p class="register__error-msg"></p>
</form>
</section>
<!-- Registration view ends -->
<!-- Login view starts -->
<section class="login__view">
<button class="register__view-btn">register</button>
<article class="login__data">
<img src="assets/img/logo.png" alt="logo img" width="80px">
<h3>welcome</h3>
<form action="" class="login__form">
<label for="lusername">username:</label>
<input type="text" id="lusername" name="username" required>
<label for="lpassword">password:</label>
<input type="password" id="lpassword" name="password" required>
<a href="#" class="forgot__btn">forgot password</a>
<p class="login__error-msg"></p>
<button class="login__btn">login</button>
</form>
</article>
</section>
<!-- Login view ends -->
<!-- Admin view starts -->
<section class="admin__view">
<aside class="admin__header">
<h3>Admin panel</h3>
<input type="text" class="admin__search" placeholder="full search">
<div class="admin__btns">
<button class="logout__btn">logout</button>
<button class="accounts__btn">accounts</button>
<button class="create__account__btn">create account</button>
<button class="edit__account__btn">edit/delete account</button>
</div>
</aside>
<main>
<div class="accounts__list">
<h4>All accounts:</h4>
<table class="accounts__table">
<thead>
<tr>
<th>Card number</th>
<th>Email</th>
<th>Username</th>
<th>Password</th>
<th>Bilance</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<!-- Create accounts view starts-->
<div class="create__account__view">
<h4>Create account:</h4>
<div class="create__inputs">
<input type="text" name="card" placeholder="card number" required>
<input type="email" name="email" placeholder="email" required>
<input type="text" name="username" placeholder="username" required>
<input type="password" name="password" placeholder="password" required>
<p class="error__msg"></p>
<button class="save__account">save account</button>
</div>
</div>
<!-- Create accounts view ends -->
<!-- Edit account view starts -->
<div class="edit__account__view">
<h4>edit/Delete:</h4>
<table class="edit__table">
<thead>
<tr>
<th>Card number:</th>
<th>Email:</th>
<th>Username:</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<!-- Edit account view ends -->
<!-- Edit form view starts -->
<div class="edit__form__view">
<h4>Edit account:</h4>
<div class="edit__inputs">
<input type="text" name="ecard" placeholder="card number" required>
<input type="email" name="eemail" placeholder="email" required>
<input type="text" name="eusername" placeholder="username" required>
<button class="edit__form__btn">edit account</button>
<p class="error__msg"></p>
</div>
</div>
<!-- Edit form view ends -->
</main>
</section>
<!-- Admin view ends -->
<!-- User account view starts -->
<div class="user__account__view">
<button class="logout__btn">logout</button>
<header class="user__header">
<div class="user__info">
<h3 class="user__name"></h3>
<h4>current balance:</h4>
<p class="time"></p>
</div>
<div class="user__bilance"><span></span>€</div>
</header>
<div class="user__wrapper container">
<div class="user__history">
<h3>User history:</h3>
<ul>
</ul>
</div>
<div class="user__actions">
<div class="transfer__money">
<h4>transfer money:</h4>
<div>
<input type="text" placeholder="transfer to">
<input type="number" placeholder="amount">
<button class="transfer">transfer</button>
</div>
</div>
<div class="deposit__money">
<h4>Deposit money:</h4>
<div>
<input type="number" placeholder="amount">
<button class="deposit">deposit</button>
</div>
</div>
</div>
</div>
</div>
<!-- User account view ends -->
<!-- Forgot password view starts -->
<div class="forgot__view container">
<header class="forgot__header">
<h3>forgot password</h3>
</header>
<form action="" method="">
<label for="fusername">username</label>
<input type="text" id="fusername" required>
<label for="newpassword">new password:</label>
<input type="password" id="newpassword" required>
<label for="confirmpassword">confirm password:</label>
<input type="password" id="confirmpassword" required>
<button class="reset__btn">reset password</button>
<p class="error__msg"></p>
</form>
</div>
<!-- Forgot password view ends -->
<!-- CUSTOM JS -->
<script src="assets/js/main.js"></script>
<script src="assets/js/register.js"></script>
<script src="assets/js/login.js"></script>
<script src="assets/js/adminView.js"></script>
<script src="assets/js/createAccountView.js"></script>
<script src="assets/js/editAccountView.js"></script>
<script src="assets/js/editFormView.js"></script>
<script src="assets/js/userAccountView.js"></script>
<script src="assets/js/forgotView.js"></script>
</body>
</html>