Chỉnh sửa giao diện của admin, phân hồ sơ thành 2 cột

This commit is contained in:
2026-06-09 16:35:18 +07:00
parent 13e1c6049d
commit b4b193c72c
4 changed files with 141 additions and 29 deletions
+22 -21
View File
@@ -91,7 +91,6 @@
</div>
<div id="dashboard-tab-content">
<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">
@@ -103,23 +102,25 @@
<input type="file" id="profile-avatar-input" name="avatar" accept="image/*" onchange="previewAvatar(this)" style="display:none;">
</div>
</div>
<div class="form-group">
<label>Họ và tên</label>
<input type="text" id="profile-fullname" name="fullName" required>
<div class="profile-grid"> <!-- Đảm bảo class này được sử dụng -->
<div class="form-group">
<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">
<label>Mật khẩu mới (để trống nếu không đổi)</label>
<input type="password" id="profile-password" name="password" placeholder="********">
</div>
</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">
<label>Mật khẩu mới (để trống nếu không đổi)</label>
<input type="password" id="profile-password" name="password" placeholder="********">
</div>
<button type="submit" class="submit-btn">Cập nhật hồ sơ</button>
<button type="submit" class="submit-btn profile-submit-btn">Cập nhật</button>
</form>
</div>
<div id="tab-my-scenes" class="dashboard-tab-pane">
@@ -137,10 +138,10 @@
</div>
</div>
<div id="tab-user-management" class="dashboard-tab-pane admin-only">
<h3>Quản lí người dùng</h3>
<div class="admin-maintenance-header" style="margin-bottom: 20px;">
<button class="edit-btn-large" onclick="openManualCleanupConfirm()" style="background: #17a2b8; width: auto; padding: 10px 20px; font-size: 14px;">
🧹 Dọn dẹp dữ liệu mồ côi
<div class="admin-management-header">
<button class="cleanup-btn" onclick="openManualCleanupConfirm()">
🧹 Dọn dẹp dữ liệu
</button>
</div>
<div class="admin-search-container">