add base template
[xnet] / xnet / templates / xnet / home.html
CommitLineData
33234b2f
RB
1{% extends "base.html" %}
2{% load url from future %}
3
4{% block content %}
5{% if user.is_authenticated %}
66ae88f4 6 <h1>Welcome, {{ user.get_full_name }}</h1>
33234b2f
RB
7 <p><a href="{% url 'logout' %}">Log out </a></p>
8{% else %}
66ae88f4 9 <h1>Authenticate</h1>
33234b2f
RB
10 <p><a href="{% url 'xorgauth' %}?next=/" />Connect through X.org</a></p>
11{% endif %}
12{% endblock %}