From f727c3ef86c74bbfa8b7b7ea388cad099044d205 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 27 Sep 2023 10:36:41 +0200 Subject: [PATCH] the logs bug seems to be an iPad browser issue, but it sould be fixed now --- Flask/static/css/flask.css | 3 +++ Flask/static/js/main.js | 1 + Flask/templates/dev.html | 2 +- Flask/templates/logs.html | 2 +- version | 2 +- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Flask/static/css/flask.css b/Flask/static/css/flask.css index e1ecd79..5091c3a 100644 --- a/Flask/static/css/flask.css +++ b/Flask/static/css/flask.css @@ -48,6 +48,9 @@ a { color: var(--color-text); } +iframe{ + border: none; +} input[type=text] { diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 4113d87..a19514f 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -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); } diff --git a/Flask/templates/dev.html b/Flask/templates/dev.html index 9fff833..b322fb3 100644 --- a/Flask/templates/dev.html +++ b/Flask/templates/dev.html @@ -14,7 +14,7 @@