64 lines
2.1 KiB
HTML
64 lines
2.1 KiB
HTML
{% load static from staticfiles %}
|
|
{% load bootstrap3 %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
|
<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">
|
|
|
|
{% block extra_head %}
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<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>
|
|
<a class="navbar-brand" href="/">
|
|
<img src="{% static 'img/logo-new.png' %}" class="img-responsive" />
|
|
</a>
|
|
</div>
|
|
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
{% if current_camp.shop_open %}
|
|
<li><a href="{% url 'shop:index' %}">Shop</a></li>
|
|
{% endif %}
|
|
<li><a href="{% url 'good-to-know' %}">Good to know</a></li>
|
|
{% if user.is_authenticated %}
|
|
<li><a href="{% url 'profiles:detail' %}">Profile</a></li>
|
|
<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 %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<div id="main" class="container container-fluid">
|
|
{% bootstrap_messages %}
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% bootstrap_javascript jquery=1 %}
|
|
</body>
|
|
</html>
|