This commit is contained in:
Q
2023-08-20 22:26:54 +03:00
parent aa131c5279
commit 32187c641e

22
code/templates/login.html Normal file
View File

@@ -0,0 +1,22 @@
<html>
<body style="background: gray;">
<div style="
width: max-content;
background: lightgray;
padding: 2ex;
margin-left: auto;
margin-right: auto;
margin-top: 2em;
border-radius: 5px;
line-height: 5ex;
">
<form method=POST>
Password required for file <a href="{{ redirect | safe }}"><strong>{{ filename }}</strong></a><br>
<input type=hidden name="redirect" value="{{ redirect | safe }}">
<input type=hidden name="token" value="{{ token }}">
<input type="password" name="password" required><br>
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>