some beta stuff

This commit is contained in:
biglyderv 2025-02-26 22:12:46 -05:00
parent 2c480909ee
commit 4eddd1a0c7
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
7 changed files with 82 additions and 9 deletions

23
views/user.ejs Normal file
View file

@ -0,0 +1,23 @@
<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": ""
}
]
}) %>
<% } %>