-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (79 loc) · 3.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Todo | Sign In</title>
<!-- linked css with bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous" />
<!-- link javascript with bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<!-- linking seet alters -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<!-- linking with css file -->
<link rel="stylesheet" href="./style.css">
</head>
<body style="background-color: rgba(116, 207, 207, 0.685);">
<!-- createing nav bar -->
<nav class="navbar bg-body-tertiary" data-bs-theme="dark">
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">
<img src="./assets/logo 1.png" alt="Logo" width="30" height="30" class="d-inline-block align-text-top">
TODO | Sign In
</a>
<form class="d-flex">
<a class="btn btn-primary m-1" href="./index.html" role="button">Sign In</a>
<a class="btn btn-primary m-1" href="./Todo/signup.html" role="button">Sign Up</a>
</form>
</div>
</nav>
<!-- navbar end -->
<div class="row m-1" style="width: 100%;">
<div class="container mt-5 col first" style="margin: 1%;" >
<img src="./assets/signin logo 1.png" style="width: 90%;" alt="logo">
</div>
<!-- Signin UI Start -->
<div class="container col" style="width: 50%; margin: 1%;" >
<!-- heading -->
<h1 class="mt-5 text-center">Sign In Form</h1>
<!-- signin form to recieve data from user -->
<form class="container my-5" >
<!-- email address -->
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Username</label>
<input type="email" class="form-control" placeholder="abc@anymail.com" id="exampleInputEmail1" aria-describedby="emailHelp" />
<div id="emailHelp" class="form-text">
We'll never share your username with anyone else.
</div>
<div class="alert alert-warning alert-dismissible fade show" role="alert" style="display: none;"
id="signinUsernameAlert">
Please Correct The Username (Username not found!)
</div>
</div>
<!-- password -->
<div class="mb-3 ">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" placeholder="*********" class="form-control" id="exampleInputPassword1" />
</div>
<div class="alert alert-warning alert-dismissible fade show" role="alert" style="display: none;"
id="signinPasswordAlert">
Please Correct The Password
</div>
<!-- sign up button -->
<div class="mb-3">
Don't have an account? Click here to
<a href="./Todo/signup.html"><strong>Sign Up</strong></a>
</div>
<!-- sign in button in a tag to stop refreshing page -->
<a href="javascript:void(0)" type="button" onclick="signIn()" class="btn btn-primary">Sign In</a>
<!-- form end -->
</div>
</div>
<!-- sign in data end -->
<!-- loading the js file -->
<script src="./script.js"></script>
</body>
</html>