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