ZeroNinerOne commited on
Commit
002cca8
·
verified ·
1 Parent(s): b0d92b8

Upload chat.html

Browse files
Files changed (1) hide show
  1. frontend/chat.html +14 -0
frontend/chat.html CHANGED
@@ -776,5 +776,19 @@ document.addEventListener('DOMContentLoaded',()=>{
776
  });
777
 
778
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
779
  </body>
780
  </html>
 
776
  });
777
 
778
  </script>
779
+ <!-- CHANGE PASSWORD MODAL -->
780
+ <div id="changePwOverlay">
781
+ <div class="changepw-card">
782
+ <h3>🔑 Change Password</h3>
783
+ <div id="changePwError" class="changepw-error"></div>
784
+ <div id="changePwSuccess" class="changepw-success"></div>
785
+ <div class="auth-field"><label>Current Password</label><input type="password" id="pwOld" placeholder="Your current password"></div>
786
+ <div class="auth-field"><label>New Password</label><input type="password" id="pwNew" placeholder="Min 6 characters"></div>
787
+ <div class="auth-field"><label>Confirm New Password</label><input type="password" id="pwConfirm" placeholder="Repeat new password"></div>
788
+ <button class="auth-btn" onclick="submitChangePassword()">Update Password</button>
789
+ <button class="changepw-cancel" onclick="hideChangePassword()">Cancel</button>
790
+ </div>
791
+ </div>
792
+
793
  </body>
794
  </html>