mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	the logs bug seems to be an iPad browser issue, but it sould be fixed now
This commit is contained in:
		@@ -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">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user