server details on web interface

This commit is contained in:
michael-grace 2020-11-10 18:49:26 +00:00
parent f1cd401b3b
commit 53d7edba48
2 changed files with 4 additions and 2 deletions

View file

@ -89,7 +89,9 @@ def page_not_found(e):
def ui_index():
data = {
'ui_page': "index",
"ui_title": ""
"ui_title": "",
"server_version": config.VERSION,
"server_name": state.state["server_name"]
}
return render_template('index.html', data=data)

View file

@ -17,7 +17,7 @@
Open WebStudio
</a>
<hr>
<p>Version: X | Server Name: Studio X</p>
<p>Version: {{data.server_version}} | Server Name: {{data.server_name}}</p>
</div>
</div>
</div>