<!DOCTYPE html> 
<html>
	<head>
#parse( "azkaban/webapp/servlet/velocity/style.vm" )
		<script type="text/javascript" src="${context}/js/jquery/jquery.js"></script>    
		<script type="text/javascript" src="${context}/js/namespace.js"></script>
		<script type="text/javascript" src="${context}/js/underscore-1.2.1-min.js"></script>
		<script type="text/javascript" src="${context}/js/backbone-0.5.3-min.js"></script>
		<script type="text/javascript" src="${context}/js/jquery.simplemodal.js"></script>
		<script type="text/javascript" src="${context}/js/azkaban.ajax.utils.js"></script>
		<script type="text/javascript" src="${context}/js/azkaban.nav.js"></script>
		<script type="text/javascript" src="${context}/js/azkaban.projectlog.view.js"></script>
		
		<script type="text/javascript">
			var contextURL = "${context}";
			var currentTime = ${currentTime};
			var timezone = "${timezone}";
			var errorMessage = ${error_message};
			var successMessage = ${success_message};
			
			var projectName = "${projectName}";

		</script>
	</head>
	<body>
		#set($current_page="executing")
#parse( "azkaban/webapp/servlet/velocity/nav.vm" )
		<div class="content">
#if($errorMsg)
				<div class="box-error-message">$errorMsg</div>
#else
#if($error_message != "null")
				<div class="box-error-message">$error_message</div>
#elseif($success_message != "null")
				<div class="box-success-message">$success_message</div>
#end
		
			<div id="all-jobs-content">
				<div class="section-hd flow-header">
					<h2><a href="${context}/manager?project=${projectName}">Project Audit Logs <span>$projectName</span></a></h2>
				</div>
			</div>
			
			<div id="headertabs" class="headertabs">
				<ul>
					<li><a id="logViewLink" href="#log">Log</a></li>
				</ul>
			</div>

			<div id="projectLogView" class="logView">
				<div class="logHeader"><div class="logButtonRow"><div id="updateLogBtn" class="btn7">Refresh</div></div></div>
				<div class="logViewer">
					<pre id="logSection" class="log"></pre>
				</div>
			</div>
#end
			<div id="messageDialog" class="modal">
				<h3 id="messageTitle">Error</h3>
				<div class="messageDiv">
					<p id="messageBox"></p>
				</div>
			</div>

		</div>
	</body>
</html>