Added a themed an customizeable logged out message page.
This commit is contained in:
@@ -1,43 +1,6 @@
|
|||||||
{% extends "base.html" %}{% load i18n %}
|
{% extends "base.html" %}{% load i18n %}
|
||||||
|
|
||||||
{% block description %}Anmelden auf Kasu.at{% endblock %}
|
{% block content %}
|
||||||
|
|
||||||
{% block extra_head %}
|
|
||||||
<link rel="canonical" href="{% url 'login' %}"/>{% endblock %}
|
|
||||||
|
|
||||||
|
|
||||||
{% block maincontent %}
|
|
||||||
<form method="post" action="{% url 'login' %}">
|
|
||||||
{% csrf_token %}
|
|
||||||
<div class="grid_5">
|
|
||||||
<fieldset>
|
|
||||||
<legend> </legend>
|
|
||||||
{% csrf_token %} {% include 'form.html' %} {% if form.errors %}
|
|
||||||
<p>{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}</p>
|
|
||||||
{% endif %} <input type="hidden" name="next" value="{{next}}"/>
|
|
||||||
<p>
|
|
||||||
<a href="{% url 'password_reset' %}"> {% trans 'Forgot your Password?'%}</a>
|
|
||||||
</p>
|
|
||||||
<div class="buttonbar">
|
|
||||||
<button type="submit">
|
|
||||||
<span class="fa fa-sign-in"></span> {% trans 'Login' %}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
</div>
|
|
||||||
<div class="grid_2">
|
|
||||||
<h2>{% trans 'or' %}</h2>
|
|
||||||
</div>
|
|
||||||
<div class="grid_5">
|
|
||||||
<a class="button" rel="nofollow" href="{% url 'social:begin' 'facebook' %}">
|
|
||||||
<span class="fa fa-facebook fa-2x"></span> {% trans 'Login with Facebook' %}</a><br/>
|
|
||||||
<a class="button" rel="nofollow" href="{% url 'social:begin' 'twitter' %}">
|
|
||||||
<span class="fa fa-twitter fa-2x"></span> {% trans 'Login with Twitter' %}</a><br/>
|
|
||||||
<a class="button" rel="nofollow" href="{% url 'social:begin' 'google-oauth2' %}">
|
|
||||||
<span class="fa fa-google-plus fa-2x"></span> {% trans 'Login with Google' %}</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<div class="grid_12">
|
|
||||||
{{ current_page.content }}
|
{{ current_page.content }}
|
||||||
</div>{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user