autofocus
This commit is contained in:
@@ -1,25 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title></title>
|
||||
</head>
|
||||
<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>
|
||||
<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 autofocus><br>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user