2021-02-15 14:56:17 +00:00
|
|
|
from owrx.controllers.settings import SettingsFormController, Section
|
|
|
|
from owrx.form import CheckboxInput, ServicesCheckboxInput
|
|
|
|
|
|
|
|
|
|
|
|
class BackgroundDecodingController(SettingsFormController):
|
|
|
|
def getTitle(self):
|
|
|
|
return "Background decoding"
|
|
|
|
|
|
|
|
def getSections(self):
|
|
|
|
return [
|
|
|
|
Section(
|
|
|
|
"Background decoding",
|
|
|
|
CheckboxInput(
|
|
|
|
"services_enabled",
|
2021-02-21 23:57:02 +00:00
|
|
|
"Enable background decoding services",
|
2021-02-15 14:56:17 +00:00
|
|
|
),
|
|
|
|
ServicesCheckboxInput("services_decoders", "Enabled services"),
|
|
|
|
),
|
|
|
|
]
|