8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-27 17:33:45 +00:00

Fix indentation and missing div

This commit is contained in:
Maël Kervella 2018-07-25 18:28:13 +00:00
parent af35507c6d
commit 45676ef669

View file

@ -26,9 +26,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load bootstrap3 %} {% load bootstrap3 %}
{% load acl %} {% load acl %}
{% load logs_extra %} {% load logs_extra %}
{% block title %}Profil{% endblock %}
{% block content %}
{% block title %}Profil{% endblock %}
{% block content %}
<div align="center"> <div align="center">
<h2>Bienvenue {{users.name}} {{ users.surname }}</h2> <h2>Bienvenue {{users.name}} {{ users.surname }}</h2>
</div> </div>
@ -39,7 +40,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% else %} {% else %}
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
{% endif %} {% endif %}
<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>
@ -52,10 +52,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="panel-heading dashboard">Non Connécté</div> <div class="panel-heading dashboard">Non Connécté</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
Adhérer
</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">Connécté</div>
@ -65,28 +65,19 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div> </div>
{% endif %} {% endif %}
</div> </div>
</div>
{% 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="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> {{user.solde}} <i class="fas fa-euro-sign"></i>
</div> </div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}"> <a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
<i class="fa fa-euro-sign"></i> <i class="fa fa-euro-sign"></i> Modifier le solde
Modifier le solde
</a> </a>
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
{% endif %}
{% if solde_activated %}
<div class="col-sm-6 col-md-4"> <div class="col-sm-6 col-md-4">
{% else %} {% else %}
<div class="col-sm-6 col-md-6"> <div class="col-sm-6 col-md-6">
@ -95,14 +86,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if nb_machines %} {% if nb_machines %}
<div class="panel panel-info"> <div class="panel panel-info">
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse3"> <div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse3">
<span class="badge">{{nb_machines}}</span> <span class="badge">{{nb_machines}}</span> Machines <i class="fa fa-desktop"></i>
Machines
<i class="fa fa-desktop"></i>
</div> </div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}"> <a class="btn btn-primary btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}">
<i class="fa fa-desktop"></i> <i class="fa fa-desktop"></i> Ajouter une machine
Ajouter une machine
</a> </a>
</div> </div>
</div> </div>
@ -111,8 +99,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="panel-heading dashboard">Aucune machine</div> <div class="panel-heading dashboard">Aucune machine</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-warning btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}"> <a class="btn btn-warning btn-sm" role="button" href="{% url 'machines:new-machine' users.id %}">
<i class="fa fa-desktop"></i> <i class="fa fa-desktop"></i> Ajouter une machine
Ajouter une machine
</a> </a>
</div> </div>
</div> </div>