Merge pull request 'fix: impossible d'afficher des logs quand une seule config existe' (#1) from augustin64/MsRewards-Reborn:patch-logs into master

Reviewed-on: #1
This commit is contained in:
piair 2023-08-29 11:37:48 +02:00
commit 7f21301da0

View File

@ -46,9 +46,10 @@
{% else %}
<select name="select" onchange="change_logs(this.value)">
{% for i in data %}
<option id="null" value="0">Choisir une config</option>
{% for i in data %}
<option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
{% endfor %}
{% endfor %}
</select>
<br><br>
<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}" width="100%" height="85%" id="embed">