fixed fixture page to use htmx tab pattern
This commit is contained in:
@@ -219,6 +219,27 @@ func addRoutes(
|
||||
Method: hws.MethodDELETE,
|
||||
Handler: perms.RequirePermission(s, permissions.FixturesDelete)(handlers.DeleteFixture(s, conn)),
|
||||
},
|
||||
// Fixture detail tab routes
|
||||
{
|
||||
Path: "/fixtures/{fixture_id}/overview",
|
||||
Methods: []hws.Method{hws.MethodGET, hws.MethodPOST},
|
||||
Handler: handlers.FixtureDetailOverviewPage(s, conn),
|
||||
},
|
||||
{
|
||||
Path: "/fixtures/{fixture_id}/preview",
|
||||
Methods: []hws.Method{hws.MethodGET, hws.MethodPOST},
|
||||
Handler: handlers.FixtureDetailPreviewPage(s, conn),
|
||||
},
|
||||
{
|
||||
Path: "/fixtures/{fixture_id}/analysis",
|
||||
Methods: []hws.Method{hws.MethodGET, hws.MethodPOST},
|
||||
Handler: handlers.FixtureDetailAnalysisPage(s, conn),
|
||||
},
|
||||
{
|
||||
Path: "/fixtures/{fixture_id}/scheduling",
|
||||
Methods: []hws.Method{hws.MethodGET, hws.MethodPOST},
|
||||
Handler: handlers.FixtureDetailSchedulePage(s, conn),
|
||||
},
|
||||
// Fixture scheduling routes
|
||||
{
|
||||
Path: "/fixtures/{fixture_id}/schedule",
|
||||
|
||||
Reference in New Issue
Block a user