2019-11-22 18:33:31 -05:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2017-12-30 19:47:52 -05:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2020-11-26 14:33:28 -05:00
|
|
|
<div class="new-menu-inner">
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsLogin}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "auth.login_userpass"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
|
|
|
{{if .EnableOpenIDSignIn}}
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsLoginOpenID}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
2021-05-22 17:29:46 -04:00
|
|
|
{{svg "fontawesome-openid"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
OpenID
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .EnableSSPI}}
|
|
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
2021-05-22 17:29:46 -04:00
|
|
|
{{svg "fontawesome-windows"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
SSPI
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2017-03-17 10:16:08 -04:00
|
|
|
</div>
|
2017-10-04 12:57:00 -04:00
|
|
|
{{end}}
|