<commit_before>

<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:html="http://WEB-INF/struts-html.tld"
	>
	
<xsl:output method="html"
		omit-xml-declaration="yes"
		indent="yes"/>
		
<xsl:include href="tableStyler.xsl"/>
<xsl:include href="blockStyler.xsl"/>



	<xsl:template match="page">
		<html>
		<head>
			<link rel="shortcut icon" href="favicon.ico"></link>
			<link href="ie4.css" type="text/css" rel="stylesheet"></link>
			<link href="body.css" type="text/css" rel="stylesheet"></link>
			<SCRIPT LANGUAGE="JavaScript" SRC="./js/functions.js"></SCRIPT>
			<title><xsl:value-of select="//applicationConstants/properties/property[@name='instance.name']"/>@<xsl:value-of select="//requestInfo/servletRequest/serverName"/><xsl:if test="//requestInfo/servletRequest/serverName!=//machineName">(<xsl:value-of select="//machineName"/>)</xsl:if>:<xsl:value-of select="@title"/></title>
			<script type="text/javascript">
				var serverDate = new Date();
				var sd = "<xsl:value-of select="//processMetrics/properties/property[@name='currentTime']"/>";
				serverDate.setFullYear(sd.substring(0,4));
				serverDate.setMonth(sd.substring(5,7)-1);
				serverDate.setDate(sd.substring(8,10));
				serverDate.setHours(sd.substring(11,13));
				serverDate.setMinutes(sd.substring(14,16));
				serverDate.setSeconds(sd.substring(17,19));
				serverDate.setMilliseconds(sd.substring(20));
				var diff = 0;

				function setDiffTime() {
					diffTime = clientDate.getTime() - serverDate.getTime();
					diff = 1;
				}

				function runClock() {
					clientDate = new Date();
					if (diff==0) {
						setDiffTime(clientDate);
					}
					serverDate.setTime(clientDate.getTime() - diffTime);
					var year = serverDate.getFullYear();
					var month = serverDate.getMonth()+1;
					if (month &lt;= 9) {
						month = "0" + month;
					}
					var day = serverDate.getDate();
					if (day &lt;= 9) {
						day = "0" + day;
					}
					var hours = serverDate.getHours();
					if (hours &lt;= 9) {
						hours = "0" + hours;
					}
					var minutes = serverDate.getMinutes();
					if (minutes &lt;= 9) {
						minutes = "0" + minutes;
					}
					var seconds = serverDate.getSeconds();
					if (seconds &lt;= 9) {
						seconds = "0" + seconds;
					}
					var dateString = "current date and time: " + year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
					document.getElementById("clock").innerHTML = dateString;
					setTimeout("runClock()",1000);
				}

				function confirmLink(message, url) {
					if(confirm(message)) location.href = url;
				}
			</script>
		</head>
		<body onload="runClock()">
			<xsl:attribute name="class">
				<xsl:variable name="stubConfig">
					<xsl:value-of select="//applicationConstants/properties/property[@name='stub<EMAIL>']"/>
				</xsl:variable>
				<xsl:variable name="otapStage">
					<xsl:value-of select="//applicationConstants/properties/property[@name='otap.stage']"/>
				</xsl:variable>
				<xsl:variable name="otapSide">
					<xsl:value-of select="//applicationConstants/properties/property[@name='otap.side']"/>
				</xsl:variable>
				<xsl:choose>
					<xsl:when test="$stubConfig='true'">stub</xsl:when>
					<xsl:when test="$otapStage='DEV'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">dev_as</xsl:when>
							<xsl:when test="$otapSide='EP'">dev_ep</xsl:when>
							<xsl:otherwise>dev</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$otapStage='TST'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">tst_as</xsl:when>
							<xsl:when test="$otapSide='EP'">tst_ep</xsl:when>
							<xsl:otherwise>tst</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$otapStage='ACC'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">acc_as</xsl:when>
							<xsl:when test="$otapSide='EP'">acc_ep</xsl:when>
							<xsl:otherwise>acc</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$otapStage='PRD'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">prd_as</xsl:when>
							<xsl:when test="$otapSide='EP'">prd_ep</xsl:when>
							<xsl:otherwise>prd</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
				</xsl:choose>
			</xsl:attribute>
			<table width="100%" class="page" >
			<tr><td colspan="3">
					<table width="100%"><tr>
					<td>
						<h1><xsl:value-of select="@title"/></h1>
					</td>
					<td align="right">
						<div class="appName">
						<xsl:value-of select="//applicationConstants/properties/property[@name='application.name']"/><xsl:value-of select="' '"/>
						<xsl:value-of select="//applicationConstants/properties/property[@name='application.version']"/>:<xsl:value-of select="' '"/>
						<xsl:value-of select="//applicationConstants/properties/property[@name='instance.name']"/><xsl:value-of select="' '"/>
						<xsl:variable name="release" select="//applicationConstants/properties/property[@name='instance.release']"/>
						<xsl:if test="string-length($release)&gt;0">
							<xsl:value-of select="$release"/><xsl:value-of select="' '"/>
						</xsl:if>
						<xsl:value-of select="//applicationConstants/properties/property[@name='instance.version']"/><xsl:value-of select="' '"/>
						<xsl:value-of select="//applicationConstants/properties/property[@name='instance.build_id']"/><xsl:value-of select="', '"/>
						buildscript <xsl:value-of select="//applicationConstants/properties/property[@name='build.xml.version']"/><xsl:value-of select="', '"/>
						size: <xsl:value-of select="//applicationConstants/properties/property[@name='instance.size']"/>
						</div>
						<div>
						running on <xsl:value-of select="//machineName"/> using <xsl:value-of select="//requestInfo/servletRequest/serverInfo"/>
						</div>
						<div>
						heap size: <xsl:value-of select="//processMetrics/properties/property[@name='heapSize']"/>,
						total JVM memory: <xsl:value-of select="//processMetrics/properties/property[@name='totalMemory']"/>
						</div>
						<xsl:if test="//fileSystem/totalSpace!='null'">
							<div>
							free space: <xsl:value-of select="//fileSystem/freeSpace"/>,
							total space: <xsl:value-of select="//fileSystem/totalSpace"/>
							</div>
						</xsl:if>
						<div id="clock"/>
					</td>
					</tr></table>
				</td>

			</tr>
			<tr><td colspan="3">
				<xsl:apply-templates select="//menuBar"/>
			</td></tr>
			<tr><td colspan="3">
				<img src="images/pixel.gif" height="20px" border="0" alt=""/>
			</td></tr>
			
			<tr><td/>
				<td class="breadCrumb">
					<xsl:apply-templates select="//breadCrumb"/>
				</td>
				<td/>
			</tr>
			<tr><td width="50px"></td>
			<td class="pagePanel">
				<xsl:apply-templates select="//errors"/>
				<xsl:apply-templates select="//messages"/>
			<xsl:apply-templates />		
			</td>
			<td width="50px"></td>
			</tr>
			</table>
		</body>
		</html><commit_msg>Hide row with breadCrumb in IBIS console when not applicable<commit_after>

<xsl:stylesheet version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:html="http://WEB-INF/struts-html.tld"
	>
	
<xsl:output method="html"
		omit-xml-declaration="yes"
		indent="yes"/>
		
<xsl:include href="tableStyler.xsl"/>
<xsl:include href="blockStyler.xsl"/>



	<xsl:template match="page">
		<html>
		<head>
			<link rel="shortcut icon" href="favicon.ico"></link>
			<link href="ie4.css" type="text/css" rel="stylesheet"></link>
			<link href="body.css" type="text/css" rel="stylesheet"></link>
			<SCRIPT LANGUAGE="JavaScript" SRC="./js/functions.js"></SCRIPT>
			<title><xsl:value-of select="//applicationConstants/properties/property[@name='instance.name']"/>@<xsl:value-of select="//requestInfo/servletRequest/serverName"/><xsl:if test="//requestInfo/servletRequest/serverName!=//machineName">(<xsl:value-of select="//machineName"/>)</xsl:if>:<xsl:value-of select="@title"/></title>
			<script type="text/javascript">
				var serverDate = new Date();
				var sd = "<xsl:value-of select="//processMetrics/properties/property[@name='currentTime']"/>";
				serverDate.setFullYear(sd.substring(0,4));
				serverDate.setMonth(sd.substring(5,7)-1);
				serverDate.setDate(sd.substring(8,10));
				serverDate.setHours(sd.substring(11,13));
				serverDate.setMinutes(sd.substring(14,16));
				serverDate.setSeconds(sd.substring(17,19));
				serverDate.setMilliseconds(sd.substring(20));
				var diff = 0;

				function setDiffTime() {
					diffTime = clientDate.getTime() - serverDate.getTime();
					diff = 1;
				}

				function runClock() {
					clientDate = new Date();
					if (diff==0) {
						setDiffTime(clientDate);
					}
					serverDate.setTime(clientDate.getTime() - diffTime);
					var year = serverDate.getFullYear();
					var month = serverDate.getMonth()+1;
					if (month &lt;= 9) {
						month = "0" + month;
					}
					var day = serverDate.getDate();
					if (day &lt;= 9) {
						day = "0" + day;
					}
					var hours = serverDate.getHours();
					if (hours &lt;= 9) {
						hours = "0" + hours;
					}
					var minutes = serverDate.getMinutes();
					if (minutes &lt;= 9) {
						minutes = "0" + minutes;
					}
					var seconds = serverDate.getSeconds();
					if (seconds &lt;= 9) {
						seconds = "0" + seconds;
					}
					var dateString = "current date and time: " + year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
					document.getElementById("clock").innerHTML = dateString;
					setTimeout("runClock()",1000);
				}

				function confirmLink(message, url) {
					if(confirm(message)) location.href = url;
				}
			</script>
		</head>
		<body onload="runClock()">
			<xsl:attribute name="class">
				<xsl:variable name="stubConfig">
					<xsl:value-of select="//applicationConstants/properties/property[@name='stub<EMAIL>']"/>
				</xsl:variable>
				<xsl:variable name="otapStage">
					<xsl:value-of select="//applicationConstants/properties/property[@name='otap.stage']"/>
				</xsl:variable>
				<xsl:variable name="otapSide">
					<xsl:value-of select="//applicationConstants/properties/property[@name='otap.side']"/>
				</xsl:variable>
				<xsl:choose>
					<xsl:when test="$stubConfig='true'">stub</xsl:when>
					<xsl:when test="$otapStage='DEV'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">dev_as</xsl:when>
							<xsl:when test="$otapSide='EP'">dev_ep</xsl:when>
							<xsl:otherwise>dev</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$otapStage='TST'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">tst_as</xsl:when>
							<xsl:when test="$otapSide='EP'">tst_ep</xsl:when>
							<xsl:otherwise>tst</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$otapStage='ACC'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">acc_as</xsl:when>
							<xsl:when test="$otapSide='EP'">acc_ep</xsl:when>
							<xsl:otherwise>acc</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
					<xsl:when test="$otapStage='PRD'">
						<xsl:choose>
							<xsl:when test="$otapSide='AS'">prd_as</xsl:when>
							<xsl:when test="$otapSide='EP'">prd_ep</xsl:when>
							<xsl:otherwise>prd</xsl:otherwise>
						</xsl:choose>
					</xsl:when>
				</xsl:choose>
			</xsl:attribute>
			<table width="100%" class="page" >
			<tr><td colspan="3">
					<table width="100%"><tr>
					<td>
						<h1><xsl:value-of select="@title"/></h1>
					</td>
					<td align="right">
						<div class="appName">
						<xsl:value-of select="//applicationConstants/properties/property[@name='application.name']"/><xsl:value-of select="' '"/>
						<xsl:value-of select="//applicationConstants/properties/property[@name='application.version']"/>:<xsl:value-of select="' '"/>
						<xsl:value-of select="//applicationConstants/properties/property[@name='instance.name']"/><xsl:value-of select="' '"/>
						<xsl:variable name="release" select="//applicationConstants/properties/property[@name='instance.release']"/>
						<xsl:if test="string-length($release)&gt;0">
							<xsl:value-of select="$release"/><xsl:value-of select="' '"/>
						</xsl:if>
						<xsl:value-of select="//applicationConstants/properties/property[@name='instance.version']"/><xsl:value-of select="' '"/>
						<xsl:value-of select="//applicationConstants/properties/property[@name='instance.<EMAIL>']"/><xsl:value-of select="', '"/>
						buildscript <xsl:value-of select="//applicationConstants/properties/property[@name='build.xml.<EMAIL>']"/><xsl:value-of select="', '"/>
						size: <xsl:value-of select="//applicationConstants/properties/property[@name='instance.size']"/>
						</div>
						<div>
						running on <xsl:value-of select="//machineName"/> using <xsl:value-of select="//requestInfo/servletRequest/serverInfo"/>
						</div>
						<div>
						heap size: <xsl:value-of select="//processMetrics/properties/property[@name='heapSize']"/>,
						total JVM memory: <xsl:value-of select="//processMetrics/properties/property[@name='totalMemory']"/>
						</div>
						<xsl:if test="//fileSystem/totalSpace!='null'">
							<div>
							free space: <xsl:value-of select="//fileSystem/freeSpace"/>,
							total space: <xsl:value-of select="//fileSystem/totalSpace"/>
							</div>
						</xsl:if>
						<div id="clock"/>
					</td>
					</tr></table>
				</td>

			</tr>
			<tr><td colspan="3">
				<xsl:apply-templates select="//menuBar"/>
			</td></tr>
			<tr><td colspan="3">
				<img src="images/pixel.gif" height="20px" border="0" alt=""/>
			</td></tr>
			
			<tr><td/>
				<xsl:choose>
					<xsl:when test="count(//breadCrumb)=0">
						<td/>
					</xsl:when>
					<xsl:otherwise>
						<td class="breadCrumb">
							<xsl:apply-templates select="//breadCrumb"/>
						</td>
					</xsl:otherwise>
				</xsl:choose>
				<td/>
			</tr>
			<tr><td width="50px"></td>
			<td class="pagePanel">
				<xsl:apply-templates select="//errors"/>
				<xsl:apply-templates select="//messages"/>
			<xsl:apply-templates />		
			</td>
			<td width="50px"></td>
			</tr>
			</table>
		</body>
		</html>
{'fraction_non_alphanumeric': 0.20835120835120835, 'fraction_numerical': 0.009652509652509652, 'mean_word_length': 3.4830128205128204, 'pattern_counts': {'":': 4, '<': 344, '<?xml version=': 0, '>': 344, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, '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': '3859173', 'n_tokens_mistral': 6357, 'n_tokens_neox': 4672, 'n_words': 692}