<commit_before><html xmlns="http://www.w3.org/1999/xhtml" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd"
	xmlns:p="tapestry:parameter">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<link rel="icon" type="image/png" href="${context:favicon.png}" />

		<t:if test="ledgerTitle">
			<title>${title} | ${ledgerTitle}</title>
			<p:else>
				<title>${title}</title>
			</p:else>
		</t:if>
		<style type="text/css">
			DIV.t-alert-controls { display: none; }
			DIV.t-dismiss { display: none; }


			DIV.t-message-container {
			margin-left: 30px;
			}

			DIV.t-alert-container
			DIV.t-error {
			background:
			#FFBABA url("${context:images/message-24-error.png}") no-repeat 5px
			5px;
			color: #D8000C;
			padding: 10px 10px 10px
			10px;
			border: 2px solid
			#D8000C;
			}

			DIV.t-alert-container DIV.t-success {
			background: #DFF2BF
			url("${context:images/message-24-ok.png}") no-repeat 5px 5px;
			color:
			#4F8A10;
			padding: 10px 10px
			10px 10px;
			border: 2px solid #4F8A10;
			}

			DIV.t-alert-container DIV.t-info {
			background: #BDE5F8
			url("${context:images/message-24-info.png}") no-repeat 5px 5px;
			color:
			#00529B;
			padding: 10px 10px
			10px 10px;
			border: 2px solid #00529B;
			}

			DIV.t-alert-container DIV.t-warn {
			background: #FEEFB3
			url("${context:images/message-24-warning.png}") no-repeat 5px 5px;
			color:
			#9F6000;
			padding: 10px 10px
			10px 10px;
			border: 2px solid #9F6000;
			}
		</style>
		<script type="text/javascript">
			function SelectAll(id)
			{
			document.getElementById(id).focus();
			document.getElementById(id).select();
			}
			Effect.Highlight.prototype.initialize = function(element) {}
			preload1
			=new Image();
			preload.src="${context:images/flipview-left.png}";
			preload1 =new Image();
			preload.src="${context:images/flipview-left-highlight.png}";
			preload1 =new Image();
			preload.src="${context:images/flipview-right.png}";
			preload1 =new Image();
			preload.src="${context:images/flipview-right-highlight.png}";
		</script>
	</head>
	<body>
		<a name="top" />
		<div id="wrapper">
			<header id="header" class="clearfix">
				<t:if test="ledgerTitle">
					<h3 id="ledger-title" title="${message:ledger-title-tooltip}">${ledgerTitle}</h3>
				</t:if>
				<div id="site-logo">
					<t:pagelink page="index">
						<img src="${context:images/logo.png}" alt="TradeTrax" />
					</t:pagelink>
				</div>
				<nav id="navigation" role="navigation">
					<div id="main-menu">
						<ul class="menu">
							<li>
								<t:pagelink page="Index">${message:menu-tradecenter}
								</t:pagelink>
							</li>
							<li>
								<t:pagelink page="Summary">${message:menu-summary}
								</t:pagelink>
							</li>
							<li>
								<t:pagelink page="Tools">${message:menu-tools}
								</t:pagelink>
							</li>
							<li>
								<t:pagelink page="Settings">${message:menu-settings}
								</t:pagelink>
							</li>
							<li>
								<a href="http://www.onyxbits.de/tradetrax/handbook" target="_blank">${message:menu-help}
								</a>
							</li>
						</ul>
					</div>
				</nav>
			</header>

			<div id="main" class="clearfix">
				<div id="primary">
					<section id="content" role="main">
						<t:alerts />
						<div id="content-wrap">
							<h1 class="page-title">${title}</h1>
							<t:body />
						</div>
					</section>
				</div>

				<aside id="sidebar" role="complementary">
					<t:if test="hideinstructions" negate="true">
						<div class="block block-block">
							<h2>${message:instructions}</h2>
							<div class="content">
								<t:delegate to="instructions" />
								<t:if test="helpurl">
									<br />
									(
									<a href="${helpurl}" target="_blank">${message:helpurl}</a>
									)
								</t:if>
							</div>
						</div>
					</t:if>
					<div class="block block-block">
						<h2>${message:search-title}</h2>
						<t:form t:id="searchform" autofocus="false">

							<input t:id="search" name="search" size="20"
								onclick="SelectAll('search');" />
	          		&nbsp;
							<t:submit type="submit" value="${message:open}" class="form-submit" />

						</t:form>
						<p />
						<ul class="threecolumnlist">
							<t:loop source="bookmarks" value="bookmark">
								<li>
									<t:pagelink page="edit/StockEditor" context="bookmark.id">${bookmark.id}
									</t:pagelink>
								</li>
							</t:loop>
						</ul>
					</div>
					<t:if test="showcalculator">
						<div class="block block-block">
							<h2>${message:calculator-title}</h2>
							<t:form t:id="calculatorform" autofocus="false" zone="resultlist">

								<input t:id="expression" name="search" size="20"
									onclick="SelectAll('expression');" />
	          		&nbsp;
								<t:submit type="submit" value="${message:evaluate}"
									class="form-submit" />

							</t:form>
							<p />
							<t:zone id="resultlist" t:id="resultlist">
								<t:loop source="expressionList" value="expressionItem">
									<pre>
										<t:CalculatedValue input="expressionItem" />
									</pre>
								</t:loop>
							</t:zone>
						</div>
					</t:if>
				</aside>
			</div>

			<footer id="footer-bottom">
				<div id="bottom" class="clearfix">
					<div class="copyright">Copyright &copy;
						2015,
						<a href="http://www.onyxbits.de">Onyxbits</a>
					</div>
					<div class="credit">
						<a href="http://www.onyxbits.de/tradetrax">TradeTrax</a>
						${appversion}
					</div>
				</div>
			</footer>
		</div>
		<a name="bottom" />
	</body>
