okay
This commit is contained in:
parent
534b8f3367
commit
0516296499
|
@ -364,7 +364,9 @@ def config_post():
|
|||
|
||||
@app.route("/logs/", methods=["GET", "POST"])
|
||||
def logs():
|
||||
return(render_template("logs.html"))
|
||||
with open("/app/MsRewards-Reborn/user_data/configs.json", "r") as inFile:
|
||||
configs = json.load(inFile)
|
||||
return(render_template("logs.html", data=configs))
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -39,6 +39,10 @@
|
|||
{%if not current_user.is_authenticated %}
|
||||
<h1>Already logged in</h1>
|
||||
{% else %}
|
||||
<embed type="text/html" src="https://piair.xyz/download/1.log">
|
||||
|
||||
{% for i in configs %}
|
||||
<option id="{{configs[i]['name']}}" value="{{i}}">{{configs[i]['name']}}</option>
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue