mirror of
https://github.com/2004Scape/Website.git
synced 2026-11-22 21:50:40 -05:00
29 lines
982 B
Plaintext
29 lines
982 B
Plaintext
<%- include('../_partial/header.ejs', { title: 'Session Viewer' }); %>
|
|
<%- include('../_components/frame-top.ejs'); %>
|
|
<%- include('../_components/content-start.ejs'); %>
|
|
<%- include('../_components/title-box.ejs', { title: account.username + "'s session log" }); %>
|
|
|
|
<%- include('../_components/content-body-start.ejs'); %>
|
|
<div style="height: 500px; overflow-y: scroll">
|
|
<% for (const log of logs) { %>
|
|
<div style="text-align: left">
|
|
level: <%= (log.coord >> 28) & 0x3 %>
|
|
x: <%= (log.coord >> 14) & 0x3fff %>
|
|
z: <%= log.coord & 0x3fff %>
|
|
|
|
<span style="float: right">
|
|
<%= log.timestamp.toISOString().replace("T"," ").substring(0, 19); %>
|
|
</span>
|
|
|
|
<br>
|
|
|
|
<%= log.event %>
|
|
</div>
|
|
<hr>
|
|
<% } %>
|
|
</div>
|
|
<%- include('../_components/content-body-end.ejs'); %>
|
|
|
|
<%- include('../_components/content-end.ejs'); %>
|
|
<%- include('../_partial/footer.ejs'); %>
|