</html>

<commit_msg>fixed preloading of images<commit_after><html xmlns="http://www.w3.org/1999/xhtml" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd"
	xmlns:p="tapestry:parameter">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<link rel="icon" type="image/png" href="${context:favicon.png}" />

		<t:if test="ledgerTitle">
			<title>${title} | ${ledgerTitle}</title>
			<p:else>
				<title>${title}</title>
			</p:else>
		</t:if>
		<style type="text/css">
			DIV.t-alert-controls { display: none; }
			DIV.t-dismiss { display: none; }


			DIV.t-message-container {
			margin-left: 30px;
			}

			DIV.t-alert-container
			DIV.t-error {
			background:
			#FFBABA url("${context:images/message-24-error.png}") no-repeat 5px
			5px;
			color: #D8000C;
			padding: 10px 10px 10px
			10px;
			border: 2px solid
			#D8000C;
			}

			DIV.t-alert-container DIV.t-success {
			background: #DFF2BF
			url("${context:images/message-24-ok.png}") no-repeat 5px 5px;
			color:
			#4F8A10;
			padding: 10px 10px
			10px 10px;
			border: 2px solid #4F8A10;
			}

			DIV.t-alert-container DIV.t-info {
			background: #BDE5F8
			url("${context:images/message-24-info.png}") no-repeat 5px 5px;
			color:
			#00529B;
			padding: 10px 10px
			10px 10px;
			border: 2px solid #00529B;
			}

			DIV.t-alert-container DIV.t-warn {
			background: #FEEFB3
			url("${context:images/message-24-warning.png}") no-repeat 5px 5px;
			color:
			#9F6000;
			padding: 10px 10px
			10px 10px;
			border: 2px solid #9F6000;
			}
		</style>
		<script type="text/javascript">
			function SelectAll(id)
			{
			document.getElementById(id).focus();
			document.getElementById(id).select();
			}
			Effect.Highlight.prototype.initialize = function(element) {}
			preload1
			=new Image();
			preload1.src="${context:images/flipview-left.png}";
			preload2 =new Image();
			preload2.src="${context:images/flipview-left-highlight.png}";
			preload3 =new Image();
			preload3.src="${context:images/flipview-right.png}";
			preload4 =new Image();
			preload4.src="${context:images/flipview-right-highlight.png}";
		</script>
	</head>
	<body>
		<a name="top" />
		<div id="wrapper">
			<header id="header" class="clearfix">
				<t:if test="ledgerTitle">
					<h3 id="ledger-title" title="${message:ledger-title-tooltip}">${ledgerTitle}</h3>
				</t:if>
				<div id="site-logo">
					<t:pagelink page="index">
						<img src="${context:images/logo.png}" alt="TradeTrax" />
					</t:pagelink>
				</div>
				<nav id="navigation" role="navigation">
					<div id="main-menu">
						<ul class="menu">
							<li>
								<t:pagelink page="Index">${message:menu-tradecenter}
								</t:pagelink>
							</li>
							<li>
								<t:pagelink page="Summary">${message:menu-summary}
								</t:pagelink>
							</li>
							<li>
								<t:pagelink page="Tools">${message:menu-tools}
								</t:pagelink>
							</li>
							<li>
								<t:pagelink page="Settings">${message:menu-settings}
								</t:pagelink>
							</li>
							<li>
								<a href="http://www.onyxbits.de/tradetrax/handbook" target="_blank">${message:menu-help}
								</a>
							</li>
						</ul>
					</div>
				</nav>
			</header>

			<div id="main" class="clearfix">
				<div id="primary">
					<section id="content" role="main">
						<t:alerts />
						<div id="content-wrap">
							<h1 class="page-title">${title}</h1>
							<t:body />
						</div>
					</section>
				</div>

				<aside id="sidebar" role="complementary">
					<t:if test="hideinstructions" negate="true">
						<div class="block block-block">
							<h2>${message:instructions}</h2>
							<div class="content">
								<t:delegate to="instructions" />
								<t:if test="helpurl">
									<br />
									(
									<a href="${helpurl}" target="_blank">${message:helpurl}</a>
									)
								</t:if>
							</div>
						</div>
					</t:if>
					<div class="block block-block">
						<h2>${message:search-title}</h2>
						<t:form t:id="searchform" autofocus="false">

							<input t:id="search" name="search" size="20"
								onclick="SelectAll('search');" />
	          		&nbsp;
							<t:submit type="submit" value="${message:open}" class="form-submit" />

						</t:form>
						<p />
						<ul class="threecolumnlist">
							<t:loop source="bookmarks" value="bookmark">
								<li>
									<t:pagelink page="edit/StockEditor" context="bookmark.id">${bookmark.id}
									</t:pagelink>
								</li>
							</t:loop>
						</ul>
					</div>
					<t:if test="showcalculator">
						<div class="block block-block">
							<h2>${message:calculator-title}</h2>
							<t:form t:id="calculatorform" autofocus="false" zone="resultlist">

								<input t:id="expression" name="search" size="20"
									onclick="SelectAll('expression');" />
	          		&nbsp;
								<t:submit type="submit" value="${message:evaluate}"
									class="form-submit" />

							</t:form>
							<p />
							<t:zone id="resultlist" t:id="resultlist">
								<t:loop source="expressionList" value="expressionItem">
									<pre>
										<t:CalculatedValue input="expressionItem" />
									</pre>
								</t:loop>
							</t:zone>
						</div>
					</t:if>
				</aside>
			</div>

			<footer id="footer-bottom">
				<div id="bottom" class="clearfix">
					<div class="copyright">Copyright &copy;
						2015,
						<a href="http://www.onyxbits.de">Onyxbits</a>
					</div>
					<div class="credit">
						<a href="http://www.onyxbits.de/tradetrax">TradeTrax</a>
						${appversion}
					</div>
				</div>
			</footer>
		</div>
		<a name="bottom" />
	</body>
</html>


{'fraction_non_alphanumeric': 0.1917808219178082, 'fraction_numerical': 0.022562449637389202, 'mean_word_length': 2.614886731391586, 'pattern_counts': {'":': 0, '<': 275, '<?xml version=': 0, '>': 275, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 6}, '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': '2275236', 'n_tokens_mistral': 5763, 'n_tokens_neox': 4051, 'n_words': 667}