f0ckv2/views/admin/log.html
Flummi 2301d15abd
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 37s
cleaned up
2023-05-03 05:13:48 +02:00

19 lines
361 B
HTML

@include(snippets/header)
<div id="main">
@if(log)
<h1>last {{ log.length }} entries:</h1>
<div class="logwrap">
@each(log as line)
<p>{{ line }}</p>
@endeach
</div>
<script>
(() => {
const d = document.querySelector("div.logwrap");
d.scrollTop = d.scrollHeight;
})();
</script>
@endif
</div>
@include(snippets/footer)