Commit 2876f735 authored by Daniel W Bond's avatar Daniel W Bond

stripped down social auth removal template to become solely a confirmation page

parent 88565977
......@@ -10,56 +10,23 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-12 text-center">
<h1><strong>SRCT</strong>&#8203;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">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment