fix: impossible d'afficher des logs quand une seule config existe #1

Merged
piair merged 1 commits from :patch-logs into master 2023-08-29 11:37:48 +02:00
Showing only changes of commit 211dcecd23 - Show all commits

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">