2017-02-22 00:14:37 -07:00
|
|
|
{{template "base/head" .}}
|
2020-11-30 21:00:14 -07:00
|
|
|
<div class="page-content user link-account">
|
2020-11-13 19:46:40 -07:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
2020-11-26 12:33:28 -07:00
|
|
|
<div class="new-menu-inner">
|
|
|
|
<!-- TODO handle .ShowRegistrationButton once other login bugs are fixed -->
|
2021-05-09 08:13:35 -06:00
|
|
|
{{if not .AllowOnlyInternalRegistration}}
|
|
|
|
<a class="item {{if not .user_exists}}active{{end}}"
|
|
|
|
data-tab="auth-link-signup-tab">
|
|
|
|
{{.i18n.Tr "auth.oauth_signup_tab"}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2020-11-26 12:33:28 -07:00
|
|
|
<a class="item {{if .user_exists}}active{{end}}"
|
2018-10-28 16:46:16 -06:00
|
|
|
data-tab="auth-link-signin-tab">
|
2020-11-26 12:33:28 -07:00
|
|
|
{{.i18n.Tr "auth.oauth_signin_tab"}}
|
|
|
|
</a>
|
|
|
|
</div>
|
2021-02-21 18:14:27 -07:00
|
|
|
</div>
|
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
|
|
|
<div class="ui tab {{if not .user_exists}}active{{end}}"
|
|
|
|
data-tab="auth-link-signup-tab">
|
|
|
|
{{template "user/auth/signup_inner" .}}
|
|
|
|
</div>
|
|
|
|
<div class="ui tab {{if .user_exists}}active{{end}}"
|
|
|
|
data-tab="auth-link-signin-tab">
|
|
|
|
<div class="ui user signin container icon">
|
|
|
|
{{template "user/auth/signin_inner" .}}
|
2018-10-28 16:46:16 -06:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-22 00:14:37 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-28 16:46:16 -06:00
|
|
|
|
2017-02-22 00:14:37 -07:00
|
|
|
{{template "base/footer" .}}
|