Статистика

This commit is contained in:
2026-02-06 17:11:56 +05:00
parent 3a2b47c791
commit fff495d88c
5 changed files with 1664 additions and 368 deletions

View File

@@ -2974,4 +2974,240 @@ small {
.chat-btn:active {
transform: translateY(0);
}
}
/* admin */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
border-left: 4px solid #3498db;
}
.stat-card.task-stat {
border-left-color: #3498db;
}
.stat-card.user-stat {
border-left-color: #2ecc71;
}
.stat-card.file-stat {
border-left-color: #9b59b6;
}
.stat-card.status-stat {
border-left-color: #f39c12;
}
.stat-card h3 {
margin: 0 0 15px 0;
color: #495057;
font-size: 1.1rem;
font-weight: 600;
}
.stat-value {
font-size: 2.5rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 10px;
}
.stat-desc {
color: #6c757d;
font-size: 0.9rem;
margin-bottom: 10px;
}
.stat-subitems {
margin-top: 10px;
}
.stat-subitem {
display: flex;
justify-content: space-between;
padding: 5px 0;
border-bottom: 1px solid #f1f1f1;
font-size: 0.9rem;
}
.stat-subitem:last-child {
border-bottom: none;
}
.stat-subitem .label {
color: #6c757d;
}
.stat-subitem .value {
font-weight: 600;
color: #2c3e50;
}
.recent-tasks {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
.recent-tasks h3 {
margin: 0 0 15px 0;
color: #495057;
font-size: 1.2rem;
}
.task-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
border-bottom: 1px solid #e9ecef;
transition: all 0.3s ease;
}
.task-item:hover {
background: #f8f9fa;
}
.task-item:last-child {
border-bottom: none;
}
.task-info {
flex: 1;
}
.task-title {
font-weight: 600;
color: #2c3e50;
margin-bottom: 5px;
}
.task-meta {
font-size: 0.85rem;
color: #6c757d;
}
.task-actions {
display: flex;
gap: 8px;
}
.view-task-btn {
padding: 6px 12px;
background: #3498db;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 0.85rem;
text-decoration: none;
display: inline-block;
}
.view-task-btn:hover {
background: #2980b9;
}
.percentage-bar {
height: 6px;
background: #e9ecef;
border-radius: 3px;
margin-top: 8px;
overflow: hidden;
}
.percentage-fill {
height: 100%;
background: #3498db;
border-radius: 3px;
transition: width 0.3s ease;
}
.users-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.users-table th,
.users-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #e9ecef;
}
.users-table th {
background: #f8f9fa;
font-weight: 600;
color: #495057;
}
.users-table tr:hover {
background: #f8f9fa;
}
.user-actions {
display: flex;
gap: 8px;
}
.ldap-badge {
background: #3498db;
color: white;
padding: 3px 8px;
border-radius: 12px;
font-size: 0.75rem;
margin-left: 5px;
}
.admin-badge {
background: #e74c3c;
color: white;
padding: 3px 8px;
border-radius: 12px;
font-size: 0.75rem;
margin-left: 5px;
}
.form-row {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.form-row .form-group {
flex: 1;
}
.modal-lg {
max-width: 800px;
}
.search-container {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.search-container input {
flex: 1;
}
.file-size {
font-size: 1.2rem;
color: #2c3e50;
margin-top: 5px;
}
/* admin */