Browse Source

Etiquettes plus adaptées

rewrite_authors
Gabriel Detraz 10 years ago
parent
commit
ed18c0b8ba
  1. 1
      cotisations/templates/cotisations/index.html
  2. 1
      machines/templates/machines/index.html
  3. 2
      templates/base.html
  4. 1
      topologie/templates/topologie/index.html

1
cotisations/templates/cotisations/index.html

@ -4,6 +4,7 @@
{% block title %}Facture{% endblock %}
{% block content %}
<h2>Cotisations</h2>
{% include "cotisations/aff_cotisations.html" with facture_list=facture_list %}
<br />
<br />

1
machines/templates/machines/index.html

@ -4,6 +4,7 @@
{% block title %}Machines{% endblock %}
{% block content %}
<h2>Machines</h2>
{% include "machines/aff_machines.html" with interfaces_list=interfaces_list %}
<br />
<br />

2
templates/base.html

@ -90,7 +90,7 @@
<li>Pseudo : {{ request_user.pseudo }}</li>
<li>Chambre : {{ request_user.room }}</li>
<li>Connexion : {% if request_user.actif == True %}<font color="green">Active</font>{% else %}<font color="red">Désactivée</font>{% endif %}</li>
<li>Fin d'adhésion : {% if request_user.end_adhesion != None %}<font color="green">{{ user.end_adhesion }}</font>{% else %}<font color="red">Non adhérent</font>{% endif %}</li>
<li>Fin d'adhésion : {% if request_user.end_adhesion != None %}<font color="green">{{ request_user.end_adhesion }}</font>{% else %}<font color="red">Non adhérent</font>{% endif %}</li>
<p><a href="{% url "users:mon-profil" %}">Voir mon profil</a></p>
{% else %}
<p>Vous n'êtes pas authentifié</p>

1
topologie/templates/topologie/index.html

@ -4,6 +4,7 @@
{% block title %}Switchs{% endblock %}
{% block content %}
<h2>Switchs</h2>
{% if is_infra %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'topologie:new-switch' %}"><i class="glyphicon glyphicon-plus"></i> Ajouter un switch</a>
{% endif %}

Loading…
Cancel
Save