38 lines
926 B
Twig
38 lines
926 B
Twig
|
<input type='text' class='searchbar' placeholder='Recherche'>
|
||
|
|
||
|
<article class='inline-row' style='border: 0; box-shadow: none;background: transparent;'>
|
||
|
<span>Machine</span>
|
||
|
<span>Dernière utilisation</span>
|
||
|
<span>Utilisateur</span>
|
||
|
<span>Action</span>
|
||
|
<span>Historique détaillé</span>
|
||
|
</article>
|
||
|
|
||
|
|
||
|
{% for entry in f_history() %}
|
||
|
<article class='inline-row' data-history='{{ entry.id_history }}'>
|
||
|
|
||
|
<span class='title'><span>#{{ entry.machine_name }}</span></span>
|
||
|
|
||
|
<span>
|
||
|
<span>{{ entry.timestamp | f_tsformat }}</span>
|
||
|
<span style='color:#aaa;'>Il y a {{ entry.timestamp | f_tsrelative }}</span>
|
||
|
</span>
|
||
|
|
||
|
|
||
|
<span>
|
||
|
<span>{{ entry.user_name }}</span>
|
||
|
<span style='color:#aaa;'>{{ entry.user_firstname }} {{ entry.user_lastname }}</span>
|
||
|
</span>
|
||
|
|
||
|
<span>
|
||
|
<span>{{ entry.action_name }}</span>
|
||
|
</span>
|
||
|
|
||
|
<span>
|
||
|
<button class='search'>Détails</button>
|
||
|
</span>
|
||
|
|
||
|
</article>
|
||
|
{% endfor %}
|