summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-05-08 15:07:14 +0200
committerGeorg Pfuetzenreuter2022-05-08 15:07:14 +0200
commitb48fe2fd1086892b439454ad3843705baf34b58b (patch)
tree5cb18f652c7ad89c282b0299234873321702ad2b /src/main/resources
parenta014a0126fa72c9b1630c718d05f1652dfc13fb8 (diff)
downloadpubsh-web-b48fe2fd1086892b439454ad3843705baf34b58b.tar.gz
pubsh-web-b48fe2fd1086892b439454ad3843705baf34b58b.tar.bz2
pubsh-web-b48fe2fd1086892b439454ad3843705baf34b58b.zip
Move shell deletion to separate mapping
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/templates/portal.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html
index 568e4da..33934c3 100644
--- a/src/main/resources/templates/portal.html
+++ b/src/main/resources/templates/portal.html
@@ -50,7 +50,7 @@
<td th:text="${container.id}" />
<td th:text="${container.status}" />
<td>
-<form id="deletion_pseudoform" action="#" th:action="@{'/frontend/container/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') + ' ?');">
+<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>
</form>
</td>