{% load static %} 
{% load analytics %}
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>Spectacle en Lignes : {% block page_title %}{% endblock %}</title>
  {% block common_css %}
  <link rel="stylesheet" href="{% static 'spel/lib/bootstrap/css/bootstrap.min.css' %}">
  <link rel="stylesheet" href="{% static 'spel/css/spel.css' %}">
  {% endblock %}
  {% block page_css %}{% endblock %}
</head>
<body>
  {% block container %}
  <div class="navbar navbar-inverse" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <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" id="logo" href="{% url 'spel_home' %}"><img src="{% static 'spel/img/spel_logo_small.png' %}"></a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            {% url 'spel_theatre' as url %}
            <li{% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">Théâtre</a></li>
            <li><a href="#">Opéra</a></li>
            {% url 'spel_corpus' as url %}
            <li{% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">Corpus</a></li>
          </ul>
        </div>
      </div>
  </div>
  <div class="container">
 	<div class="spel-content">
 	  {% block spel_content %}
 	  {% endblock %}
 	</div>
    <footer>
      <div class="row">
        <div class="footer-img col-md-6">
            <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="{% static 'spel/img/logo_IRI_footer.png' %}" alt="Logo IRI" /></a>
        </div>
        <div class="col-md-6 text-right">
            SPEL v{{ SPEL_VERSION }} (ldt v{{ VERSION }}) - ©2014
        </div>
      </div>
    </footer>
  </div>
  {% endblock %}
  {% block common_js %}{% endblock %}
  {% block page_js %}{% endblock %}
  {% analytics %}
</body>
</html>