2019-11-22 23:33:31 +00:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2024-03-15 02:05:31 +00:00
|
|
|
<overflow-menu class="ui secondary pointing tabular top attached borderless menu navbar tw-bg-header-wrapper">
|
|
|
|
<div class="overflow-menu-items tw-justify-center">
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsLogin}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
2024-03-13 16:03:09 +00:00
|
|
|
{{ctx.Locale.Tr "auth.tab_signin"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
2023-09-13 05:14:21 +00:00
|
|
|
<a class="{{if .PageIsSignUp}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/sign_up">
|
2024-03-13 16:03:09 +00:00
|
|
|
{{ctx.Locale.Tr "auth.tab_signup"}}
|
2023-09-13 05:14:21 +00:00
|
|
|
</a>
|
2020-11-26 19:33:28 +00:00
|
|
|
{{if .EnableOpenIDSignIn}}
|
2022-12-09 13:34:51 +00:00
|
|
|
<a class="{{if .PageIsLoginOpenID}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
2021-05-22 21:29:46 +00:00
|
|
|
{{svg "fontawesome-openid"}}
|
2024-03-13 16:03:09 +00:00
|
|
|
{{ctx.Locale.Tr "auth.tab_openid"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .EnableSSPI}}
|
|
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
2021-05-22 21:29:46 +00:00
|
|
|
{{svg "fontawesome-windows"}}
|
2020-11-26 19:33:28 +00:00
|
|
|
SSPI
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2024-03-15 02:05:31 +00:00
|
|
|
</overflow-menu>
|
2017-10-04 16:57:00 +00:00
|
|
|
{{end}}
|