aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-10-06 17:52:39 +0100
committerGravatar Gareth Coles <[email protected]>2019-10-06 17:52:39 +0100
commit8ec060ec875699529e373db5fefc2e975b18b85f (patch)
treef40865a3b12a477b7b3187ef7073589d2618eaeb
parentLogin page and styling fixes (diff)
Replace card on login page with notification
-rw-r--r--pydis_site/templates/home/login.html20
1 files changed, 6 insertions, 14 deletions
diff --git a/pydis_site/templates/home/login.html b/pydis_site/templates/home/login.html
index 04ad8941..2206e95c 100644
--- a/pydis_site/templates/home/login.html
+++ b/pydis_site/templates/home/login.html
@@ -24,12 +24,12 @@
<form method="post">
{% csrf_token %}
- <div class="card field is-horizontal">
- <input class="is-checkradio is-circle is-dark" type="checkbox" id="consent" name="consent" />
- <label for="consent">
- I consent to Python Discord using my Discord email address to identify my account
- </label>
- </div>
+ <div class="field notification is-horizontal">
+ <input class="is-checkradio is-circle is-dark" type="checkbox" id="consent" name="consent" />
+ <label for="consent">
+ I consent to Python Discord using my Discord email address to identify my account
+ </label>
+ </div>
<div class="field is-grouped-centered has-text-centered">
<button class="button is-large is-primary" type="submit">
@@ -42,14 +42,6 @@
</button>
</div>
</form>
-
-{# {% for provider in socialaccount_providers %}#}
-{# {% if provider.id == "discord" %}#}
-{# <a class="navbar-item"#}
-{# href="{% provider_login_url provider.id process="login" scope=scope auth_params=auth_params %}"#}
-{# >Login with {{ provider.name }}</a>#}
-{# {% endif %}#}
-{# {% endfor %}#}
</div>
</div>
</div>