mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-29 08:17:31 -04:00
d55a0b7238
* Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
23 lines
810 B
Handlebars
23 lines
810 B
Handlebars
{{template "base/head" .}}
|
|
<div class="user signin webauthn-prompt">
|
|
<div class="ui middle centered very relaxed page grid">
|
|
<div class="column">
|
|
<h3 class="ui top attached header">
|
|
{{.locale.Tr "twofa"}}
|
|
</h3>
|
|
<div class="ui attached segment">
|
|
<i class="huge key icon"></i>
|
|
<h3>{{.locale.Tr "webauthn_insert_key"}}</h3>
|
|
{{template "base/alert" .}}
|
|
<p>{{.locale.Tr "webauthn_sign_in"}}</p>
|
|
</div>
|
|
<div class="ui attached segment"><div class="ui active indeterminate inline loader"></div> {{.locale.Tr "webauthn_press_button"}} </div>
|
|
<div class="ui attached segment">
|
|
<a href="{{AppSubUrl}}/user/two_factor">{{.locale.Tr "webauthn_use_twofa"}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "user/auth/webauthn_error" .}}
|
|
{{template "base/footer" .}}
|