diff options
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..7c06fbc --- /dev/null +++ b/templates/login.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<title>{{.Name}} — Login</title> +<style>{{.CSS}}</style> +</head> +<body> +<div class="container"> +<h1>🔒 {{.Name}}</h1> +{{if .Error}}<p class="error">{{.Error}}</p>{{end}} +<form method="POST" action="/g/{{.Name}}"> +<input type="password" name="password" placeholder="Password" autofocus required> +<button type="submit">Enter</button> +</form> +</div> +</body> +</html> |
