2017-02-22 07:14:37 +00:00
|
|
|
{{template "base/head" .}}
|
2018-10-05 04:45:24 +00:00
|
|
|
|
2017-02-22 07:14:37 +00:00
|
|
|
<div class="user link-account">
|
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
2018-10-05 04:45:24 +00:00
|
|
|
|
|
|
|
<div class="ui tabular menu">
|
|
|
|
<!-- TODO handle .ShowRegistrationButton once other login bugs are fixed -->
|
2018-10-06 16:37:22 +00:00
|
|
|
<div class="item {{if not .user_exists}}active{{end}}"
|
2018-10-05 04:45:24 +00:00
|
|
|
data-tab="auth-link-signup-tab">
|
2018-10-06 16:37:22 +00:00
|
|
|
{{.i18n.Tr "auth.oauth_signup_tab"}}
|
2018-10-05 04:45:24 +00:00
|
|
|
</div>
|
2018-10-06 16:37:22 +00:00
|
|
|
<div class="item {{if .user_exists}}active{{end}}"
|
2018-10-05 04:56:44 +00:00
|
|
|
data-tab="auth-link-signin-tab">
|
2018-10-06 16:37:22 +00:00
|
|
|
{{.i18n.Tr "auth.oauth_signin_tab"}}
|
2018-10-05 04:45:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-10-06 16:37:22 +00:00
|
|
|
<div class="ui tab {{if not .user_exists}}active{{end}}"
|
2018-10-05 04:56:44 +00:00
|
|
|
data-tab="auth-link-signup-tab">
|
2018-10-05 04:45:24 +00:00
|
|
|
{{template "user/auth/signup_inner" .}}
|
|
|
|
</div>
|
2018-10-06 16:37:22 +00:00
|
|
|
<div class="ui tab {{if .user_exists}}active{{end}}"
|
2018-10-05 04:56:44 +00:00
|
|
|
data-tab="auth-link-signin-tab">
|
2018-10-05 04:45:24 +00:00
|
|
|
<div class="ui user signin container icon">
|
|
|
|
{{template "user/auth/signin_inner" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-22 07:14:37 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-03 05:07:49 +00:00
|
|
|
|
2017-02-22 07:14:37 +00:00
|
|
|
{{template "base/footer" .}}
|