summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/portal.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/portal.html')
-rw-r--r--src/main/resources/templates/portal.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html
index f5e9342..3db362c 100644
--- a/src/main/resources/templates/portal.html
+++ b/src/main/resources/templates/portal.html
@@ -22,6 +22,7 @@
<option value="">Select duration ...</option>
<option th:value="5" th:attr="value=5" th:text="5"></option>
<option th:value="10" th:attr="value=10" th:text="10"></option>
+ <option th:value="3600" th:attr="value=3600" th:text="3600"></option>
</select>
<button class="btn btn-primary" th:id="request_submission" th:type="submit">Generate</button>
</form>
@@ -49,11 +50,12 @@
<h3>Existing shells:</h3>
<table th:if="${docker_containers!=null and !docker_containers.empty}">
- <tr th:each="container: ${docker_containers}">
- <td th:text="${container.names[0]}" />
+ <tr th:each="container: ${custom_containers}">
+ <td th:text="${container.name}" />
<!-- td th:text="${container.image}" / -->
<!-- td th:text="${container.id}" / -->
<td th:text="${container.status}" />
+ <td th:text="${container.ExpirationDate}" />
<td>
<form id="deletion_pseudoform" action="#" th:action="@{'/frontend/shell/delete/{id}'(id=${container.id})}" th:method="delete" th:containerid="${container.id}" th:containerShaSum="${container.imageId}" th:onsubmit="return confirm('Do you really want to delete the container with ID ' + this.getAttribute('containerid') + ' which is attached to the image with checksum ' + this.getAttribute('containerShaSum') + ' ?');">
<button class="btn btn-danger" id="deletion_submission" type="submit">Delete</button>