weblogin1/register.html
Kántor Dániel 0881028595 feltoltes
2023-01-27 11:54:37 +01:00

102 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
font-family: Arial, Helvetica, sans-serif;
background-color: white;
}
* {
box-sizing: border-box;
}
.container {
padding: 16px;
background-color: white;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}
input[type="text"]:focus,
input[type="password"]:focus {
background-color: #ddd;
outline: none;
}
hr {
border: 1px solid #f1f1f1;
margin-bottom: 25px;
}
.registerbtn {
background-color: #0000ff;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
.registerbtn:hover {
opacity: 1;
}
a {
color: dodgerblue;
}
.signin {
background-color: #f1f1f1;
text-align: center;
}
</style>
</head>
<body>
<form action="/register" method="post">
<div class="container">
<h1>Regisztráció</h1>
<hr />
<label for="name"><b>Teljes név</b></label>
<input type="text" placeholder="Név" name="name" id="name" required />
<label for="email"><b>E-mail</b></label>
<input
type="text"
placeholder="E-mail"
name="email"
id="email"
required
/>
<label for="psw"><b>Jelszó</b></label>
<input
type="password"
placeholder="Jelszó"
name="password"
id="password"
required
/>
<hr />
<button type="submit" class="registerbtn">Regisztráció</button>
</div>
<div class="container signin">
<p><a href="/login">Bejelentkezés</a>.</p>
</div>
</form>
</body>
</html>