Add Yotter version to /status (#130)
This commit is contained in:
parent
b004a2da52
commit
eda19ffebb
@ -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>')
|
||||
|
@ -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%}
|
Reference in New Issue
Block a user