2016-02-08 22:25:16 +00:00
|
|
|
{% load static from staticfiles %}
|
2016-02-20 04:18:12 +00:00
|
|
|
{% load bootstrap3 %}
|
2015-10-05 16:35:30 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2016-02-19 23:29:43 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2015-10-05 16:35:30 +00:00
|
|
|
|
|
|
|
<title>Bornhack</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="{% static 'css/bornhack.css' %}" rel="stylesheet">
|
2016-02-21 01:04:51 +00:00
|
|
|
|
|
|
|
{% block extra_head %}
|
|
|
|
{% endblock %}
|
2015-10-05 16:35:30 +00:00
|
|
|
</head>
|
|
|
|
|
2016-02-19 23:29:43 +00:00
|
|
|
<body>
|
|
|
|
|
|
|
|
<nav class="navbar navbar-fixed-top">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
2016-02-20 00:33:57 +00:00
|
|
|
<a class="navbar-brand" href="/">
|
|
|
|
<img src="{% static 'img/logo-new.png' %}" class="img-responsive" />
|
2016-02-19 23:29:43 +00:00
|
|
|
</a>
|
2015-10-05 16:35:30 +00:00
|
|
|
</div>
|
|
|
|
|
2016-02-19 23:29:43 +00:00
|
|
|
<div id="navbar" class="navbar-collapse collapse">
|
2016-05-06 15:08:52 +00:00
|
|
|
<ul class="nav navbar-nav">
|
2016-06-01 08:44:14 +00:00
|
|
|
<li><a href="{% url 'news:index' %}">News</a></li>
|
|
|
|
<li><a href="{% url 'info' %}">Info</a></li>
|
|
|
|
|
2016-05-10 20:20:01 +00:00
|
|
|
{% if current_camp.shop_open %}
|
|
|
|
<li><a href="{% url 'shop:index' %}">Shop</a></li>
|
2016-05-14 17:39:34 +00:00
|
|
|
|
|
|
|
{% if current_order and current_order.get_number_of_items %}
|
|
|
|
<li>
|
|
|
|
<a href="{% url 'shop:order_detail' pk=current_order.pk %}">
|
|
|
|
<i class="glyphicon glyphicon-shopping-cart"></i>
|
|
|
|
<span class="badge">
|
|
|
|
{{ current_order.get_number_of_items }}
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
2016-05-06 20:33:59 +00:00
|
|
|
{% endif %}
|
2016-05-19 09:19:51 +00:00
|
|
|
<li><a href="{% url 'contact' %}">Contact</a></li>
|
2016-02-20 02:00:08 +00:00
|
|
|
{% if user.is_authenticated %}
|
2016-06-01 14:20:47 +00:00
|
|
|
<li><a href="{% url 'profiles:detail' %}">Profile</a></li>
|
2016-02-20 02:00:08 +00:00
|
|
|
<li><a href="{% url 'account_logout' %}">Logout</a></li>
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{% url 'account_login' %}">Login</a></li>
|
|
|
|
<li><a href="{% url 'account_signup' %}">Sign up</a></li>
|
|
|
|
{% endif %}
|
2016-02-19 23:29:43 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2015-10-05 16:35:30 +00:00
|
|
|
</div>
|
|
|
|
|
2016-02-19 23:29:43 +00:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div id="main" class="container container-fluid">
|
2016-02-20 04:18:12 +00:00
|
|
|
{% bootstrap_messages %}
|
2016-02-19 23:29:43 +00:00
|
|
|
{% block content %}{% endblock %}
|
2016-05-19 09:19:51 +00:00
|
|
|
<footer class="row">
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-12">
|
2016-06-01 12:01:27 +00:00
|
|
|
{% block footer %}
|
2016-06-01 12:10:33 +00:00
|
|
|
<a href="{% url 'general-terms' %}">General Terms & Conditions</a> |
|
2016-06-06 15:33:25 +00:00
|
|
|
<a href="{% url 'conduct' %}">Code of Conduct</a> |
|
2016-06-01 12:10:33 +00:00
|
|
|
<a href="{% url 'privacy-policy' %}">Privacy Policy</a>
|
2016-06-01 12:01:27 +00:00
|
|
|
{% endblock %}
|
2016-05-19 09:19:51 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
2015-10-05 16:35:30 +00:00
|
|
|
</div>
|
2016-04-02 19:16:46 +00:00
|
|
|
{% bootstrap_javascript jquery=1 %}
|
2015-10-05 16:35:30 +00:00
|
|
|
</body>
|
|
|
|
</html>
|