ggdgsdbsdbbb / templates / two_factor_login.html
31 lines · 27 sloc · 632 bytes · f69106d41622b949751c70d69da785cd02447f13
Raw
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