derv-net/views/user.ejs
2025-02-26 22:12:46 -05:00

23 lines
No EOL
578 B
Text

<div class='main'>
<h1 class="header-big">
<img src="/uploads/pfp_<%= username %>.png" class="avatar-img">
<span><%= username %></span>
</h1>
<span>A very cool person!</span>
</div>
<% if (isYou) { %>
<%- include('form.ejs', {
title: "Your Settings",
message: 'Configure your profile.',
action: "/api/file/you/settings",
inputs: [
{
"key": "Avatar",
"type": "file",
"name": "file",
"default": ""
}
]
}) %>
<% } %>