mirror of
https://github.com/1f349/tulip.git
synced 2024-12-22 16:24:10 +00:00
25 lines
602 B
HTML
25 lines
602 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>1f349 ID</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<h1>1f349 ID</h1>
|
||
|
</header>
|
||
|
<main>
|
||
|
<form method="POST" action="/edit/otp">
|
||
|
<p>
|
||
|
<img src="{{.OtpQr}}" alt="OTP QR code not loading"/>
|
||
|
</p>
|
||
|
<p>Raw OTP string: {{.OtpUrl}}</p>
|
||
|
<div>
|
||
|
<label for="field_code">OTP Code:</label>
|
||
|
<input type="text" name="code" id="field_code" required pattern="[0-9]{6,8}" title="6/7/8 digit one time passcode"/>
|
||
|
</div>
|
||
|
<button type="submit">Login</button>
|
||
|
</form>
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|