duck-booking-tool/booking/templates/front_template.html

25 lines
771 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Rubber Duck Booking Tool</title>
</head>
<body>
<h1>Rubber Duck Booking Tool</h1>
{% if user.is_authenticated %}
<div>
Logged in as {{ user }}
<a href="{% url 'accounts:logout' %}">Logout</a>
</div>
{% else %}
<div>
<a href="{% url 'accounts:login' %}">Login</a> or <a href="{% url 'accounts:register' %}">Register</a>
</div>
{% endif %}
<a href="{% url 'booking:list' %}">Home</a>
<a href="{% url 'booking:terms' %}">Terms and Conditions</a>
<a href="{% url 'booking:vocabulary' %}">Vocabulary</a>
<a href="{% url 'booking:disclaimer' %}">Disclaimer</a>
{% block body %}{% endblock %}
</body>
</html>