mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
13 lines
437 B
Python
13 lines
437 B
Python
|
|
from owrx.controllers.template import WebpageController
|
||
|
|
from owrx.controllers.admin import AuthorizationMixin
|
||
|
|
|
||
|
|
|
||
|
|
class BookmarksController(AuthorizationMixin, WebpageController):
|
||
|
|
def header_variables(self):
|
||
|
|
variables = super().header_variables()
|
||
|
|
variables["assets_prefix"] = "../"
|
||
|
|
return variables
|
||
|
|
|
||
|
|
def indexAction(self):
|
||
|
|
self.serve_template("settings/bookmarks.html", **self.template_variables())
|