Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1.  
  2. <table id="tableau" style="background-color: whitesmoke; border:1px solid whitesmoke;width:100%;">
  3. <thead style="background: rgb(236, 236, 236); height: 50px">
  4. <tr>
  5. <th width="15%">Nom</th>
  6.  
  7. {% if colonne.1.Nom is not empty %}
  8. <th width="10%">{{ colonne.1.Nom }}</th>
  9. {% endif %}
  10.  
  11. {% if colonne.2.Nom is not empty %}
  12. <th width="10%">{{ colonne.2.Nom }}</th>
  13. {% endif %}
  14.  
  15. {% if colonne.3.Nom is not empty %}
  16. <th width="10%">{{ colonne.3.Nom }}</th>
  17. {% endif %}
  18.  
  19. {% if colonne.4.Nom is not empty %}
  20. <th width="10%">{{ colonne.4.Nom }}</th>
  21. {% endif %}
  22.  
  23. {% if colonne.5.Nom is not empty %}
  24. <th width="10%">{{ colonne.5.Nom }}</th>
  25. {% endif %}
  26.  
  27. <th width="7%">Numéro de téléphone</th>
  28. <th width="5%">Adresse email</th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. {% for user in bddusers %}
  33. <tr class="tab" id="{{ user.NPhone }}" onclick="check('{{ user.NPhone }}')">
  34.  
  35. <td><label for="{{ user.NPhone }}">{{ user.Nom }}</label></td>
  36.  
  37. {% if colonne.1.Nom is not empty %}
  38. <td><label for="{{ user.NPhone }}">{{ user.Col1|upper }}</label></td>
  39. {% endif %}
  40.  
  41. {% if colonne.2.Nom is not empty %}
  42. <td><label for="{{ user.NPhone }}">{{ user.Col2|upper }}</label></td>
  43. {% endif %}
  44.  
  45. {% if colonne.3.Nom is not empty %}
  46. <td><label for="{{ user.NPhone }}">{{ user.Col3|upper }}</label></td>
  47. {% endif %}
  48.  
  49. {% if colonne.4.Nom is not empty %}
  50. <td><label for="{{ user.NPhone }}">{{ user.Col4|upper }}</label></td>
  51. {% endif %}
  52.  
  53. {% if colonne.5.Nom is not empty %}
  54. <td><label for="{{ user.NPhone }}">{{ user.Col5|upper }}</label></td>
  55. {% endif %}
  56.  
  57. <td><label for="{{ user.NPhone }}">{{ user.NPhone }}</label></td>
  58. <td><label for="{{ user.NPhone }}">{% if user.AMail is empty %}Non renseignée{% else %}{{ user.AMail }}{% endif %}</label></td>
  59.  
  60. </tr>
  61. {% endfor %}
  62. </tbody>
  63. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement