2019-11-22 18:33:31 -05:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2024-03-22 19:54:09 -04:00
|
|
|
<overflow-menu class="ui secondary pointing tabular top attached borderless menu navbar secondary-nav">
|
2024-03-14 22:05:31 -04:00
|
|
|
<div class="overflow-menu-items tw-justify-center">
|
2022-12-09 08:34:51 -05:00
|
|
|
<a class="{{if .PageIsLogin}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{ctx.Locale.Tr "auth.login_userpass"}}
|
2020-11-26 14:33:28 -05:00
|
|
|
</a>
|
2023-09-13 01:14:21 -04:00
|
|
|
<a class="{{if .PageIsSignUp}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/sign_up">
|
2023-09-25 04:56:50 -04:00
|
|
|
{{ctx.Locale.Tr "auth.create_new_account"}}
|
2023-09-13 01:14:21 -04:00
|
|
|
</a>
|
2020-11-26 14:33:28 -05:00
|
|
|
{{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>
|
2024-03-14 22:05:31 -04:00
|
|
|
</overflow-menu>
|
2017-10-04 12:57:00 -04:00
|
|
|
{{end}}
|