rote fixes
This commit is contained in:
@@ -40,4 +40,10 @@ jobs:
|
||||
run: docker tag watcher:v0.1.0 git.triggermeelmo.com/daniel-hbn/watcher/watcher:v0.1.0
|
||||
|
||||
- name: Push image
|
||||
run: docker push git.triggermeelmo.com/daniel-hbn/watcher/watcher:v0.1.0
|
||||
run: docker push git.triggermeelmo.com/daniel-hbn/watcher/watcher:v0.1.0
|
||||
|
||||
- name: Tag image
|
||||
run: docker tag watcher:v0.1.0 git.triggermeelmo.com/daniel-hbn/watcher/watcher:latest
|
||||
|
||||
- name: Push image
|
||||
run: docker push git.triggermeelmo.com/daniel-hbn/watcher/watcher:latest
|
@@ -36,7 +36,8 @@ public class ServerController : Controller
|
||||
return View();
|
||||
}
|
||||
|
||||
[HttpPost("AddServerP")]
|
||||
[HttpPost("AddServer")]
|
||||
[ValidateAntiForgeryToken]
|
||||
public async Task<IActionResult> AddServer(AddServerViewModel vm)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<i class="bi bi-plus-circle me-2"></i>Neuen Server hinzufügen
|
||||
</h1>
|
||||
|
||||
<form asp-action="AddServerP" method="post" novalidate>
|
||||
<form asp-action="AddServer" asp-controller="Server" method="post">
|
||||
<div class="mb-3">
|
||||
<label asp-for="Name" class="form-label"><i class="bi bi-terminal me-1"></i>Servername</label>
|
||||
<input asp-for="Name" class="form-control" placeholder="z.B. Webserver-01" />
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-end">
|
||||
<a asp-action="Overview" class="btn btn-outline-secondary me-2">
|
||||
<a asp-action="Overview" asp-controller="Server" class="btn btn-outline-secondary me-2">
|
||||
<i class="bi bi-x-circle me-1"></i>Abbrechen
|
||||
</a>
|
||||
<button type="submit" class="btn btn-primary">
|
||||
|
@@ -51,7 +51,7 @@
|
||||
<i class="bi bi-box-fill me-1"></i> Container
|
||||
</a>
|
||||
|
||||
<form asp-action="Delete" asp-route-id="@s.Id" method="post"
|
||||
<form asp-action="Delete" asp-controller="Server" asp-route-id="@s.Id" method="post"
|
||||
onsubmit="return confirm('Diesen Server wirklich löschen?');" class="m-0">
|
||||
<button type="submit" class="btn btn-outline-danger">
|
||||
<i class="bi bi-trash me-1"></i> Löschen
|
||||
|
Reference in New Issue
Block a user