<commit_before><!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>{appname} - Ramona administation console - log</title>
	<link rel="shortcut icon" href="/static/img/favicon.ico" />
	<style type="text/css">
		body {{
			margin: 0;
		}}
	</style>
	
</head>
<body>
	<iframe style="border: 0; position:absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%" src="{logpath}" id="logiframe"></iframe>
	<script type="text/javascript">
		setInterval(function() {{
			document.getElementById("logiframe").contentWindow.scrollTo(0,document.getElementById("logiframe").contentWindow.document.body.scrollHeight);
			var height = document.documentElement.clientHeight;
		    height -= 20;
		    document.getElementById('logiframe').style.height = height + 'px';
			
		}},500);
	</script>
	
</body>
</html><commit_msg>Possibility to stop automatic scrolling on log page<commit_after><!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>{appname} - Ramona administation console - log</title>
	<link rel="shortcut icon" href="/static/img/favicon.ico" />
	<style type="text/css">
		body {{
			margin: 0;
		}}
		#scrollform {{
			border: 0; 
			position:absolute; 
			left:10px; 
			bottom:20px; 
			display: none;
		}}
		#logiframe {{
			border: 0; 
			position:absolute; 
			top:0; 
			left:0; 
			right:0; 
			bottom:0; 
			width:100%; 
			height:100%;
		}}
	</style>
	
</head>
<body>
	<iframe src="{logpath}" id="logiframe"></iframe>
	<form id="scrollform">
		<label for="scrollcheck" title="If checked, the view automatically scrolls to the end of the log">
		<input type="checkbox" id="scrollcheck" checked="checked"/>
		Scroll automatically
		</label>
	</form>
	<script type="text/javascript">
		setInterval(function() {{
			if(document.getElementById("scrollcheck").checked) {{
				document.getElementById("logiframe").contentWindow.scrollTo(0,document.getElementById("logiframe").contentWindow.document.body.scrollHeight);
			}}
			document.getElementById("scrollform").style.display = "block";
			var height = document.documentElement.clientHeight;
		    height -= 45;
		    document.getElementById('logiframe').style.height = height + 'px';
		}},500);
	</script>
	
</body>
</html>
{'fraction_non_alphanumeric': 0.1735387403715451, 'fraction_numerical': 0.019483461712732214, 'mean_word_length': 4.451851851851852, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 42, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5918882', 'n_tokens_mistral': 842, 'n_tokens_neox': 714, 'n_words': 144}