-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
52 lines (50 loc) · 1.48 KB
/
test.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
<!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">
<link rel="stylesheet" href="static/reset.css">
<title>JWT connection</title>
<style>
*{
box-sizing: border-box;
}
body{
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container{
width: fit-content;
height: auto;
background: rgb(0, 204, 255);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10px;
}
.loginbutton:hover{
cursor: pointer;
}
</style>
</head>
<body>
<div class="logincontainer">
<div width="100%">
<label for="uname"><b>Username:</b></label>
<input type="text" placeholder="Enter Username" name="uname" required>
</div>
<div width="100%">
<label for="psw"><b>Password: </b></label>
<input type="password" placeholder="Enter Password" name="psw" required>
</div>
<button type="submit" id="loginbutton" cursor="pointer">Login</button>
</div>
<script crossorigin="anonymous" type="module" src="test.js">
</script>
</body>
</html>