implement "add profile" sequence
This commit is contained in:
@@ -11,6 +11,7 @@ from owrx.controllers.settings.sdr import (
|
||||
SdrDeviceController,
|
||||
SdrProfileController,
|
||||
NewSdrDeviceController,
|
||||
NewProfileController,
|
||||
)
|
||||
from owrx.controllers.settings.reporting import ReportingController
|
||||
from owrx.controllers.settings.backgrounddecoding import BackgroundDecodingController
|
||||
@@ -129,6 +130,13 @@ class Router(object):
|
||||
RegexRoute(
|
||||
"^/settings/sdr/([^/]+)$", SdrDeviceController, method="POST", options={"action": "processFormData"}
|
||||
),
|
||||
RegexRoute("^/settings/sdr/([^/]+)/newprofile$", NewProfileController),
|
||||
RegexRoute(
|
||||
"^/settings/sdr/([^/]+)/newprofile$",
|
||||
NewProfileController,
|
||||
method="POST",
|
||||
options={"action": "processFormData"},
|
||||
),
|
||||
RegexRoute("^/settings/sdr/([^/]+)/profile/([^/]+)$", SdrProfileController),
|
||||
RegexRoute(
|
||||
"^/settings/sdr/([^/]+)/profile/([^/]+)$",
|
||||
|
||||
Reference in New Issue
Block a user