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

27 lines
854 B
HTML
Raw Normal View History

2015-01-14 16:03:28 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Rubber Duck Booking Tool</title>
<script src="{% url 'api:js_reverse' %}" type="text/javascript"></script>
2015-01-14 16:03:28 +00:00
</head>
<body>
<h1>Rubber Duck Booking Tool</h1>
2014-12-17 12:30:58 +00:00
{% if user.is_authenticated %}
2015-01-12 15:51:54 +00:00
<div>
2014-12-17 12:30:58 +00:00
Logged in as {{ user }}
<a href="{% url 'accounts:logout' %}">Logout</a>
2015-01-12 15:51:54 +00:00
</div>
2014-12-17 12:30:58 +00:00
{% else %}
<div>
<a href="{% url 'accounts:login' %}">Login</a> or <a href="{% url 'accounts:register' %}">Register</a>
</div>
{% endif %}
2014-12-23 08:28:43 +00:00
<a href="{% url 'booking:list' %}">Home</a>
2014-12-23 10:09:23 +00:00
<a href="{% url 'booking:terms' %}">Terms and Conditions</a>
2014-12-23 08:13:22 +00:00
<a href="{% url 'booking:vocabulary' %}">Vocabulary</a>
2014-12-23 10:59:26 +00:00
<a href="{% url 'booking:disclaimer' %}">Disclaimer</a>
2015-01-14 16:03:28 +00:00
{% block body %}{% endblock %}
</body>
</html>