summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/admin.html
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-05-12 01:43:27 +0200
committerGeorg Pfuetzenreuter2022-05-12 01:43:27 +0200
commit789bd112f3bf7e99dd7ddcbc71743aea7ff89cc6 (patch)
tree5d50474a7352b0e3e05d2fa4f51929b68fcc773e /src/main/resources/templates/admin.html
parent9648a8b9d03fce135b60f03379d92b628ff10a9a (diff)
downloadpubsh-web-789bd112f3bf7e99dd7ddcbc71743aea7ff89cc6.tar.gz
pubsh-web-789bd112f3bf7e99dd7ddcbc71743aea7ff89cc6.tar.bz2
pubsh-web-789bd112f3bf7e99dd7ddcbc71743aea7ff89cc6.zip
Add expiration date to frontend, custom container object
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/main/resources/templates/admin.html')
-rw-r--r--src/main/resources/templates/admin.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/main/resources/templates/admin.html b/src/main/resources/templates/admin.html
index 88ef9e4..dc8d56b 100644
--- a/src/main/resources/templates/admin.html
+++ b/src/main/resources/templates/admin.html
@@ -42,11 +42,17 @@
</table>
<h2>Existing containers:</h2>
<table>
- <tr th:each="container: ${docker_containers}">
+ <!-- tr th:each="container: ${docker_containers}">
<td th:text="${container.names[0]}" />
<td th:text="${container.image}" />
<td th:text="${container.id}" />
+ <td th:text="${container.status}" /-->
+ <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/container/delete/{id}'(id=${container.id})}" th:method="delete" >
<input type="hidden" name="_method" value="delete" />
<button id="deletion_submission" type="submit">Delete</button>
@@ -68,8 +74,11 @@
onclick="if (!confirm(this.getAttribute('data-confirm-delete'))) return false" -->
</tr>
- </table>
-
+ </table>
+ <!-- <p></p><p></p>
+<p><span th:text="${custom_containers[0].status}"></span></p>
+<p><span th:text="${docker_containers[0].status}"></span></p>
+<p></p-->
<p></p>
<a href="/logout">Logout</a>
</div>