diff --git a/index.html b/index.html
index 5b3e383..1a79fb9 100644
--- a/index.html
+++ b/index.html
@@ -137,6 +137,9 @@ body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,s
Моё HSE обучение
+
+
+
diff --git a/script.js b/script.js
index 7c325a5..3a969a8 100644
--- a/script.js
+++ b/script.js
@@ -526,7 +526,6 @@ function renderDashboard() {
`;
- // Проблемные филиалы
const cityStats = CITIES.map(city => {
const emps = EMPLOYEES.filter(e => e.city === city);
const ov = emps.reduce((sum, e) => sum + e.courses.filter(c => c.overdue).length, 0);
@@ -541,41 +540,6 @@ function renderDashboard() {
`
).join('');
- // Самые непройденные курсы
- const courseStats = COURSES.map(c => {
- const total = EMPLOYEES.length;
- const notDone = EMPLOYEES.filter(e => !e.courses.find(cc => cc.courseId === c.id && cc.completed)).length;
- return { name: c.name, notDone, pct: Math.round((notDone / total) * 100) };
- }).sort((a, b) => b.pct - a.pct).slice(0, 5);
-
- document.getElementById('dash-courses').innerHTML = courseStats.map((s, i) =>
- `
- ${i + 1}. ${s.name}
- ${s.pct}%
-
`
- ).join('');
-
-
-
-
- `;
-
- // Проблемные филиалы
- const cityStats = CITIES.map(city => {
- const emps = EMPLOYEES.filter(e => e.city === city);
- const ov = emps.reduce((sum, e) => sum + e.courses.filter(c => c.overdue).length, 0);
- const total = emps.reduce((sum, e) => sum + e.courses.length, 0);
- return { city, overdue: ov, pct: total > 0 ? Math.round((ov / total) * 100) : 0 };
- }).sort((a, b) => b.pct - a.pct);
-
- document.getElementById('dash-problems').innerHTML = cityStats.map((s, i) =>
- `
- ${i + 1}. ${s.city}
- ${s.pct}% просрочено (${s.overdue})
-
`
- ).join('');
-
- // Самые непройденные курсы
const courseStats = COURSES.map(c => {
const total = EMPLOYEES.length;
const notDone = EMPLOYEES.filter(e => !e.courses.find(cc => cc.courseId === c.id && cc.completed)).length;