add dashboard to home

This commit is contained in:
Joren de Graaf
2026-10-01 17:29:29 +02:00
parent 278c5cd58c
commit 2e36f26089
25 changed files with 214 additions and 82 deletions
+11
View File
@@ -120,6 +120,17 @@ class ManualPendingEventTests(TestCase):
self.assertContains(response, "htmx.min.js")
self.assertContains(response, "/static/vite/")
self.assertContains(response, 'type="module"')
self.assertContains(response, "Activity map")
self.assertContains(response, "Open map controls")
self.assertContains(response, "Classify a recording")
def test_old_route_preserves_the_previous_landing_page(self):
response = self.client.get(reverse("old_home"))
self.assertEqual(response.status_code, 200)
self.assertContains(response, "Welkom Joren")
self.assertContains(response, "Open vuurwerk detector")
def test_manual_event_appears_in_the_normal_event_list_with_its_details(self):
event = Event.objects.create(
original_filename="Manual fireworks report",