derv-net/views/user.ejs
2025-02-27 11:51:22 -05:00

24 lines
No EOL
707 B
Text

<div class='main'>
<h1 class="header-big">
<img src="/uploads/pfp_<%= username %>.png" class="avatar-img">
<span><%= username %></span>
</h1>
<div class='commentbox'>A very cool person!</div>
<%- include ('vblock.ejs', {link: `/walls/get/users/${username}/0`, icon: '/icon.svg', name: 'Replies'}) %>
</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": ""
}
]
}) %>
<% } %>