Exemplo n.º 1
0
 def get_breadcrumb(self) -> Breadcrumb:
     return (
         SdrDeviceBreadcrumb()
         .append(BreadcrumbItem(self.device["name"], "settings/sdr/{}".format(self.device_id)))
         .append(
             BreadcrumbItem(
                 self.profile["name"], "settings/sdr/{}/profile/{}".format(self.device_id, self.profile_id)
             )
         )
     )
Exemplo n.º 2
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SettingsBreadcrumb().append(
         BreadcrumbItem("Background decoding",
                        "settings/backgrounddecoding"))
Exemplo n.º 3
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SdrDeviceBreadcrumb().append(BreadcrumbItem("New device", "settings/sdr/newsdr"))
Exemplo n.º 4
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SettingsBreadcrumb().append(
         BreadcrumbItem("General Settings", "settings/general"))
Exemplo n.º 5
0
 def __init__(self):
     super().__init__()
     self.append(BreadcrumbItem("SDR device settings", "settings/sdr"))
Exemplo n.º 6
0
 def __init__(self):
     super().__init__([])
     self.append(BreadcrumbItem("Settings", "settings"))
Exemplo n.º 7
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SettingsBreadcrumb().append(BreadcrumbItem("Bookmark editor", "settings/bookmarks"))
Exemplo n.º 8
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SettingsBreadcrumb().append(
         BreadcrumbItem("Demodulation and decoding", "settings/decoding"))
Exemplo n.º 9
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SettingsBreadcrumb().append(
         BreadcrumbItem("Spotting and reporting", "settings/reporting"))
Exemplo n.º 10
0
 def get_breadcrumb(self) -> Breadcrumb:
     return SettingsBreadcrumb().append(
         BreadcrumbItem("Feature report", "features"))