Cập nhật avatar và chỉnh sửa thông tin người dùng
This commit is contained in:
+19
-1
@@ -93,8 +93,26 @@
|
||||
<div id="tab-profile" class="dashboard-tab-pane active">
|
||||
<h3>Thông tin hồ sơ</h3>
|
||||
<form id="profile-form" onsubmit="updateProfile(event)">
|
||||
<div class="profile-header-edit">
|
||||
<div class="avatar-edit-container">
|
||||
<img id="profile-avatar-preview" src="" alt="Avatar" style="display:none;">
|
||||
<div id="profile-avatar-placeholder" class="avatar-circle">?</div>
|
||||
<label for="profile-avatar-input" class="avatar-upload-label">
|
||||
<i class="fas fa-camera"></i> Thay đổi
|
||||
</label>
|
||||
<input type="file" id="profile-avatar-input" name="avatar" accept="image/*" onchange="previewAvatar(this)" style="display:none;">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Username</label>
|
||||
<label>Họ và tên</label>
|
||||
<input type="text" id="profile-fullname" name="fullName" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Email</label>
|
||||
<input type="email" id="profile-email" name="email" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Tên đăng nhập (Username)</label>
|
||||
<input type="text" id="profile-username" name="username" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user