Separated Account Login and Profile Display

This commit is contained in:
BloxerHD 2025-11-03 23:09:22 +00:00
commit 755af71912
4 changed files with 151 additions and 125 deletions

View file

@ -29,24 +29,6 @@
<h2 class="center">Loading...</h2>
</div>
<div id="login-error" class="error-container" style="display: none;">
<h2 id="error-text">ERROR</h2>
</div>
<form id="login" style="display: none;">
<h3 class="center">Please log in before viewing account information</h3>
<div class="form-group">
<label for="username">SFID / Username:</label>
<input class="login-input" type="text" id="username" name="username" required />
</div>
<div class="form-group">
<label for="password">Password:</label>
<input class="login-input" type="password" id="password" name="password" required />
</div>
<button class="form-button" type="submit">Login</button>
<p class="form-note">Please ask an SPFN Developer in the <a href="https://discord.gg/grMSxZf">discord server</a> for assistance with password resets</p>
</form>
<div id="user-info" class="info" style="display: none;">
<div id="user-display" class="info-container" style="width: 180px; align-items: center;">
<img src="/res/img/mii-placeholder.png" id="mii-img" style="width: 100%">