Gave profile page a facelift in perperation for email/password update pop-ups.

This commit is contained in:
rainbow napkin 2024-12-31 06:50:34 -05:00
parent a51152a89d
commit c32f3df3f3
16 changed files with 316 additions and 157 deletions

View file

@ -29,18 +29,25 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. %>
<body>
<%- include('partial/navbar', {user}); %>
<% if(profile){ %>
<div class="profile" id="profile-div">
<h1 class="profile-item" id="profile-username"><%- profile.user %></h1>
<%- include('partial/profile/image', {profile, selfProfile}); %>
<%- include('partial/profile/tokeCount', {profile, selfProfile}); %>
<%- include('partial/profile/signature', {profile, selfProfile}); %>
<%- include('partial/profile/bio', {profile, selfProfile}); %>
<%- include('partial/profile/date', {profile, selfProfile}); %>
<%- include('partial/profile/badges', {profile, selfProfile}); %>
<div id="account">
<div class="profile dynamic-container" id="profile-div">
<span id="profile-info" class="profile">
<h1 class="profile-item" id="profile-username"><%- profile.user %></h1>
<%- include('partial/profile/image', {profile, selfProfile}); %>
<%- include('partial/profile/pronouns', {profile, selfProfile}); %>
<%- include('partial/profile/signature', {profile, selfProfile}); %>
<%- include('partial/profile/tokeCount', {profile, selfProfile}); %>
<%- include('partial/profile/date', {profile, selfProfile}); %>
</span>
<span id="profile-info-aux" class="profile">
<%- include('partial/profile/bio', {profile, selfProfile}); %>
<%- include('partial/profile/badges', {profile, selfProfile}); %>
</span>
</div>
<% if(selfProfile){ %>
<%- include('partial/profile/settings', {profile, selfProfile}); %>
<% } %>
</div>
<% if(selfProfile){ %>
<%- include('partial/profile/settings', {profile, selfProfile}); %>
<% } %>
<% }else if(user){ %>
<h1 class="profile-item" id="profile-error-label">Profile not found!</h1>
<% } else {%>