mirror of https://github.com/go-gitea/gitea.git
24 lines
737 B
Handlebars
24 lines
737 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>
|
|
{{else}}
|
|
<div class="mt-4"></div>
|
|
{{end}}
|