Improve execution view
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 4 May 2008 19:06:28 +0000 (19:06 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 4 May 2008 19:06:28 +0000 (19:06 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1113 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.webapp/src/main/webapp/WEB-INF/jsp/slcExecutionView.jsp

index bffcd4d630c9539a156d01db281af6ef96cb2f38..eafe31eb57f7359d15598afe68cae7b850a8d52f 100644 (file)
@@ -7,15 +7,42 @@
 <jsp:include page="common.jsp" />\r
 \r
 <div id="main">\r
-<h1>SLC Execution Details</h1>\r
-<h2>Uuid = ${slcExecution.uuid}</h2>\r
-<br>\r
+<h1>SLC Execution #${slcExecution.uuid}</h1>\r
+\r
+<h2>Details</h2>\r
+<table>\r
+       <tr>\r
+               <td>Host</td>\r
+               <td>${slcExecution.host}</td>\r
+       </tr>\r
+       <tr>\r
+               <td>User</td>\r
+               <td>${slcExecution.user}</td>\r
+       </tr>\r
+       <tr>\r
+               <td>Status</td>\r
+               <td>${slcExecution.status}</td>\r
+       </tr>\r
+       <tr>\r
+               <td>Type</td>\r
+               <td>${slcExecution.type}</td>\r
+       </tr>\r
+       <c:choose>\r
+               <c:when test="${slcExecution.type == 'org.argeo.slc.ant'}">\r
+                       <tr>\r
+                               <td>Script</td>\r
+                               <td>${slcExecution.attributes['ant.file']}</td>\r
+                       </tr>\r
+               </c:when>\r
+       </c:choose>\r
+</table>\r
+\r
 <h2>Execution Steps</h2>\r
 <c:forEach items="${slcExecutionSteps}" var="slcExecutionStep">\r
        <a name="step_${slcExecutionStep.uuid}"></a>\r
-       <h3 class="executionStep">${slcExecutionStep.begin} - ${slcExecutionStep.uuid}\r
-       (${slcExecutionStep.type})</h3>\r
-<table>\r
+       <h3 class="executionStep">${slcExecutionStep.begin} -\r
+       ${slcExecutionStep.uuid} (${slcExecutionStep.type})</h3>\r
+       <table>\r
                <c:forEach items="${slcExecutionStep.logLines}"\r
                        var="slcExecutionStepLogLine">\r
                        <tr>\r