S allius/issue393 (#403)
* display proxy version on dashboard * add MQTT page * styles adjusted on the different pages - use same colors - add bordered shadow to all cards and tables * fix unit tests * migrate the conn table to a general table - rename the template file - get headline from table description * remove footer from index page * make version string translateable * cleanup * remove stripped table rows * add mqtt info table * translate mqtt page * don't fetch notes list for the log-page * fix Mqtt init call for unit tests * add mqtt-fetch test * check received counter in unit test
This commit is contained in:
@@ -145,6 +145,10 @@ def main(): # pragma: no cover
|
||||
serv_name = os.getenv('SERVICE_NAME', 'proxy')
|
||||
version = os.getenv('VERSION', 'unknown')
|
||||
|
||||
@app.context_processor
|
||||
def utility_processor():
|
||||
return dict(version=version)
|
||||
|
||||
setattr(logging.handlers, "log_path", args.log_path)
|
||||
setattr(logging.handlers, "log_backups", args.log_backups)
|
||||
os.makedirs(args.log_path, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user