feature: custom device models

This commit is contained in:
Gary Sharp
2025-07-11 12:55:50 +10:00
parent 3f1fa3d7de
commit 54a578f4a1
21 changed files with 1225 additions and 514 deletions
@@ -19,6 +19,11 @@ namespace Disco.Web.Areas.Config
"Config/DeviceModel/GenericComponents",
new { controller = "DeviceModel", action = "GenericComponents" }
);
context.MapRoute(
"Config_DeviceModel_Create",
"Config/DeviceModel/Create",
new { controller = "DeviceModel", action = "Create" }
);
context.MapRoute(
"Config_DeviceModel",
"Config/DeviceModel/{id}",
@@ -27,7 +32,7 @@ namespace Disco.Web.Areas.Config
context.MapRoute(
"Config_DeviceBatch_Create",
"Config/DeviceBatch/Create",
new { controller = "DeviceBatch", action = "Create", id = UrlParameter.Optional }
new { controller = "DeviceBatch", action = "Create" }
);
context.MapRoute(
"Config_DeviceBatch_Timeline",