🆗 🚀📚 ¯̶·̶̿́ Removed obsolete files & updated documentation. 📚 ¯̶·̶̿́

This commit is contained in:
Till Tomczak 2025-06-01 01:42:57 +02:00
parent dfad0937d1
commit b9b64c9f98

View File

@ -292,7 +292,9 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <!-- Chart.js - Lokale Version -->
<script src="{{ url_for('static', filename='js/charts/chart.min.js') }}"></script>
<script> <script>
/** /**
* MYP Analytics Dashboard * MYP Analytics Dashboard
@ -722,16 +724,16 @@ class AnalyticsDashboard {
} }
showError(message) { showError(message) {
if (window.showToast) { if (typeof showFlashMessage === 'function') {
window.showToast(message, 'error'); showFlashMessage(message, 'error');
} else { } else {
alert(message); alert(message);
} }
} }
showSuccess(message) { showSuccess(message) {
if (window.showToast) { if (typeof showFlashMessage === 'function') {
window.showToast(message, 'success'); showFlashMessage(message, 'success');
} else { } else {
alert(message); alert(message);
} }