You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

webauthn.tmpl 929B

12345678910111213141516171819202122232425
  1. {{template "base/head" .}}
  2. <div role="main" aria-label="{{.Title}}" class="page-content user signin webauthn-prompt">
  3. <div class="ui page grid">
  4. <div class="column center aligned">
  5. {{template "user/auth/webauthn_error" .}}
  6. <h3 class="ui top attached header">{{ctx.Locale.Tr "twofa"}}</h3>
  7. <div class="ui attached segment">
  8. {{svg "octicon-key" 56}}
  9. <h3>{{ctx.Locale.Tr "webauthn_insert_key"}}</h3>
  10. {{template "base/alert" .}}
  11. <p>{{ctx.Locale.Tr "webauthn_sign_in"}}</p>
  12. </div>
  13. <div class="ui attached segment gt-df gt-ac gt-jc gt-gap-2 gt-py-3">
  14. <div class="is-loading" style="width: 40px; height: 40px"></div>
  15. {{ctx.Locale.Tr "webauthn_press_button"}}
  16. </div>
  17. {{if .HasTwoFactor}}
  18. <div class="ui attached segment">
  19. <a href="{{AppSubUrl}}/user/two_factor">{{ctx.Locale.Tr "webauthn_use_twofa"}}</a>
  20. </div>
  21. {{end}}
  22. </div>
  23. </div>
  24. </div>
  25. {{template "base/footer" .}}