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

This commit is contained in:
augustin64 2023-08-29 10:54:58 +02:00
parent c072a71c83
commit 211dcecd23

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