Make session control fully ajax

This commit is contained in:
2025-06-27 00:28:38 +03:00
parent 3da7f369a5
commit bdbf33098f
4 changed files with 75 additions and 19 deletions

View File

@@ -28,15 +28,12 @@
/>
</a>
<div class="header-right">
<div class="signed_in">
<button class="account-button" id="logout-button">LOGOUT</button>
</div>
<div class="not_signed_i">
<button class="account-button" id="login-button">LOGIN</button>
<button class="account-button" id="signup-button">SIGN UP</button>
</div>
<button class="account-button" id="logout-button">LOGOUT</button>
<button class="account-button" id="login-button">LOGIN</button>
<button class="account-button" id="signup-button">SIGN UP</button>
</div>
</div>
<span id="message"><%= @message %></span>
<canvas id="main-canvas"></canvas>
<div class="popup" id="popup">
<span class="close" id="close">&times;</span>
@@ -69,6 +66,9 @@
<span class="info" id="signup-info"></span>
</form>
</div>
<div class="popup-tab" id="settings">
<!-- TODO: settings -->
</div>
<div class="popup-tab" id="forgot-pass">
<form id="forgot-form" class="form">
<input