-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (70 loc) · 2.36 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Employee Self-Service</title>
<meta name="description" content="User Login" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="./node_modules/the-new-css-reset/css/reset.css"
/>
<link rel="stylesheet" href="input.css" />
</head>
<body>
<div class="login__wrapper">
<!-- Failed login warning -->
<div
class="login__alert login__alert--hidden login__alert--run-animation"
>
<div class="login__alert__icon">×</div>
<div class="login__alert__text__wrapper">
<div class="login__alert__header">Алдаа</div>
<div class="login__alert__text">
Таны нэвтрэх нэр эсвэл нууц үг буруу байна.
<br />
Танд нууц үгээ хийх <span id="attempts"></span> удаагын оролдлого
үлдлээ.
</div>
</div>
</div>
<!-- Login input -->
<form class="login__form">
<div class="login__logo__wrapper">
<img src="icons/logo.png" alt="logo" />
</div>
<input
class="login__input use-keyboard-input"
id="username"
type="text"
name="username"
placeholder="Домэйн"
/>
<img
class="login__input__icon"
src="./icons/show_grey.svg"
alt="icon"
/>
<input
class="login__input use-keyboard-input"
id="password"
type="password"
name="password"
placeholder="Нууц үг"
/>
<button class="login__button" id="login__button">Нэвтрэх</button>
<div class="login__attempt-limit login__attempt-limit--hidden">
Та <span style="font-weight: bold" id="timeout"></span> секундын дараа
дахин оролдоно уу.
</div>
</form>
</div>
<script>
const timer = 6 * 60; //6 minutes
sessionStorage.setItem("timer", timer);
</script>
<script src="main.js" async defer></script>
<script src="keyboard/keyboard.js"></script>
</body>
</html>