Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 0 additions & 199 deletions Furnix-main/login.html

This file was deleted.

20 changes: 0 additions & 20 deletions account-auth.js

This file was deleted.

19 changes: 8 additions & 11 deletions account.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,10 @@ <h2 class="h2-heading gradient-txt mt-3">My <span>Account</span></h2>
<p class="detail-info-platform">Loading your account...</p>
</div>

<div id="accountDetails" style="display:none; margin-top:2rem; text-align:center;">
<p class="detail-info-platform"><strong>Name:</strong> <span id="accName">—</span></p>
<p class="detail-info-platform mt-1"><strong>Email:</strong> <span id="accEmail">—</span></p>
<button id="logoutBtn" class="btn brown-bg mt-3" style="margin: 2rem auto 0;">Logout</button>
</div>

<div id="accountLoggedOut" style="display:none; margin-top:2rem; text-align:center;">
<p class="detail-info-platform">You're not logged in.</p>
<a href="login.html" class="btn btn-inline mt-3">Go to Login</a>
<div id="accountDetails" style="margin-top:2rem; text-align:center;">
<p class="detail-info-platform"><strong>Name:</strong> <span id="accountUserName">Valued Customer</span></p>
<p class="detail-info-platform mt-1"><strong>Email:</strong> <span id="accountUserEmail">user@example.com</span></p>
<button id="accountLogoutBtn" class="btn brown-bg mt-3" style="margin: 2rem auto 0;">Logout</button>
</div>
</section>
</main>
Expand Down Expand Up @@ -164,7 +159,9 @@ <h5>information</h5>
</div>
</footer>

<script src="app.js"></script>
<script src="scripts/security-sanitizer.js"></script>
<script src="scripts/auth-manager.js"></script>
<script src="app.js"></script>
<script src="toast.js"></script>
<script type="module" src="account-auth.js"></script></body>
</body>
</html>
56 changes: 0 additions & 56 deletions login-auth.js

This file was deleted.

3 changes: 2 additions & 1 deletion login.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,9 @@
</div>
</div>

<script src="scripts/security-sanitizer.js"></script>
<script src="scripts/auth-manager.js"></script>
<script src="form-validation.js"></script>
<script type="module" src="login-auth.js"></script>

</body>
</html>
Loading
Loading