<!DOCTYPE html>
<html lang="fr">
  <head>
    <meta charset="utf-8">
    <title>UnivNautes IdP / Gestion des utilisateurs / {% block title %}{% endblock %}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <link href="{{ MEDIA_URL }}bootstrap/css/bootstrap.css" rel="stylesheet">
    <style>
	    body { padding-top: 60px; }
	    th { text-align: right; padding-right: 20px; }
	    .disabled { color: #ccc; }
	    ul.errorlist { list-style-type: none; margin: 0; }
	    ul.errorlist li { color: #f00; }
	    .helptext { font-size: 0.8em; font-style: italic; }
    </style>
    <link href="{{ MEDIA_URL }}bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="{{ MEDIA_URL }}bootstrap/css/datepicker.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="{{ MEDIA_URL }}js/html5.js"></script>
    <![endif]-->

    <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.7.2.min.js"></script>

  </head>

  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="brand" href="/users-admin/">UnivNautes IdP</a>
	  <div class="btn-group pull-right"><a href="/logout" class="btn"><i class="icon-off"></i> Déconnexion</a></div>
          <div class="nav">
            <ul class="nav">{% block nav %}{% endblock %}</ul>
          </div>
        </div>
      </div>
    </div>

    <div class="container">

      {% block title_content %}{% endblock %}

      {% block messages %}
        {% if messages %}
          {% for message in messages %}
	    <div class="alert alert-block">
	      <a class="close" data-dismiss="alert" href="#">×</a>
	      <!-- h4 class="alert-heading">Warning!</h4 -->
	      {{ message }}
	    </div>
	    {% endfor %}
	    <script src="{{ MEDIA_URL }}bootstrap/js/bootstrap-alert.js"></script>
	    <script>$(".alert").alert();</script>
        {% endif %}
      {% endblock %}

      {% block content %}{% endblock %}

    </div>

  </body>
</html>
