-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
174 lines (160 loc) · 6.42 KB
/
Copy pathindex.html
File metadata and controls
174 lines (160 loc) · 6.42 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="follow,index" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="assets/logo.png" type="image/png">
<title>Internet Banking | GBC</title>
<link rel="apple-touch-icon" sizes="180x180" href="https://mazipan.github.io/login-page-css/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://mazipan.github.io/login-page-css/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://mazipan.github.io/login-page-css/favicon/favicon-16x16.png">
<link rel="manifest" href="https://mazipan.github.io/login-page-css/manifest.json" />
<meta name="msapplication-TileColor" content="#fdcb04" />
<meta name="theme-color" content="#fdcb04" />
<link rel="manifest" href="https://mazipan.github.io/login-page-css/manifest.json">
<link rel="stylesheet" href="./shared/normalize.css" />
<link rel="stylesheet" href="./shared/additional.css" />
<link rel="stylesheet" href="./css/style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="app">
<div class="login-page">
<!-- Start Header -->
<header class="header">
<div class="header__content">
<!-- Logo -->
<div class="header__logo logo">
<a href="#" class="logo__link">
<img src="./assets/logo.png" alt="" class="logo__img" />
</a>
</div>
<!-- Nav -->
<ul class="header__nav nav">
<li class="nav__item">
<a href="./register.html" class="nav__link">Register</a>
</li>
<li class="nav__item">
<a href="./admin_login.html" class="nav__link">Administrator Login</a>
</li>
</ul>
</div>
</header>
<!-- End Header -->
<!-- Start Main -->
<main class="main">
<div class="container main__content">
<!-- Start Content Left -->
<div class="main__content-left">
<div class="benefits">
</div>
</div>
<!-- End Content Left -->
<!-- Start Content Right -->
<div class="main__content-right">
<!-- Start Login Form -->
<div class="form-login">
<div class="form-login__inner">
<div class="form-login__header">
<img
src="./assets/Logo_long.png"
alt="Logo"
class="form-login__logo"
/>
<h3 class="form-login__title"><br>Login</h3>
<p class="form-login__subtitle">
Remember to enhance security setting before login.
</p>
</div>
<!-- Start Form -->
<form id="loginForm" class="form-login__form" onsubmit="event.preventDefault(); loginUser();">
<div class="field">
<div class="field__group">
<input
autocomplete="off"
type="email"
placeholder="Email"
name="username"
class="field__input"
/>
</div>
</div>
<div class="field">
<div class="field__group">
<img
src="./ic_toggle-password.svg"
alt="Password"
class="field__icon field__icon--right"
/>
<input
autocomplete="off"
type="password"
placeholder="Password"
name="password"
class="field__input"
value=""
/>
</div>
</div>
<div class="field">
<button type="submit" class="form-login__button button button">
LOGIN
</button>
</div>
</form>
<!-- End Form -->
<div class="form-login__footer">
<p>
Need help? Click
<a href="tel:+85222333000" class="">here</a>
to contact our customer service.
</p>
</div>
<!-- ADDITIONAL CODE -- DISCLAIMER SECTION --start -->
<section style="max-width: 44rem; margin: 0 auto; margin-top: 0.5em; background: #123362;color: rgb(255, 255, 255);
border-radius: 0.5em; padding: .5em; margin-bottom: 1em;">
<p>
<b>NEW SAFETY MEASURE FOR ANDROID DEVICE</b>
<p style="margin-top: .5em;">Beware of apps from sources other than your phone’s official app stores which may contain malware. From 08 Nov 2024, new safety measure in the Android version of the GBC App will be launched to protect you from malware.</p>
</p>
</section>
<!-- ADDITIONAL CODE -- DISCLAIMER SECTION --end -->
</div>
</div>
<!-- End Login Form -->
</div>
<!-- Start Content Right -->
</div>
</main>
<!-- Start Main -->
<!-- ADDITIONAL CODE -- start YOU MIGHT NOT NEEDED -->
<footer>
<span class="author">
©2024 Global Banking Corporation Limited. All rights reserved.
</span>
</footer>
<!-- ADDITIONAL CODE -- end YOU MIGHT NOT NEEDED -->
</div>
</div>
<script>
function loginUser() {
const formData = new FormData(document.getElementById('loginForm'));
fetch('login.php', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
alert(data.message);
if (data.success) {
window.location.href = data.redirect;
}
});
}
</script>
</body>
</html>