Files
lost-city-Website/view/player/adventurelog.ejs
T
2025-01-03 11:21:19 -05:00

26 lines
865 B
Plaintext

<%- include('../_partial/header.ejs', { title: 'Adventurer\'s Log' }); %>
<%- include('../_components/frame-top.ejs'); %>
<%- include('../_components/content-start.ejs'); %>
<%- include('../_components/title-box.ejs', { title: account.username + "'s Adventure Log" }); %>
<%- include('../_components/content-body-start.ejs'); %>
<h2>Recent Events</h2>
<div style="height: 500px; overflow-y: scroll">
<% for (const log of logs) { %>
<div style="text-align: left">
<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'); %>