f0ckv2/views/admin/log.html

19 lines
361 B
HTML
Raw Normal View History

2023-05-03 03:13:48 +00:00
@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
2021-12-04 11:19:47 +00:00
</div>
2021-12-29 04:48:04 +00:00
@include(snippets/footer)