2017-02-22 08:14:37 +01:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 23:56:10 +01:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content user link-account">
|
2024-03-23 00:54:09 +01:00
|
|
|
<overflow-menu class="ui secondary pointing tabular top attached borderless menu secondary-nav">
|
2024-03-15 03:05:31 +01:00
|
|
|
<div class="overflow-menu-items tw-justify-center">
|
2020-11-26 20:33:28 +01:00
|
|
|
<!-- TODO handle .ShowRegistrationButton once other login bugs are fixed -->
|
2021-05-09 16:13:35 +02:00
|
|
|
{{if not .AllowOnlyInternalRegistration}}
|
|
|
|
<a class="item {{if not .user_exists}}active{{end}}"
|
|
|
|
data-tab="auth-link-signup-tab">
|
2023-09-25 10:56:50 +02:00
|
|
|
{{ctx.Locale.Tr "auth.oauth_signup_tab"}}
|
2021-05-09 16:13:35 +02:00
|
|
|
</a>
|
|
|
|
{{end}}
|
2020-11-26 20:33:28 +01:00
|
|
|
<a class="item {{if .user_exists}}active{{end}}"
|
2018-10-28 23:46:16 +01:00
|
|
|
data-tab="auth-link-signin-tab">
|
2023-09-25 10:56:50 +02:00
|
|
|
{{ctx.Locale.Tr "auth.oauth_signin_tab"}}
|
2020-11-26 20:33:28 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2024-03-15 03:05:31 +01:00
|
|
|
</overflow-menu>
|
2021-02-22 02:14:27 +01:00
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
2024-04-25 13:22:32 +02:00
|
|
|
<div class="ui tab {{if not .user_exists}}active{{end}}" data-tab="auth-link-signup-tab">
|
|
|
|
{{if .AutoRegistrationFailedPrompt}}<div class="ui message">{{.AutoRegistrationFailedPrompt}}</div>{{end}}
|
2021-02-22 02:14:27 +01:00
|
|
|
{{template "user/auth/signup_inner" .}}
|
|
|
|
</div>
|
2024-04-25 13:22:32 +02:00
|
|
|
<div class="ui tab {{if .user_exists}}active{{end}}" data-tab="auth-link-signin-tab">
|
|
|
|
{{template "user/auth/signin_inner" .}}
|
2018-10-28 23:46:16 +01:00
|
|
|
</div>
|
2017-02-22 08:14:37 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-28 23:46:16 +01:00
|
|
|
|
2017-02-22 08:14:37 +01:00
|
|
|
{{template "base/footer" .}}
|