the logs bug seems to be an iPad browser issue, but it sould be fixed now

This commit is contained in:
piair 2023-09-27 10:36:41 +02:00
parent e88a9e22f2
commit f727c3ef86
5 changed files with 7 additions and 3 deletions

View File

@ -48,6 +48,9 @@ a {
color: var(--color-text);
}
iframe{
border: none;
}
input[type=text] {

View File

@ -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);
}

View File

@ -14,7 +14,7 @@
<script>
window.setInterval(function() {
reloadIFrame()
}, 3000);
}, 500);
function reloadIFrame() {
console.log('reloading..');

View File

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

View File

@ -1 +1 @@
v6.6.2
v6.6.3