-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
61 lines (55 loc) · 1.15 KB
/
login.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sign in • Embloggen</title>
<script async src="js/login.js"></script>
<link rel="stylesheet" href="css/style.css">
<style>
main {
min-width: 480px;
width: 10%;
}
#login-form input {
display: block;
width: calc(100% - 18px);
}
#login-form input + input {
margin-top: 8px;
}
#login-form input[type="submit"] {
display: block;
width: 50%;
margin-left: auto;
margin-right: auto;
}
#login-error {
color: red;
text-align: center;
}
#login-error:empty {
display: none;
}
</style>
</head>
<body>
<main>
<header>
<h1>Sign in to Embloggen</h1>
</header>
<hr>
<section id="login-form-container">
<form id="login-form">
<input name="username" type="text" placeholder="Username" required autocomplete="username" autofocus>
<input name="password" type="password" placeholder="Password" required autocomplete="current-password">
<input type="submit" value="Sign in">
<p id="login-error"></p>
</form>
</section>
<hr>
<footer>
<a href="index.html" id="home-link">Cancel</a>
</footer>
</main>
</body>
</html>