| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | @include 'layout/head.html' |
| 5 | </head> |
| 6 | <body> |
| 7 | @include 'layout/header.html' |
| 8 | |
| 9 | <div class="content"> |
| 10 | <h1>%twofa_title</h1> |
| 11 | <p>%twofa_login_prompt</p> |
| 12 | |
| 13 | .form-error { |
| 14 | @ctx.form_error |
| 15 | } |
| 16 | |
| 17 | <div class="form"> |
| 18 | <form method='post' action='/login/2fa'> |
| 19 | <div class="field"> |
| 20 | <input type='text' name='code' placeholder='%twofa_code' pattern='[0-9]*' inputmode='numeric' required autofocus> |
| 21 | </div> |
| 22 | <div class="field"> |
| 23 | <input type='submit' value='%twofa_login_button'> |
| 24 | </div> |
| 25 | </form> |
| 26 | </div> |
| 27 | </div> |
| 28 | |
| 29 | @include 'layout/footer.html' |
| 30 | </body> |
| 31 | </html> |
| 32 | |