Files
filehost-athome/templates/login.html
T

24 lines
645 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Log in - {{ .SiteName }}</title>
</head>
<body>
<h1>Log in</h1>
{{ if .Error }}
<p><strong>{{ .Error }}</strong></p>
{{ end }}
<form method="POST" action="/login">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
<button type="submit">Log in</button>
</form>
</body>
</html>