]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/WEB-INF/jsp/slcExecutionView.jsp
Centralize JSPs
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / WEB-INF / jsp / slcExecutionView.jsp
index bffcd4d630c9539a156d01db281af6ef96cb2f38..360e98ef61e9ec8822802b00822a1e6b985eba88 100644 (file)
@@ -1,21 +1,40 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>\r
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1"\r
-       pageEncoding="ISO-8859-1"%>\r
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>\r
+<div id="main">\r
+<h1>SLC Execution #${slcExecution.uuid}</h1>\r
 \r
-<%@include file="header.txt"%>\r
-<jsp:include page="common.jsp" />\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
-<div id="main">\r
-<h1>SLC Execution Details</h1>\r
-<h2>Uuid = ${slcExecution.uuid}</h2>\r
-<br>\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
@@ -24,5 +43,3 @@
                </c:forEach>\r
        </table>\r
 </c:forEach></div>\r
-\r
-<%@include file="footer.txt"%>
\ No newline at end of file