2019-11-23 00:33:31 +01:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2017-12-31 01:47:52 +01:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2020-11-26 20:33:28 +01:00
|
|
|
<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>
|
2017-03-17 15:16:08 +01:00
|
|
|
</div>
|
2020-11-29 16:52:11 +01:00
|
|
|
{{else}}
|
|
|
|
<div class="mt-4"></div>
|
2017-10-04 18:57:00 +02:00
|
|
|
{{end}}
|