header for feature report

This commit is contained in:
Jakob Ketterl 2019-07-11 16:44:33 +02:00
parent 688bd769dd
commit 5887522dce
4 changed files with 13 additions and 2 deletions

View File

@ -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;

View File

@ -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 {

View File

@ -6,6 +6,7 @@
<script src="static/lib/jquery-3.2.1.min.js"></script>
<script src="static/features.js"></script>
</HEAD><BODY>
${header}
<div class="container">
<h1>OpenWebRX Feature Report</h1>
<table class="features table">

View File

@ -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):