Add Yotter version to /status (#130)

This commit is contained in:
pluja 2020-11-04 08:49:10 +01:00
parent b004a2da52
commit eda19ffebb
2 changed files with 7 additions and 1 deletions

View File

@ -775,7 +775,7 @@ def status():
caniregister = True
return render_template('status.html', title='STATUS', count=count, max=config['maxInstanceUsers'], file=filen,
cani=caniregister)
cani=caniregister, version=config['version'])
@app.route('/error/<errno>')

View File

@ -43,5 +43,11 @@
</div>
</div>
</div>
<div class="ui text container center aligned centered">
<div class="ui segments">
<div class="ui segment">
<p>Yotter version: <b>{{version}}</b></p>
</div>
</div>
</div>
{%endblock%}