© MANINI.Group™®

CO₂ Einsparung durch Mobilarbeit

CO₂ Einsparung durch Mobilarbeit

Erfassen Sie die Mobilarbeitstage Ihrer Mitarbeiter und sehen Sie die gemeinsame CO₂-Einsparung

Gesamte Mobilarbeitstage

1891

Letzte Aktualisierung: 09:42:53

CO₂ Einsparung

8698.6

kg CO₂
Letzte Aktualisierung: 09:42:53

Datenaktualisierung

58

Sekunden
Nächste Aktualisierung

Mitarbeiter hinzufügen

Annahmen zur Berechnung:

  • Jeder Mobilarbeitstag spart durchschnittlich 4.6 kg CO₂ ein
  • Dieser Wert kann je nach Entfernung zur Arbeitsstelle, Verkehrsmittel und anderen Faktoren variieren
  • Sie können die CO₂-Einsparung pro Tag unten anpassen

Mitarbeiterliste

Name Abteilung Mobilarbeitstage CO₂ Einsparung (kg) Aktionen
Mario Müller HR
1830
8418.0
Zuletzt: 09:42:03
Janina Müller Marketing
23
105.8
Zuletzt: 09:42:05
Friedhelm Müller Vertrieb
0
0.0
Zuletzt: 17:59:03
Leonie Müller IT
38
174.8
Zuletzt: 09:42:06
Daten automatisch aktualisiert
${co2Saved}
`; } else { // Anzeigemodus const lastUpdated = employee.lastUpdated ? new Date(employee.lastUpdated).toLocaleTimeString() : '--:--:--'; row.innerHTML = ` ${employee.name} ${employee.department}
${employee.days}
${co2Saved}
Zuletzt: ${lastUpdated}
`; } employeesTbody.appendChild(row); }); } updateTotals(); } // Gesamtsummen aktualisieren function updateTotals() { const totalDays = employees.reduce((sum, emp) => sum + emp.days, 0); const totalCo2 = (totalDays * co2PerDay).toFixed(1); totalDaysElement.textContent = totalDays; totalCo2Element.textContent = totalCo2; updateLastUpdateTime(); } // Zeitstempel für letzte Aktualisierung aktualisieren function updateLastUpdateTime() { const now = new Date(); const timeString = now.toLocaleTimeString(); lastUpdateDaysElement.textContent = timeString; lastUpdateCo2Element.textContent = timeString; } // Alle Daten aktualisieren function updateAll() { renderEmployees(); updateLastUpdateTime(); } // Mitarbeiter speichern function saveEmployees() { localStorage.setItem('co2Employees', JSON.stringify(employees)); } // Auto-Update starten function startAutoUpdate() { stopAutoUpdate(); // Sicherstellen, dass kein anderer Timer läuft updateCounter = updateInterval; updateCounterElement.textContent = updateCounter; updateTimer = setInterval(() => { updateCounter--; updateCounterElement.textContent = updateCounter; if (updateCounter 0) { showNotification('Daten automatisch aktualisiert', 'info'); } } }, 1000); } // Auto-Update stoppen function stopAutoUpdate() { if (updateTimer) { clearInterval(updateTimer); updateTimer = null; } } // Benachrichtigung anzeigen function showNotification(message, type = 'info') { notification.textContent = message; notification.className = 'notification'; // Typ-spezifische Klasse hinzufügen if (type === 'error') { notification.classList.add('error'); } else if (type === 'info') { notification.classList.add('info'); } // Benachrichtigung anzeigen notification.classList.add('show'); // Nach 3 Sekunden ausblenden setTimeout(() => { notification.classList.remove('show'); }, 3000); } // App initialisieren initializeApp();