feat: limite de 20 registros e botao de limpar log (admin)
This commit is contained in:
@@ -5,6 +5,12 @@
|
||||
<h1>Log</h1>
|
||||
|
||||
<h2>Ações no painel</h2>
|
||||
{% if eh_admin %}
|
||||
<form method="post" action="/log/limpar" style="margin-bottom:14px">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
||||
<button type="submit" onclick="return confirm('Limpar todo o histórico de ações? Isso não pode ser desfeito.')">Limpar log</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% if acoes %}
|
||||
<div class="tabela-wrap">
|
||||
<table>
|
||||
|
||||
Reference in New Issue
Block a user