Commit 1b57e736 authored by Daniel W Bond's avatar Daniel W Bond

further simplification of social settings verification-- just boxes to check

parent 84a5b044
Pipeline #1360 passed with stage
in 3 minutes and 34 seconds
...@@ -12,132 +12,124 @@ ...@@ -12,132 +12,124 @@
<div class="row text-center"> <div class="row text-center">
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-facebook fa-2x"></i></h4> <h4><i class="fa fa-facebook fa-2x"></i></h4>
<h4>Facebook</h4> <h4>
{% if accounts.facebook %} {% if accounts.facebook %}
<strong>
<a href="{% url 'remove_social' request.user.username 'facebook' %}"> <a href="{% url 'remove_social' request.user.username 'facebook' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Facebook <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'facebook' process='connect' %}"> <a href="{% provider_login_url 'facebook' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Facebook <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-google fa-2x"></i></h4> <h4><i class="fa fa-google fa-2x"></i></h4>
<h4>Google</h4> <h4>
{% if accounts.google %} {% if accounts.google %}
<strong>
<a href="{% url 'remove_social' request.user.username 'google' %}"> <a href="{% url 'remove_social' request.user.username 'google' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Google <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'google' process='connect' %}"> <a href="{% provider_login_url 'google' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Google <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
</div> </div>
<br /> <br />
<div class="row text-center"> <div class="row text-center">
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-twitter fa-2x"></i></h4> <h4><i class="fa fa-twitter fa-2x"></i></h4>
<h4>Twitter</h4> <h4>
{% if accounts.twitter %} {% if accounts.twitter %}
<strong>
<a href="{% url 'remove_social' request.user.username 'twitter' %}"> <a href="{% url 'remove_social' request.user.username 'twitter' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Twitter <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'twitter' process='connect' %}"> <a href="{% provider_login_url 'twitter' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Twitter <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-instagram fa-2x"></i></h4> <h4><i class="fa fa-instagram fa-2x"></i></h4>
<h4>Instagram</h4> <h4>
{% if accounts.instagram %} {% if accounts.instagram %}
<strong>
<a href="{% url 'remove_social' request.user.username 'instagram' %}"> <a href="{% url 'remove_social' request.user.username 'instagram' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Instagram <i class="fa fa-check-square-o"></i></strong>
</a> </a>
{% else %} {% else %}
</strong>
<a href="{% provider_login_url 'instagram' process='connect' %}"> <a href="{% provider_login_url 'instagram' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Instagram <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
</div> </div>
<br /> <br />
<div class="row text-center"> <div class="row text-center">
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-pinterest-p fa-2x"></i></h4> <h4><i class="fa fa-pinterest-p fa-2x"></i></h4>
<h4>Pinterest</h4> <h4>
{% if accounts.pinterest %} {% if accounts.pinterest %}
<strong>
<a href="{% url 'remove_social' request.user.username 'pinterest' %}"> <a href="{% url 'remove_social' request.user.username 'pinterest' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Pinterest <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'pinterest' process='connect' %}"> <a href="{% provider_login_url 'pinterest' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Pinterest <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-tumblr fa-2x"></i></h4> <h4><i class="fa fa-tumblr fa-2x"></i></h4>
<h4>Tumblr</h4> <h4>
{% if accounts.tumblr %} {% if accounts.tumblr %}
<strong>
<a href="{% url 'remove_social' request.user.username 'tumblr' %}"> <a href="{% url 'remove_social' request.user.username 'tumblr' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Tumblr <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'tumblr' process='connect' %}"> <a href="{% provider_login_url 'tumblr' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Tumblr <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
</div> </div>
<br /> <br />
<div class="row text-center"> <div class="row text-center">
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-spotify fa-2x"></i></h4> <h4><i class="fa fa-spotify fa-2x"></i></h4>
<h4>Spotify</h4> <h4>
{% if accounts.spotify %} {% if accounts.spotify %}
<strong>
<a href="{% url 'remove_social' request.user.username 'spotify' %}"> <a href="{% url 'remove_social' request.user.username 'spotify' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Spotify <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'spotify' process='connect' %}"> <a href="{% provider_login_url 'spotify' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Spotify <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
<div class="col-xs-6"> <div class="col-xs-6">
<h4><i class="fa fa-github fa-2x"></i></h4> <h4><i class="fa fa-github fa-2x"></i></h4>
<h4>Github</h4> <h4>
{% if accounts.github %} {% if accounts.github %}
<strong>
<a href="{% url 'remove_social' request.user.username 'github' %}"> <a href="{% url 'remove_social' request.user.username 'github' %}">
<p><i class="fa fa-check-square-o"></i> Verified!</p> <strong>Github <i class="fa fa-check-square-o"></i></strong>
</a> </a>
</strong>
{% else %} {% else %}
<a href="{% provider_login_url 'github' process='connect' %}"> <a href="{% provider_login_url 'github' process='connect' %}">
<p><i class="fa fa-square-o"></i> Verify</p> Github <i class="fa fa-square-o"></i>
</a> </a>
{% endif %} {% endif %}
</h4>
</div> </div>
</div> </div>
</div> </div>
......
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