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

35 lines
1.2 KiB
HTML
Raw Normal View History

2015-01-05 15:13:08 +00:00
{% load staticfiles %}
2015-01-14 16:03:28 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Rubber Duck Booking Tool</title>
2015-01-05 15:13:08 +00:00
<link rel="stylesheet" type="text/css" href="{% static 'booking.css' %}">
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.11.2/themes/ui-lightness/jquery-ui.css">
<script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js"></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 %}
2015-01-05 15:13:08 +00:00
<script type="text/javascript">
{% block endscript %}{% endblock %}
</script>
2015-01-14 16:03:28 +00:00
</body>
</html>