blob: 9a18fbec6405704c445ea9d6c34ee801b6d7fa15 [file] [log] [blame]
<html xmlns:th="https://www.thymeleaf.org">
<head>
<title>APP4MC Cloud Manager - Workflow</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div>
<form method="POST" enctype="multipart/form-data" action="/workflow">
<table>
<tr><td>Select input file to process:</td><td><input type="file" name="file" /></td></tr>
<tr>
<td>Select service(s) to process:</td>
<td>
<span th:each="service : ${cloudServiceDefinitions}">
<input type="checkbox" name="services" th:text="${service.name}" th:value="${service.name}" /><br>
</span>
</td>
</tr>
<tr>
<td>Select validations to perform:</td>
<td>
<ul>
<li th:each="profile : ${allProfiles}">
<input type="checkbox" name="profiles" th:value="${profile}" />
<label th:text="${profile}">Amalthea</label>
</li>
</ul>
</td>
</tr>
<tr><td></td><td><input type="submit" value="Start workflow" /></td></tr>
</table>
</form>
</div>
<div>
<ul>
<li th:text="${msg}" th:each="msg : ${workflowStatus.messages}">Message</li>
</ul>
</div>
<div th:if="not ${workflowStatus.errors.isEmpty()}">
<ul>
<li th:text="${msg}" th:each="msg : ${workflowStatus.errors}" style="color:red;font-weight:bold;">Message</li>
</ul>
</div>
<div th:if="not ${workflowStatus.results.isEmpty()}">
<span>Workflow results:</span>
<ul>
<li th:each="result : ${workflowStatus.results}">
<a th:href="${result.value}" th:text="${result.key}">Result</a>
</li>
</ul>
<p><a th:href="@{/{uuid}/delete(uuid=${workflowStatus.uuid})}">Delete</a></p>
</div>
<div>
<a th:href="@{/}">Go back</a>
</div>
</body>
</html>