Sửa lỗi UX trong dashboard và privacy của người dùng ở chế độ private
This commit is contained in:
+11
-1
@@ -314,12 +314,22 @@
|
||||
<!-- Success Message Modal -->
|
||||
<div id="success-modal" class="modal-overlay" onclick="closeSuccessModal(event)">
|
||||
<div class="modal-content action-modal-content logout-modal-dark" style="border-top: 4px solid #28a745; max-width: 350px;">
|
||||
<div style="font-size: 40px; color: #28a745; margin-bottom: 10px;">✓</div>
|
||||
<div id="success-modal-icon" style="font-size: 40px; color: #28a745; margin-bottom: 10px;">✓</div>
|
||||
<h2 style="color: #fff; margin-bottom: 5px;">Thành công</h2>
|
||||
<p style="color: #ccc;" id="success-modal-message">Dữ liệu đã được cập nhật.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Error/Warning Message Modal -->
|
||||
<div id="error-modal" class="modal-overlay" onclick="closeErrorModal(event)">
|
||||
<div class="modal-content action-modal-content logout-modal-dark" style="border-top: 4px solid #dc3545; max-width: 380px;">
|
||||
<div id="error-modal-icon" style="font-size: 40px; color: #dc3545; margin-bottom: 10px;">⚠️</div>
|
||||
<h2 style="color: #fff; margin-bottom: 5px;" id="error-modal-title">Thông báo</h2>
|
||||
<p style="color: #ccc;" id="error-modal-message">Bạn không có quyền thực hiện thao tác này.</p>
|
||||
<button onclick="closeErrorModal()" class="edit-btn-large" style="background: #444; width: 100%; margin-top: 20px; font-size: 14px;">Đóng</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal for Action Choice (Edit/Delete) -->
|
||||
<div id="action-choice-modal" class="modal">
|
||||
<div class="modal-content action-modal-content">
|
||||
|
||||
Reference in New Issue
Block a user