still improving
This commit is contained in:
parent
4757a2957d
commit
f7d6b19fc6
@ -75,5 +75,6 @@ function change_proxy(value) {
|
||||
|
||||
function change_logs(value) {
|
||||
data = JSON.parse('{{data|tojson}}'); //convertit le dictionnaire data en JSON
|
||||
document.getElementById("embed")
|
||||
}
|
||||
|
||||
|
@ -40,12 +40,12 @@
|
||||
<h1>Already logged in</h1>
|
||||
{% else %}
|
||||
|
||||
<select name="select" onchange="change_logs(this.value)"></select>
|
||||
<select name="select" onchange="change_logs(this.value)">
|
||||
{% for i in data %}
|
||||
<option id="{{data[i]['name']}}" value="{{i}}">{{data[i]['name']}}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}" width="100%" height="100%">
|
||||
<embed type="text/html" src="{{url_for('static', filename='log/1.txt')}}" width="100%" height="100%" id="embed">
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user