Add a functional homepage using team and event lookups based on geoip or specifid city. Use Searchable to include federated events. Move login to it's own page
This commit is contained in:
parent
233483c0c4
commit
e29da6ce6f
1 changed files with 20 additions and 0 deletions
20
get_together/templates/get_together/users/login.html
Normal file
20
get_together/templates/get_together/users/login.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% extends "get_together/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<center>
|
||||
<h2>Welcome to Get Together!</h2>
|
||||
|
||||
<h4>Login</h4>
|
||||
<!--
|
||||
<a class="btn btn-primary" href="{% url 'social:begin' 'facebook' %}">Facebook</a><br/><br/>
|
||||
<a class="btn btn-primary" href="{% url 'social:begin' 'twitter' %}">Twitter</a>
|
||||
-->
|
||||
{% if settings.SOCIAL_AUTH_GOOGLE_OAUTH2_KEY %}<span><a class="btn btn-primary" href="{% url 'social:begin' 'google-oauth2' %}">Google</a></span>{% endif %}
|
||||
{% if settings.SOCIAL_AUTH_FACEBOOK_KEY %}<span><a class="btn btn-primary" href="{% url 'social:begin' 'facebook' %}">Faceboook</a></span>{% endif %}
|
||||
{% if settings.SOCIAL_AUTH_TWITTER_KEY %}<span><a class="btn btn-primary" href="{% url 'social:begin' 'twitter' %}">Twitter</a></span>{% endif %}
|
||||
{% if settings.SOCIAL_AUTH_GITHUB_KEY %}<span><a class="btn btn-primary" href="{% url 'social:begin' 'github' %}">GitHub</a></span>{% endif %}
|
||||
{% if settings.DEBUG %}<span><a class="btn btn-secondary" href="{% url 'admin:login' %}">Local</a></span>{% endif %}
|
||||
<br>
|
||||
</center>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in a new issue