kpsul/gestioncof/templates/base_title.html

30 lines
1.2 KiB
HTML

{% extends "base_header.html" %}
{% block content %}
<header>
<div class="container banner">
<a href="{% url "gestioncof.views.home" %}">
<div class="btn-toolbar" role=toolbar>
<div class="btn-group">
<button type=button class="btn btn-default home-link" aria-label="GestioCOF"><h1>{{ site.name }}</h1></button>
{% block homelink %}
<button type=button class="btn btn-default home-link" aria-label="home"><span class="glyphicon glyphicon-home" aria-hidden=true></span></button>
{% endblock %}
</div>
</div>
</a>
<div class="member-status">
<h2>{% if user.first_name %}{{ user.first_name }}{% else %}<tt>{{ user.username }}</tt>{% endif %}, <tt>{% if user.profile.is_cof %}Membre du COF{% else %}Non-membre du COF{% endif %}</tt></h2>
</div>
</div><!-- /.container -->
</header>
{% block interm_content %}
<div class="container hidden-xs espace"></div>
<div class="container" id="principal">
<div id="main-content">
{% block realcontent %}{% endblock %}
</div>
</div>
<div class="container hidden-xs espace"></div>
{% endblock %}
{% endblock %}