-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp_login.html
More file actions
81 lines (81 loc) · 2.12 KB
/
app_login.html
File metadata and controls
81 lines (81 loc) · 2.12 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Application login</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<style>
html, body {
display: flex;
justify-content: center;
font-family: Roboto, Arial, sans-serif;
font-size: 15px;
}
form {
border: 5px solid #f1f1f1;
}
input[type=text], input[type=password] {
width: 100%;
padding: 16px 8px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
button {
background-color: #8ebf42;
color: white;
padding: 14px 0;
margin: 10px 0;
border: none;
cursor: grabbing;
width: 100%;
}
h1 {
text-align:center;
fone-size:18;
}
button:hover {
opacity: 0.8;
}
.formcontainer {
text-align: left;
margin: 24px 50px 12px;
}
.container {
padding: 16px 0;
text-align:left;
}
span.psw {
float: right;
padding-top: 0;
padding-right: 15px;
}
/* Change styles for span on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
</style>
</head>
<body>
<form action="http://localhost:15123/api/login" method="POST">
<h1>Application</h1>
<div class="formcontainer">
<hr/>
<div class="container">
<label for="username"><strong>Username</strong></label>
<input type="text" placeholder="Enter Username" name="username" required>
<label for="password"><strong>Password</strong></label>
<input type="password" placeholder="Enter Password" name="password" required>
</div>
<button type="submit">Login</button>
<div class="container" style="background-color: #eee">
<label style="padding-left: 15px">
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
<span class="psw"><a href="#"> Forgot password?</a></span>
</div>
</form>
</body>
</html>