introduce breadcrumbs in the web config
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
from owrx.controllers.settings import SettingsFormController, Section
|
||||
from owrx.form import CheckboxInput, ServicesCheckboxInput
|
||||
from owrx.breadcrumb import Breadcrumb, BreadcrumbItem
|
||||
from owrx.controllers.settings import SettingsBreadcrumb
|
||||
|
||||
|
||||
class BackgroundDecodingController(SettingsFormController):
|
||||
def getTitle(self):
|
||||
return "Background decoding"
|
||||
|
||||
def get_breadcrumb(self) -> Breadcrumb:
|
||||
return SettingsBreadcrumb().append(BreadcrumbItem("Background decoding", "settings/backgrounddecoding"))
|
||||
|
||||
def getSections(self):
|
||||
return [
|
||||
Section(
|
||||
|
||||
Reference in New Issue
Block a user