Added Support for Deleting Accounts, Mii Renders and Updated Credits

This commit is contained in:
BloxerHD 2025-09-22 17:58:56 +01:00
commit 89d00a9a42
8 changed files with 105 additions and 29 deletions

View file

@ -10,7 +10,7 @@
<body>
<header>
<div style="display: flex;">
<h1 style="margin: 0 auto;">SPFN</h1>
<img style="width: 96px; padding: 0px; margin: 0 auto" src="/res/img/spfn.png">
<h2 style="font-size: 32px; margin: auto; padding: 12px">Account</h2>
</div>
<nav>
@ -47,7 +47,7 @@
<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" style="width: 100%">
<img src="/res/img/mii-placeholder.png" id="mii-img" style="width: 100%">
<h3 id="display-name" style="margin: 2px;">Display Name</h3>
<p id="sfid" style="margin: 2px;">SFID: Username</p>
<button style="font-size: 24px; width: 160px;" onclick="logOut()">Log Out</button>
@ -60,9 +60,27 @@
<hr style="margin: 1rem 0; border: none; height: 1px; background: #aaa;">
<p class="info-text" id="tz"><strong>Timezone: </strong>Europe/London</p>
<p class="info-text" id="region"><strong>Country/Region: </strong>GB</p>
<hr style="margin: 1rem 0; border: none; height: 1px; background: #aaa;">
<button style="font-size: 24px; width: 40%;margin-left: auto;" onclick="showDeleteWarning()">Delete Account</button>
</div>
</div>
<div id="confirm-delete" class="delete-screen" style="display: none">
<h2 style="text-align: center;">WARNING: This Action Is Irreversible</h2>
<p style="text-align: center;">Deleting your account is an irreversible action. You cannot recover your account once this has been done.</p>
<p style="text-align: center;">This will delete your account from our database, not from your Wii U or Cemu. You will need to manually remove it from these.</p>
<div style="display: flex; flex-direction: row; padding: 8px; justify-content: center;">
<button id="confirm-delete-button" style="width: 300px; font-size: 32px;" class="delete-button">Delete Account</button>
<button id="cancel-delete-button" style="width: 300px; font-size: 32px;" onclick="hideDeleteWarning()">Cancel</button>
</div>
</div>
<div id="delete-success" class="delete-screen" style="display: none">
<h2 style="text-align: center; margin: 0;">Account Deleted Successfully</h2>
<p style="text-align: center;">Your account has been removed from our database. You can no longer log in to this account on this website, your Wii U or on Cemu. If you wish to use these services again, you will need to create a new account on your Wii U. Your old SFID can be reused on this new account if it remains unused.</p>
<p style="text-align: center;">This does not remove your account from your devices. You will need to manually remove the files with FTPiiU or by removing the files from your Cemu MLC folder. If you are not sure how to do this, <a href="https://discord.gg/grMSxZf" target="_blank">ask in the discord.</a></p>
</div>
<script type="text/javascript" src="/js/accounts.js"></script>
</main>