Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table id="tableau" style="background-color: whitesmoke; border:1px solid whitesmoke;width:100%;">
- <thead style="background: rgb(236, 236, 236); height: 50px">
- <tr>
- <th width="15%">Nom</th>
- {% if colonne.1.Nom is not empty %}
- <th width="10%">{{ colonne.1.Nom }}</th>
- {% endif %}
- {% if colonne.2.Nom is not empty %}
- <th width="10%">{{ colonne.2.Nom }}</th>
- {% endif %}
- {% if colonne.3.Nom is not empty %}
- <th width="10%">{{ colonne.3.Nom }}</th>
- {% endif %}
- {% if colonne.4.Nom is not empty %}
- <th width="10%">{{ colonne.4.Nom }}</th>
- {% endif %}
- {% if colonne.5.Nom is not empty %}
- <th width="10%">{{ colonne.5.Nom }}</th>
- {% endif %}
- <th width="7%">Numéro de téléphone</th>
- <th width="5%">Adresse email</th>
- </tr>
- </thead>
- <tbody>
- {% for user in bddusers %}
- <tr class="tab" id="{{ user.NPhone }}" onclick="check('{{ user.NPhone }}')">
- <td><label for="{{ user.NPhone }}">{{ user.Nom }}</label></td>
- {% if colonne.1.Nom is not empty %}
- <td><label for="{{ user.NPhone }}">{{ user.Col1|upper }}</label></td>
- {% endif %}
- {% if colonne.2.Nom is not empty %}
- <td><label for="{{ user.NPhone }}">{{ user.Col2|upper }}</label></td>
- {% endif %}
- {% if colonne.3.Nom is not empty %}
- <td><label for="{{ user.NPhone }}">{{ user.Col3|upper }}</label></td>
- {% endif %}
- {% if colonne.4.Nom is not empty %}
- <td><label for="{{ user.NPhone }}">{{ user.Col4|upper }}</label></td>
- {% endif %}
- {% if colonne.5.Nom is not empty %}
- <td><label for="{{ user.NPhone }}">{{ user.Col5|upper }}</label></td>
- {% endif %}
- <td><label for="{{ user.NPhone }}">{{ user.NPhone }}</label></td>
- <td><label for="{{ user.NPhone }}">{% if user.AMail is empty %}Non renseignée{% else %}{{ user.AMail }}{% endif %}</label></td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement