Utente.ReadOnlyList.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {% extends 'base.html' %}
  2. {% block body %}
  3. <table class='table table-striped table-hover'>
  4. <thead class='thead-dark'>
  5. <tr>
  6. <th scope='col'>#</th>
  7. <th scope='col'>Mail</th>
  8. <th scope='col'>Nome</th>
  9. <th scope='col'>*</th>
  10. <th scope='col'>l</th>
  11. <th scope='col'>quota</th>
  12. {% if 'XUSERSHOWCLEARPASSWORD' in securitylist %}<th scope='col'>Password</th>{% endif %}
  13. <th scope='col'>Agg.Pas</th>
  14. <!--<th scope='col'>Attivo</th>
  15. <th scope='col'>Da cancellare</th>-->
  16. </tr>
  17. </thead>
  18. <tbody>
  19. {% for u in userlist %}
  20. {% if not u.tobedeleted %}
  21. <tr class='{% if not u.enabled %} table-dark {% endif %}' >
  22. <th scope='row'>{{ u.id }}{% if u.securitylevel.id == 5 %} * {% endif %}</th>
  23. <td> {{ u.mail }} </td>
  24. <td> {{ u.nome }} </td>
  25. <td>{% if u.enabled %}*{% else %}-{% endif %}</td>
  26. <td>{{ u.securitylevel.id }}</td>
  27. <td>{{ u.mail_quota }}Mb/{% if u.warning_mail_quota %}{{ u.warning_mail_quota }}Mb{% else %}--{% endif %}
  28. {% if 'XUSERSHOWCLEARPASSWORD' in securitylist %} <td>{{ u.clear }}</td> {% endif %}
  29. <td>{% if u.last_password_update %}{{ u.last_password_update }}{% endif %}</td>
  30. <!--<td>{% if not u.enabled %}Utente Disattivato {% else %} {% endif %}</td>
  31. <td>{% if u.tobedeleted %}In Cancellazione {% else %} {% endif %} </td>-->
  32. </tr>
  33. {% endif %}
  34. {% endfor %}
  35. </tbody>
  36. {% endblock %}