diff --git a/htdocs/css/features.css b/htdocs/css/features.css index cc821b1..7b0b008 100644 --- a/htdocs/css/features.css +++ b/htdocs/css/features.css @@ -1,3 +1,11 @@ +@import url("openwebrx-header.css"); +@import url("openwebrx-globals.css"); + +/* expandable photo not implemented on features page */ +#webrx-top-photo-clip { + max-height: 67px; +} + h1 { text-align: center; margin: 50px 0; diff --git a/htdocs/css/openwebrx-header.css b/htdocs/css/openwebrx-header.css index 9cfcc0c..ef0a129 100644 --- a/htdocs/css/openwebrx-header.css +++ b/htdocs/css/openwebrx-header.css @@ -63,6 +63,7 @@ width: 54px; height: 54px; padding: 7px; + box-sizing: content-box; } #webrx-rx-avatar @@ -72,6 +73,7 @@ height: 46px; padding: 4px; border-radius: 8px; + box-sizing: content-box; } #webrx-rx-texts { diff --git a/htdocs/features.html b/htdocs/features.html index cfcfe66..6e1eb55 100644 --- a/htdocs/features.html +++ b/htdocs/features.html @@ -6,6 +6,7 @@ + ${header}

OpenWebRX Feature Report

diff --git a/owrx/controllers.py b/owrx/controllers.py index 0732f2f..c011677 100644 --- a/owrx/controllers.py +++ b/owrx/controllers.py @@ -104,9 +104,9 @@ class MapController(WebpageController): #TODO check if we have a google maps api key first? self.serve_template("map.html", **self.template_variables()) -class FeatureController(AssetsController): +class FeatureController(WebpageController): def handle_request(self): - self.serve_file("features.html") + self.serve_template("features.html", **self.template_variables()) class ApiController(Controller): def handle_request(self):