mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 23:29:12 +01:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
22 lines
777 B
Handlebars
22 lines
777 B
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content user signin">
|
|
<div class="ui middle centered very relaxed page grid">
|
|
<div class="column">
|
|
<h3 class="ui top attached header">
|
|
{{.i18n.Tr "twofa"}}
|
|
</h3>
|
|
<div class="ui attached segment">
|
|
<i class="huge key icon"></i>
|
|
<h3>{{.i18n.Tr "u2f_insert_key"}}</h3>
|
|
{{template "base/alert" .}}
|
|
<p>{{.i18n.Tr "u2f_sign_in"}}</p>
|
|
</div>
|
|
<div id="wait-for-key" class="ui attached segment"><div class="ui active indeterminate inline loader"></div> {{.i18n.Tr "u2f_press_button"}} </div>
|
|
<div class="ui attached segment">
|
|
<a href="{{AppSubUrl}}/user/two_factor">{{.i18n.Tr "u2f_use_twofa"}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "user/auth/u2f_error" .}}
|
|
{{template "base/footer" .}}
|