This commit is contained in:
2026-02-07 01:34:08 +05:00
parent 8ff87ec2a8
commit 24d76d65ca
5 changed files with 281 additions and 278 deletions

View File

@@ -3846,4 +3846,269 @@ button.btn-primary {
max-width: 600px; /* Максимальная ширина */
padding: 14px 20px; /* Увеличиваем внутренние отступы */
font-size: 1.1rem; /* Увеличиваем шрифт */
}
}
/* Дополнительные стили для детальной статистики */
.filters-container {
background: #fff;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.filter-row {
display: flex;
gap: 20px;
margin-bottom: 15px;
flex-wrap: wrap;
}
.filter-group {
flex: 1;
min-width: 200px;
}
.filter-group label {
display: block;
margin-bottom: 5px;
font-weight: 600;
color: #333;
}
.filter-group select {
width: 100%;
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
}
.filter-actions {
display: flex;
gap: 10px;
margin-top: 10px;
}
.users-stats-table {
width: 100%;
border-collapse: collapse;
background: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
}
.users-stats-table th {
background: #f8f9fa;
padding: 12px 15px;
text-align: left;
font-weight: 600;
color: #333;
border-bottom: 2px solid #dee2e6;
}
.users-stats-table td {
padding: 12px 15px;
border-bottom: 1px solid #dee2e6;
}
.users-stats-table tr:hover {
background: #f8f9fa;
}
.statuses-container {
display: flex;
flex-direction: column;
gap: 4px;
}
.status-item {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.status-badge {
display: inline-block;
padding: 3px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
}
.status-assigned { background: #e3f2fd; color: #1976d2; }
.status-in-progress { background: #fff3e0; color: #f57c00; }
.status-completed { background: #e8f5e9; color: #388e3c; }
.status-overdue { background: #ffebee; color: #d32f2f; }
.status-rework { background: #f3e5f5; color: #7b1fa2; }
.status-count {
font-weight: 600;
min-width: 20px;
text-align: right;
}
.no-statuses {
color: #999;
font-style: italic;
font-size: 12px;
}
.user-role {
display: inline-block;
padding: 3px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
background: #f5f5f5;
color: #666;
}
.user-role.admin { background: #ffebee; color: #d32f2f; }
.user-role.teacher { background: #e3f2fd; color: #1976d2; }
.stat-numbers {
display: flex;
gap: 10px;
margin-top: 5px;
}
.stat-number {
background: #f8f9fa;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
}
.export-btn {
background: #28a745;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
}
.export-btn:hover {
background: #218838;
}
.reset-btn {
background: #1976d2;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
}
.reset-btn:hover {
background: #e00707;
}
.no-data {
text-align: center;
padding: 40px;
color: #666;
font-style: italic;
}
.stats-loading {
text-align: center;
padding: 40px;
color: #666;
}
.stats-error {
text-align: center;
padding: 40px;
color: #dc3545;
}
.pagination {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 20px;
}
.page-btn {
padding: 6px 12px;
border: 1px solid #ddd;
background: white;
border-radius: 4px;
cursor: pointer;
}
.page-btn.active {
background: #007bff;
color: white;
border-color: #007bff;
}
.page-btn:hover:not(.active) {
background: #f8f9fa;
}
.page-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.stats-summary {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.total-count {
font-weight: 600;
color: #333;
}
.page-dots {
padding: 6px 12px;
color: #666;
}
.user-info {
line-height: 1.4;
}
.user-login {
font-size: 12px;
color: #666;
}
.user-email {
font-size: 12px;
color: #999;
}
.stats-header {
margin-bottom: 20px;
}
.stats-header h2 {
margin-bottom: 5px;
}
.stats-header p {
color: #666;
margin: 0;
}
.overall-stats {
margin-bottom: 30px;
}
.overall-stats h3 {
margin-bottom: 15px;
}
.detailed-stats h3 {
margin-bottom: 15px;
}