diff options
Diffstat (limited to 'src/main/resources/templates/admin.html')
-rw-r--r-- | src/main/resources/templates/admin.html | 15 |
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> |