the logs bug seems to be an iPad browser issue, but it sould be fixed now
This commit is contained in:
parent
e88a9e22f2
commit
f727c3ef86
|
@ -48,6 +48,9 @@ a {
|
|||
color: var(--color-text);
|
||||
}
|
||||
|
||||
iframe{
|
||||
border: none;
|
||||
}
|
||||
|
||||
input[type=text] {
|
||||
|
||||
|
|
|
@ -70,4 +70,5 @@ function change_proxy(value, data, len) {
|
|||
function change_logs(value) {
|
||||
console.log("new value : " + value);
|
||||
document.getElementById("embed").src = "/static/logs/" + value + ".txt";
|
||||
document.getElementById("embed").contentDocument.location.reload(true);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<script>
|
||||
window.setInterval(function() {
|
||||
reloadIFrame()
|
||||
}, 3000);
|
||||
}, 500);
|
||||
|
||||
function reloadIFrame() {
|
||||
console.log('reloading..');
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
{% endfor %}
|
||||
</select>
|
||||
<br><br>
|
||||
<embed type="text/html" src="{{url_for('static', filename='logs/1.txt')}}" width="100%" height="85%" id="embed">
|
||||
<iframe type="text/html" src="{{url_for('static', filename='logs/1.txt')}}" width="100%" height="85%" id="embed">
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue