{% load static %}
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8"/>
	<meta name="author" content="Denis Merigoux"/>
	<meta name="keywords" content="LAPI amphis statistiques"/>
	<meta name="description" content="Site web du Laboratoire pour l'Acquisition Périphérique d'Informations"/>
	<!--<link rel="shortcut icon" href="favicon.ico" />-->
	<title>LAPI – {% block title %}{% endblock %}</title>

	{# Load the tag library #}
	{% load bootstrap3 %}

	{# Load CSS and JavaScript #}
	{% bootstrap_css %}
	{% bootstrap_javascript %}

	{# Display django.contrib.messages as Bootstrap alerts #}
	{% bootstrap_messages %}

	{# Load the StickyFooter add-on #}
	<link href="{% static 'sticky-footer.css' %}" media="all" rel="stylesheet" />
</head> 
<body style="background-image: url('{% block background %}{% endblock %}'); background-size:cover">
	<nav>
		<nav class="navbar navbar-default">
			<div class="container-fluid">
				<!-- Brand and toggle get grouped for better mobile display -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
						<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="{% url 'census.views.home' %}"><b>LAPI</b></a>
				</div>

				<!-- Collect the nav links, forms, and other content for toggling -->
				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav">
						{% block nav %}
						<li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
						<li><a href="#">Link</a></li>
						{% endblock %}
					</ul>
					<ul class="nav navbar-nav navbar-right">
						<a class="navbar-brand" href="{% url 'census.views.home' %}">Accueil – Liste des cours</a>
						<a class="navbar-brand" href="{% url 'census.views.comptage' %}">Instructions de comptage</a>
						<a class="navbar-brand" href="{% url 'census.views.addcount' %}">Ajouter un comptage</a>
					</ul>
				</div><!-- /.navbar-collapse -->
			</div><!-- /.container-fluid -->
		</nav>
	</nav>
	<section id="content">
		{% block content %}{% endblock %}
	</section>
	<footer class="footer">
      <div class="container">
        <p class="text-muted" style="float:right">&copy; LAPI – 2015</p>
      </div>
    </footer>
</body>
</html>