Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
2876f735
Commit
2876f735
authored
May 23, 2017
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stripped down social auth removal template to become solely a confirmation page
parent
88565977
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
41 deletions
+8
-41
roomlist/accounts/templates/social/remove_social.html
roomlist/accounts/templates/social/remove_social.html
+8
-41
No files found.
roomlist/accounts/templates/social/remove_social.html
View file @
2876f735
...
...
@@ -10,56 +10,23 @@
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-md-12 text-center"
>
<h1><
strong>
SRCT
</strong>
​
ROOMLIST
</h1>
<p
class=
"lead
text-center"
>
Remove My Social Media Accounts
</p>
<h1><
i
class=
"fa fa-fw fa-2x fa-times"
></i>
<i
class=
"fa fa-fw fa-2x fa-{{ application }}"
></i>
</h1>
<p
class=
"lead
"
>
Remove My {{ branding }} Account
</p>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<h1
class=
"panel-title text-center"
><strong>
Connected Social Media Accounts
</strong></h1>
</div>
<div
class=
"panel-body"
>
<form
class=
"form-horizontal text-center"
method=
"post"
action=
""
>
{% csrf_token %}
<fieldset>
{% if form.non_field_errors %}
<div
id=
"errorMsg"
>
{{ form.non_field_errors }}
</div>
{% endif %}
{% for base_account in form.accounts %}
{% with base_account.get_provider_account as account %}
<div>
<p><label
for=
"id_account_{{ base_account.id }}"
style=
"font-size:20px"
>
<input
id=
"id_account_{{ base_account.id }}"
type=
"radio"
name=
"account"
value=
"{{ base_account.id }}"
/>
<span
class=
"socialaccount_provider {{ base_account.provider }} {{ account.get_brand.id }}"
>
<i
class=
"fa fa-{{base_account.provider}} fa-lg fa-fw"
></i>
{{account.get_brand.name}}
</span>
<small><em>
{{ account }}
</em></small>
</label></p>
</div>
{% endwith %}
{% endfor %}
<div>
<input
type=
"submit"
value=
"Remove"
class=
"btn btn-danger"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</div>
</fieldset>
</form>
</div>
</div>
<form
class=
"form-horizontal text-center"
method=
"post"
action=
""
>
{% csrf_token %}
<input
type=
"submit"
value=
"Remove"
class=
"btn btn-danger"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</form>
</div>
</div>
<hr/ >
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2 text-center"
>
<div
class=
"alert alert-danger"
role=
"alert"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment