2017-02-22 02:14:37 -05:00
|
|
|
{{template "base/head" .}}
|
2018-10-28 17:46:16 -05:00
|
|
|
|
2017-02-22 02:14:37 -05:00
|
|
|
<div class="user link-account">
|
2020-11-13 21:46:40 -05:00
|
|
|
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
|
|
|
|
<!-- TODO handle .ShowRegistrationButton once other login bugs are fixed -->
|
|
|
|
<a class="item {{if not .user_exists}}active{{end}}"
|
|
|
|
data-tab="auth-link-signup-tab">
|
|
|
|
{{.i18n.Tr "auth.oauth_signup_tab"}}
|
|
|
|
</a>
|
|
|
|
<a class="item {{if .user_exists}}active{{end}}"
|
|
|
|
data-tab="auth-link-signin-tab">
|
|
|
|
{{.i18n.Tr "auth.oauth_signin_tab"}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2017-02-22 02:14:37 -05:00
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
2018-10-28 17:46:16 -05:00
|
|
|
<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" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-22 02:14:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-28 17:46:16 -05:00
|
|
|
|
2017-02-22 02:14:37 -05:00
|
|
|
{{template "base/footer" .}}
|