-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (46 loc) · 2.62 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
<!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>SIGN IN</title>
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.1.1/css/all.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./css/index.css">
</head>
<body class="bg-secondary" >
<div class="container" style="margin-top: 10%;">
<div class="row justify-content-center">
<div class="col-sm-12 col-md-8 col-lg-6">
<div class="container bg-white rounded my-2 px-0">
<div class="py-1 bg-info text-white">
<h1 class="text-center rounded">Sign In</h1>
</div>
<form action="#">
<div class="input py-3 mx-5">
<input id="username" type="text" class="form-control border-info" placeholder="Username" onkeyup="userName()">
<span id="username-error"></span>
</div>
<div class="input py-3 mx-5">
<input id="password" type="password" class="form-control border-info" placeholder="Password" onkeyup="PassWord()">
<span id="password-error"></span>
</div>
<div class="form-check mx-5">
<input class="form-check-input" type="checkbox" value="" id="flexCheckDefault" onclick="togglePassword()">
<label class="form-check-label" for="flexCheckDefault">Show Password</label>
</div>
<div class="py-3 mx-5">
<input type="button" class="form-control bg-danger text-white" value="LOGIN" onclick="return validateForm()">
<span id="submit-error" style="color: red;"></span>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="./javascript/index.js"></script>
</body>
</html>