%- 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'); %>
<% for (const log of logs) { %>
level: <%= (log.coord >> 28) & 0x3 %>
x: <%= (log.coord >> 14) & 0x3fff %>
z: <%= log.coord & 0x3fff %>
<%= log.timestamp.toISOString().replace("T"," ").substring(0, 19); %>
<%= log.event %>
<% } %>
<%- include('../_components/content-body-end.ejs'); %>
<%- include('../_components/content-end.ejs'); %>
<%- include('../_partial/footer.ejs'); %>