mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 07:33: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);
 | 
					    color: var(--color-text);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					iframe{
 | 
				
			||||||
 | 
					    border: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
input[type=text] {
 | 
					input[type=text] {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -70,4 +70,5 @@ function change_proxy(value, data, len) {
 | 
				
			|||||||
function change_logs(value) {
 | 
					function change_logs(value) {
 | 
				
			||||||
    console.log("new value : " + value);
 | 
					    console.log("new value : " + value);
 | 
				
			||||||
    document.getElementById("embed").src = "/static/logs/" + value + ".txt";
 | 
					    document.getElementById("embed").src = "/static/logs/" + value + ".txt";
 | 
				
			||||||
 | 
					    document.getElementById("embed").contentDocument.location.reload(true);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@
 | 
				
			|||||||
    <script>
 | 
					    <script>
 | 
				
			||||||
        window.setInterval(function() {
 | 
					        window.setInterval(function() {
 | 
				
			||||||
            reloadIFrame()
 | 
					            reloadIFrame()
 | 
				
			||||||
        }, 3000);
 | 
					        }, 500);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        function reloadIFrame() {
 | 
					        function reloadIFrame() {
 | 
				
			||||||
            console.log('reloading..');
 | 
					            console.log('reloading..');
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@
 | 
				
			|||||||
    {% endfor %}
 | 
					    {% endfor %}
 | 
				
			||||||
</select>
 | 
					</select>
 | 
				
			||||||
<br><br>
 | 
					<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