73 lines
1.7 KiB
HTML
73 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Add New User</title>
|
|
<style>
|
|
body {
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: #f9f9ff;
|
|
margin: 2em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
h1 {
|
|
font-weight: 700;
|
|
font-size: 2.5em;
|
|
color: #2c3e50;
|
|
margin-bottom: 1em;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1em;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
background-color: white;
|
|
padding: 2em;
|
|
border-radius: 1em;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
input[type="text"] {
|
|
padding: 0.75em 1em;
|
|
font-size: 1.2em;
|
|
border: 2px solid #4a4af0;
|
|
border-radius: 0.5em;
|
|
outline: none;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
input[type="text"]:focus {
|
|
border-color: #3838c8;
|
|
}
|
|
button {
|
|
padding: 0.75em 1.5em;
|
|
font-size: 1.2em;
|
|
color: white;
|
|
background-color: #4a4af0;
|
|
border: none;
|
|
border-radius: 1em;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
button:hover {
|
|
background-color: #3838c8;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Add new User</h1>
|
|
<form method="POST">
|
|
<input
|
|
name="username"
|
|
type="text"
|
|
placeholder="Enter username"
|
|
required
|
|
/>
|
|
<button type="submit">Add New User</button>
|
|
</form>
|
|
</body>
|
|
</html>
|