2016-02-08 22:25:16 +00:00
|
|
|
{% load static from staticfiles %}
|
2016-02-20 04:18:12 +00:00
|
|
|
{% load bootstrap3 %}
|
2017-01-23 22:58:41 +00:00
|
|
|
{% load menubutton %}
|
2016-12-28 23:15:13 +00:00
|
|
|
{% static "" as baseurl %}
|
|
|
|
|
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
|
|
|
|
2016-07-05 16:46:32 +00:00
|
|
|
<title>{% block title %}BornHack{% endblock %}</title>
|
2015-10-05 16:35:30 +00:00
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
|
|
|
|
2017-03-14 21:14:37 +00:00
|
|
|
<!-- FontAwesome CSS -->
|
|
|
|
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
|
|
|
|
|
2015-10-05 16:35:30 +00:00
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="{% static 'css/bornhack.css' %}" rel="stylesheet">
|
2016-02-21 01:04:51 +00:00
|
|
|
|
2017-01-25 00:49:13 +00:00
|
|
|
{% bootstrap_javascript jquery=1 %}
|
|
|
|
|
2017-04-14 17:39:44 +00:00
|
|
|
<!-- favicon.ico stuff -->
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
|
|
|
|
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
|
|
|
|
<link rel="manifest" href="/manifest.json">
|
|
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2017-03-31 16:41:17 +00:00
|
|
|
|
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>
|
2017-04-14 13:43:19 +00:00
|
|
|
|
|
|
|
<div id="main" class="container container-fluid">
|
2016-02-19 23:29:43 +00:00
|
|
|
<nav class="navbar navbar-fixed-top">
|
2017-04-14 13:43:19 +00:00
|
|
|
<div class="container container-fluid">
|
2016-02-19 23:29:43 +00:00
|
|
|
<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>
|
2017-02-19 23:08:32 +00:00
|
|
|
{% if request.resolver_match.kwargs.camp_slug and camp %}
|
|
|
|
<a class="navbar-brand" href="{% url 'camp_detail' camp_slug=camp.slug %}">
|
2017-07-08 14:55:05 +00:00
|
|
|
<img src="{% static camp.logo_small %}" height="50" width="190px" alt="bornhack" class="img-responsive">
|
2017-02-19 23:08:32 +00:00
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a class="navbar-brand" href="/">
|
2017-04-19 21:46:48 +00:00
|
|
|
<img src="{% static 'img/logo-small.svg' %}" alt="bornhack" class="img-responsive">
|
2017-02-19 23:08:32 +00:00
|
|
|
</a>
|
2016-12-28 23:15:13 +00:00
|
|
|
{% endif %}
|
2015-10-05 16:35:30 +00:00
|
|
|
</div>
|
2017-01-23 22:58:41 +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>
|
2016-05-10 20:20:01 +00:00
|
|
|
<li><a href="{% url 'shop:index' %}">Shop</a></li>
|
2016-12-25 14:52:55 +00:00
|
|
|
<li class="dropdown">
|
2017-01-20 15:18:10 +00:00
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Camps<span class="caret"></span></a>
|
2016-12-25 14:52:55 +00:00
|
|
|
<ul class="dropdown-menu">
|
2017-11-05 14:29:23 +00:00
|
|
|
<li><a href="{% url 'camp_detail' camp_slug='bornhack-2018' %}">BornHack 2018</a></li>
|
2017-01-25 00:49:13 +00:00
|
|
|
<li><a href="{% url 'camp_detail' camp_slug='bornhack-2017' %}">BornHack 2017</a></li>
|
2017-02-19 20:31:16 +00:00
|
|
|
<li role="separator" class="divider"></li>
|
|
|
|
<li><a href="{% url 'camp_list' %}">Camp List</a></li>
|
2016-12-25 14:52:55 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2017-01-23 22:58:41 +00:00
|
|
|
<li><a href="{% url 'contact' %}">Contact</a></li>
|
2017-08-13 13:42:42 +00:00
|
|
|
<li><a href="{% url 'people' %}">People</a></li>
|
2017-02-17 16:17:21 +00:00
|
|
|
</ul>
|
2016-12-28 23:15:13 +00:00
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2016-02-20 02:00:08 +00:00
|
|
|
{% if user.is_authenticated %}
|
2016-12-28 23:15:13 +00:00
|
|
|
<li><a href="{% url 'profiles:detail' %}">Account</a></li>
|
2016-02-20 02:00:08 +00:00
|
|
|
{% else %}
|
|
|
|
<li><a href="{% url 'account_login' %}">Login</a></li>
|
|
|
|
{% endif %}
|
2016-12-28 23:15:13 +00:00
|
|
|
</ul>
|
2016-02-19 23:29:43 +00:00
|
|
|
</div>
|
2015-10-05 16:35:30 +00:00
|
|
|
</div>
|
2016-02-19 23:29:43 +00:00
|
|
|
</nav>
|
2016-12-28 23:15:13 +00:00
|
|
|
{% if camp %}
|
|
|
|
<div class="row">
|
2017-02-17 16:17:21 +00:00
|
|
|
<div class="btn-group btn-group-justified hidden-xs">
|
2017-01-23 22:58:41 +00:00
|
|
|
<a class="btn {% menubuttonclass 'camps' %}" href="{% url 'camp_detail' camp_slug=camp.slug %}">{{ camp.title }}</a>
|
2017-07-20 11:23:34 +00:00
|
|
|
<a class="btn {% menubuttonclass 'info' %}" href="{% url 'info' camp_slug=camp.slug %}">Info</a>
|
2017-02-17 18:10:57 +00:00
|
|
|
<a class="btn {% menubuttonclass 'program' %}" href="{% url 'schedule_index' camp_slug=camp.slug %}">Program</a>
|
2017-04-02 16:04:57 +00:00
|
|
|
<a class="btn {% menubuttonclass 'villages' %}" href="{% url 'village_list' camp_slug=camp.slug %}">Villages</a>
|
2017-02-17 16:17:21 +00:00
|
|
|
<a class="btn {% menubuttonclass 'sponsors' %}" href="{% url 'sponsors' camp_slug=camp.slug %}">Sponsors</a>
|
2017-04-01 19:45:43 +00:00
|
|
|
<a class="btn {% menubuttonclass 'teams' %}" href="{% url 'team_list' camp_slug=camp.slug %}">Teams</a>
|
2017-02-17 16:17:21 +00:00
|
|
|
</div>
|
|
|
|
<div class="btn-group-vertical visible-xs">
|
|
|
|
<a class="btn {% menubuttonclass 'camps' %}" href="{% url 'camp_detail' camp_slug=camp.slug %}">{{ camp.title }}</a>
|
2017-07-20 11:23:34 +00:00
|
|
|
<a class="btn {% menubuttonclass 'info' %}" href="{% url 'info' camp_slug=camp.slug %}">Info</a>
|
2017-02-17 18:01:17 +00:00
|
|
|
<a class="btn {% menubuttonclass 'program' %}" href="{% url 'schedule_index' camp_slug=camp.slug %}">Program</a>
|
2017-04-02 16:04:57 +00:00
|
|
|
<a class="btn {% menubuttonclass 'villages' %}" href="{% url 'village_list' camp_slug=camp.slug %}">Villages</a>
|
2017-01-23 22:58:41 +00:00
|
|
|
<a class="btn {% menubuttonclass 'sponsors' %}" href="{% url 'sponsors' camp_slug=camp.slug %}">Sponsors</a>
|
2017-04-01 19:45:43 +00:00
|
|
|
<a class="btn {% menubuttonclass 'teams' %}" href="{% url 'team_list' camp_slug=camp.slug %}">Teams</a>
|
2016-12-28 23:15:13 +00:00
|
|
|
</div>
|
2017-01-23 22:58:41 +00:00
|
|
|
<p>
|
|
|
|
</div>
|
2016-12-28 23:15:13 +00:00
|
|
|
{% endif %}
|
2016-02-20 04:18:12 +00:00
|
|
|
{% bootstrap_messages %}
|
2016-02-19 23:29:43 +00:00
|
|
|
{% block content %}{% endblock %}
|
2015-10-05 16:35:30 +00:00
|
|
|
</div>
|
2017-04-16 00:20:59 +00:00
|
|
|
<footer>
|
|
|
|
<div class="col-sm-12 col-md-12 col-lg-12">
|
|
|
|
{% block footer %}
|
|
|
|
<a href="{% url 'general-terms' %}">General Terms & Conditions</a> |
|
|
|
|
<a href="{% url 'conduct' %}">Code of Conduct</a> |
|
|
|
|
<a href="{% url 'privacy-policy' %}">Privacy Policy</a> |
|
|
|
|
<a href="{% url 'contact' %}">Contact</a>
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</footer>
|
2015-10-05 16:35:30 +00:00
|
|
|
</body>
|
|
|
|
</html>
|