server details on web interface
This commit is contained in:
parent
f1cd401b3b
commit
53d7edba48
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue