You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pstyle="color:var(--text-muted);font-size:0.85rem;margin-bottom:0.75rem;">Upload a profile picture (jpg, png, gif, webp). Visible to other chat users.</p>
<pstyle="color:var(--text-muted);font-size:0.85rem;margin-bottom:0.75rem;">Upload your resume if wanted. Accepted formats: pdf, doc, docx, txt, rtf, odt. Viewable by other users on your profile.</p>
var input =document.getElementById('profile-pic-input');
111
+
if (!input.files||!input.files[0]) { alert('Select an image first.'); return; }
112
+
alert('Profile picture "'+input.files[0].name+'" ready for upload via SET_PROFILE_PIC on port 49230.');
113
+
}
114
+
functionuploadResume() {
115
+
var input =document.getElementById('resume-input');
116
+
if (!input.files||!input.files[0]) { alert('Select a resume file first.'); return; }
117
+
document.getElementById('resume-status').textContent='✓ Resume "'+input.files[0].name+'" selected. Upload via UPLOAD_RESUME on port 49230.';
118
+
}
119
+
functionviewProfile() {
120
+
var user =document.getElementById('view-user').value.trim();
121
+
if (!user) { alert('Enter a username.'); return; }
122
+
document.getElementById('profile-result').innerHTML='<div style="background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1rem;"><p style="color:var(--accent-hover);font-weight:600;">'+ user +'</p><p style="color:var(--text-muted);font-size:0.85rem;">Use VIEW_PROFILE|'+ user +' via port 49230 or CD1 connector to load full profile.</p></div>';
0 commit comments