mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 17:43:05 +00:00
Fix whitespace in user/settings.tmpl
This commit is contained in:
parent
00cceca104
commit
a78b36b871
1 changed files with 20 additions and 20 deletions
|
@ -75,18 +75,18 @@ h3 { font-weight: normal; }
|
|||
</form>
|
||||
{{end}}
|
||||
|
||||
{{ if .OauthSection }}
|
||||
{{ if .OauthSection }}
|
||||
<hr />
|
||||
|
||||
{{ if .OauthAccounts }}
|
||||
{{ if .OauthAccounts }}
|
||||
<div class="option">
|
||||
<h2>Linked Accounts</h2>
|
||||
<p>These are your linked external accounts.</p>
|
||||
{{ range $oauth_account := .OauthAccounts }}
|
||||
<form method="post" action="/api/me/oauth/remove" autocomplete="false">
|
||||
<input type="hidden" name="provider" value="{{ $oauth_account.Provider }}" />
|
||||
<input type="hidden" name="client_id" value="{{ $oauth_account.ClientID }}" />
|
||||
<input type="hidden" name="remote_user_id" value="{{ $oauth_account.RemoteUserID }}" />
|
||||
{{ range $oauth_account := .OauthAccounts }}
|
||||
<form method="post" action="/api/me/oauth/remove" autocomplete="false">
|
||||
<input type="hidden" name="provider" value="{{ $oauth_account.Provider }}" />
|
||||
<input type="hidden" name="client_id" value="{{ $oauth_account.ClientID }}" />
|
||||
<input type="hidden" name="remote_user_id" value="{{ $oauth_account.RemoteUserID }}" />
|
||||
<div class="section oauth-provider">
|
||||
{{ if $oauth_account.DisplayName}}
|
||||
{{ if $oauth_account.AllowDisconnect}}
|
||||
|
@ -99,8 +99,8 @@ h3 { font-weight: normal; }
|
|||
<input type="submit" value="Remove {{ $oauth_account.Provider | title }}" />
|
||||
{{end}}
|
||||
</div>
|
||||
</form>
|
||||
{{ end }}
|
||||
</form>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if or .OauthSlack .OauthWriteAs .OauthGitLab .OauthGeneric .OauthGitea }}
|
||||
|
@ -116,41 +116,41 @@ h3 { font-weight: normal; }
|
|||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .OauthSlack }}
|
||||
{{ if .OauthSlack }}
|
||||
<div class="section oauth-provider">
|
||||
<img src="/img/mark/slack.png" alt="Slack" />
|
||||
<a class="btn cta loginbtn" href="/oauth/slack?attach=t">
|
||||
Link <strong>Slack</strong>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .OauthGitLab }}
|
||||
{{ end }}
|
||||
{{ if .OauthGitLab }}
|
||||
<div class="section oauth-provider">
|
||||
<img src="/img/mark/gitlab.png" alt="GitLab" />
|
||||
<a class="btn cta loginbtn" id="gitlab-login" href="/oauth/gitlab?attach=t">
|
||||
Link <strong>{{.GitLabDisplayName}}</strong>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .OauthGitea }}
|
||||
{{ end }}
|
||||
{{ if .OauthGitea }}
|
||||
<div class="section oauth-provider">
|
||||
<img src="/img/mark/gitea.png" alt="Gitea" />
|
||||
<a class="btn cta loginbtn" id="gitea-login" href="/oauth/gitea?attach=t">
|
||||
Link <strong>{{.GiteaDisplayName}}</strong>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .OauthGeneric }}
|
||||
{{ if .OauthGeneric }}
|
||||
<div class="row">
|
||||
<div class="section oauth-provider">
|
||||
<p><a class="btn cta loginbtn" id="generic-oauth-login" href="/oauth/generic?attach=t">Link <strong>{{ .OauthGenericDisplayName }}</strong></a></p>
|
||||
</div>
|
||||
<p><a class="btn cta loginbtn" id="generic-oauth-login" href="/oauth/generic?attach=t">Link <strong>{{ .OauthGenericDisplayName }}</strong></a></p>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue