Zdalne-systemy-z-kit-uVPN/templates/login.html

65 lines
1.6 KiB
HTML
Raw Normal View History

2023-04-13 09:52:51 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Strona logowania</title>
<style>
body {
background-color: #F2F2F2;
font-family: Arial, sans-serif;
}
#login-box {
background-color: #FFFFFF;
border-radius: 10px;
padding: 20px;
width: 400px;
margin: 0 auto;
margin-top: 100px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
font-size: 28px;
margin-top: 0;
}
input[type=text], input[type=password] {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: none;
border-radius: 5px;
background-color: #F2F2F2;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
font-size: 16px;
}
input[type=submit] {
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
padding: 10px;
font-size: 16px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<div id="login-box">
<h1>Logowanie</h1>
2023-04-13 10:25:01 +00:00
<form method="POST" action="/api/login">
2023-04-13 09:52:51 +00:00
<label for="username">Nazwa użytkownika:</label>
<input type="text" id="username" name="username" placeholder="Wprowadź nazwę użytkownika">
<label for="password">Hasło:</label>
<input type="password" id="password" name="password" placeholder="Wprowadź hasło">
<input type="submit" value="Zaloguj się">
2023-04-13 10:06:23 +00:00
<h2 color="red">{{incorrect}}<h2>
2023-04-13 09:52:51 +00:00
</form>
</div>
</body>
</html>