8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

orthographe et mise en page

This commit is contained in:
Grizzly 2018-06-26 15:22:16 +00:00
parent 3d5783caa2
commit d8bcbba229

View file

@ -40,23 +40,24 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="col-12"> <div class="col-12">
{% if users.is_ban%} {% if users.is_ban%}
<div class="panel panel-danger"> <div class="panel panel-danger">
<div class="panel-heading dashboard">Votre compte est banni</div> <div class="panel-heading dashboard">Votre compte est banni</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<i class="text-danger">Fin du ban : {{user.end_ban|date:"d M Y"}}</i> <i class="text-danger">Fin du ban : {{user.end_ban|date:"d M Y"}}</i>
</div> </div>
</div> </div>
{% elif not users.is_adherent%} {% elif not users.is_connected%}
<div class="panel panel-danger"> <div class="panel panel-danger">
<div class="panel-heading dashboard">Non Connécté</div> <div class="panel-heading dashboard">Pas d'accès à internet</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}"> <a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
<i class="fas fa-sign-in-alt"></i> <i class="fas fa-sign-in-alt"></i>
Adhérer Payer ma connexion
</a> </a>
</div> </div>
</div>
{% else %} {% else %}
<div class="panel panel-success"> <div class="panel panel-success">
<div class="panel-heading dashboard">Connécté</div> <div class="panel-heading dashboard">Connecté</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<i class="text-success">Fin de connexion: {{user.end_adhesion|date:"d M Y"}}</i> <i class="text-success">Fin de connexion: {{user.end_adhesion|date:"d M Y"}}</i>
</div> </div>
@ -67,23 +68,21 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if solde_activated %} {% if solde_activated %}
<div class="col-sm-6 col-md-4"> <div class="col-sm-6 col-md-4">
<div class="col-12"> <div class="col-12">
<div class="col-12"> <div class="panel panel-info">
<div class="panel panel-info"> <div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4">
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4"> {{user.solde}} <i class="fas fa-euro-sign"></i>
</div>
{{user.solde}} <i class="fas fa-euro-sign"></i> <div class="panel-body dashboard">
</div> <a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
<div class="panel-body dashboard"> <i class="fa fa-euro-sign"></i>
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}"> Modifier le solde
<i class="fa fa-euro-sign"></i> </a>
Modifier le solde </div>
</a> </div>
</div> </div>
</div>
</div>
</div>
</div> </div>
{% endif %} {% endif %}
{% if solde_activated %} {% if solde_activated %}
<div class="col-sm-6 col-md-4"> <div class="col-sm-6 col-md-4">
{% else %} {% else %}