Files
Atay-Makhzan/templates/user/auth/webauthn.tmpl
T

23 lines
825 B
Handlebars
Raw Normal View History

2022-01-14 23:03:31 +08:00
{{template "base/head" .}}
<div class="user signin webauthn-prompt">
<div class="ui middle centered very relaxed page grid">
<div class="column center aligned">
2022-01-14 23:03:31 +08:00
<h3 class="ui top attached header">
2022-06-27 22:58:46 +02:00
{{.locale.Tr "twofa"}}
2022-01-14 23:03:31 +08:00
</h3>
<div class="ui attached segment">
<i class="huge key icon"></i>
2022-06-27 22:58:46 +02:00
<h3>{{.locale.Tr "webauthn_insert_key"}}</h3>
2022-01-14 23:03:31 +08:00
{{template "base/alert" .}}
2022-06-27 22:58:46 +02:00
<p>{{.locale.Tr "webauthn_sign_in"}}</p>
2022-01-14 23:03:31 +08:00
</div>
2022-06-27 22:58:46 +02:00
<div class="ui attached segment"><div class="ui active indeterminate inline loader"></div> {{.locale.Tr "webauthn_press_button"}} </div>
2022-01-14 23:03:31 +08:00
<div class="ui attached segment">
2022-06-27 22:58:46 +02:00
<a href="{{AppSubUrl}}/user/two_factor">{{.locale.Tr "webauthn_use_twofa"}}</a>
2022-01-14 23:03:31 +08:00
</div>
</div>
</div>
</div>
{{template "user/auth/webauthn_error" .}}
{{template "base/footer" .}}