participer.thsf.net/templates/list_users.html

30 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2018-02-28 05:51:43 +11:00
{% extends "index.html" %}
2018-02-28 20:25:08 +11:00
{% block title %}liste des utilisateurs{% endblock %}
2018-02-28 05:51:43 +11:00
{% block main %}
<article>
2018-05-09 20:32:59 +11:00
<h3>Liste des staffers enregistrés <input class='print' value='' title='Version imprimable' onclick='javascript:document.location="https://wemake.thsf.net/users/print";'/></h3>
2018-02-28 05:51:43 +11:00
<div class='table_header'>
<div class='border_right' style='width: 40px;'>ID</div>
<div class='border_right'>Mail</div>
<div class='border_right'>Nom</div>
<div class='border_right'>Téléphone</div>
<div class='border_right'>Régime / Remarques</div>
<div style='width: 50px;'>Action</div>
</div>
{% set row_class = cycler('odd', 'even') %}
{% for staffer in staffers %}
<div class='table_row {{ row_class.next() }}'>
<div class='border_right' style='width: 40px;'>{{ staffer.id }}</div>
<div class='border_right'>{{ staffer.mail }}</div>
<div class='border_right'>{{ staffer.name }}</div>
<div class='border_right'>{{ staffer.phone }}</div>
<div class='border_right'>{{ staffer.diet }}</div>
<div style='width: 50px;'>
<input class='edit' value='' onclick='javascript:document.location="/account/{{ staffer.id }}"' title='Éditer'/>
<input class='trash' value='' onclick='javascript:delete_account({{ staffer.id }});' title='Supprimer'/>
</div>
</div>
{% endfor %}
</article>
{% endblock %}