-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (89 loc) · 3.12 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
<!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" />
<meta
name="description"
content="Welcome to Howdy. Please provide log in details."
/>
<title>Howdy | Log in</title>
<link rel="stylesheet" href="../dist/css/styles.css" />
<script src="../../src/js/index.mjs" type="module"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"
></script>
<!-- <script
defer
src="/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
></script> -->
</head>
<body>
<div class="container">
<main>
<div class="pt-5 pb-3 mt-lg-5 text-center">
<h1>Howdy</h1>
<p class="lead">Welcome</p>
</div>
<div class="row g-5 mx-2 .d-flex">
<div class="col-md-7 p-4 col-lg-4 mx-auto border border-primary">
<h4 class="mb-3 text-center">Log in</h4>
<form method="POST" id="login-form">
<div class="form-floating mb-3">
<input
type="email"
name="email"
title="Please enter valid email with noroff domain (@stud.noroff.no or @noroff.no). Example: [email protected]"
class="form-control"
id="email"
autocomplete="false"
placeholder="email"
required
/>
<label for="email">Email</label>
</div>
<div class="form-floating">
<input
class="form-control"
name="password"
type="password"
title="minimum 8 characters"
id="password"
placeholder="Password"
minlength="8"
autocomplete="false"
required
/>
<label for="password">Password</label>
</div>
<button
class="w-100 btn btn-special btn-lg mt-4"
type="submit"
id="btn-submit"
>
Log in
</button>
<div id="user-alert" class="alert mt-3" role="alert"></div>
<hr class="my-4" />
<p class="w-100 text-center">
Don't have an account?
<a href="./sign-up/">sign up</a>
</p>
</form>
</div>
</div>
</main>
<footer class="mt-auto py-3 my-5 pt-5 text-muted text-center text-small">
<p class="mb-1">© 2022 Social App</p>
<ul class="list-inline">
<li class="list-inline-item"><a href="#">Privacy</a></li>
<li class="list-inline-item"><a href="#">Terms</a></li>
<li class="list-inline-item"><a href="#">Support</a></li>
</ul>
</footer>
</div>
</body>
</html>