2019-11-23 00:33:31 +01:00
|
|
|
{{if or .EnableOpenIDSignIn .EnableSSPI}}
|
2024-03-15 03:05:31 +01: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 14:34:51 +01:00
|
|
|
<a class="{{if .PageIsLogin}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login">
|
2024-03-13 17:03:09 +01:00
|
|
|
{{ctx.Locale.Tr "auth.tab_signin"}}
|
2020-11-26 20:33:28 +01:00
|
|
|
</a>
|
2023-09-13 07:14:21 +02:00
|
|
|
<a class="{{if .PageIsSignUp}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/sign_up">
|
2024-03-13 17:03:09 +01:00
|
|
|
{{ctx.Locale.Tr "auth.tab_signup"}}
|
2023-09-13 07:14:21 +02:00
|
|
|
</a>
|
2020-11-26 20:33:28 +01:00
|
|
|
{{if .EnableOpenIDSignIn}}
|
2022-12-09 14:34:51 +01:00
|
|
|
<a class="{{if .PageIsLoginOpenID}}active {{end}}item" rel="nofollow" href="{{AppSubUrl}}/user/login/openid">
|
2021-05-22 23:29:46 +02:00
|
|
|
{{svg "fontawesome-openid"}}
|
2024-03-13 17:03:09 +01:00
|
|
|
{{ctx.Locale.Tr "auth.tab_openid"}}
|
2020-11-26 20:33:28 +01:00
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
{{if .EnableSSPI}}
|
|
|
|
<a class="item" rel="nofollow" href="{{AppSubUrl}}/user/login?auth_with_sspi=1">
|
2021-05-22 23:29:46 +02:00
|
|
|
{{svg "fontawesome-windows"}}
|
2020-11-26 20:33:28 +01:00
|
|
|
SSPI
|
|
|
|
</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2024-03-15 03:05:31 +01:00
|
|
|
</overflow-menu>
|
2017-10-04 18:57:00 +02:00
|
|
|
{{end}}
|