upload-service/web/batch-password.html

29 lines
838 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Required</title>
<link rel="stylesheet" href="/static/style.css?v=4">
</head>
<body>
<div class="container">
<h1>Password Required</h1>
<p class="subtitle">Enter the password to access {{.Count}} files</p>
{{if .Error}}
<div class="error">{{.Error}}</div>
{{end}}
<form method="POST" action="/b/{{.BatchID}}/auth" class="auth-form">
<input type="password" name="password" placeholder="Password" autofocus required>
<button type="submit" class="btn">Unlock</button>
</form>
<footer>
<a href="/">upload.jeffemmett.com</a>
</footer>
</div>
</body>
</html>