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>
21 lines
702 B
Handlebars
21 lines
702 B
Handlebars
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
|
<div class="new-menu-inner">
|
|
<a class="{{if .PageIsLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
|
{{.i18n.Tr "auth.login_userpass"}}
|
|
</a>
|
|
{{if .EnableOpenIDSignIn}}
|
|
<a class="{{if .PageIsLoginOpenID}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
|
<i class="fa fa-openid"></i>
|
|
OpenID
|
|
</a>
|
|
{{end}}
|
|
{{if .EnableSSPI}}
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
|
<i class="fa fa-windows"></i>
|
|
SSPI
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{end}}
|