moved member list to /member route

This commit is contained in:
s5260822 2025-03-18 19:52:37 +01:00
parent 0579017443
commit 810a3f9070
3 changed files with 4 additions and 6 deletions

View file

@ -56,7 +56,7 @@ public class RESTHandler {
// ======
// Parlamentarier
app.get("/", FrontEndController::getAllParlamentarier);
app.get("/members", FrontEndController::getAllParlamentarier);
app.get("/portfolio/{id}", FrontEndController::getParlamentarierDetails);
app.delete("/deleteParlamentarier", ParlamentarierController::deleteAllParlamentarier);

View file

@ -1,4 +1,4 @@
<form name="searchForm" action="/" method="get">
<form name="searchForm" action="/members" method="get">
Name : <input type="text" name="filter" value="${filter!' '}" />
<input type="submit" value="Suche" />
</form>

View file

@ -16,9 +16,7 @@
</head>
<#include "header.ftl">
<body>
<header>
<h1>Abgeordnete (alphabetisch sortiert)</h1>
</header>
<h2>Abgeordnete (alphabetisch sortiert)</h2>
<main>
<#include "filterForm.ftl">
@ -43,7 +41,7 @@
</#list>
</tbody>
</table>
<a href="/" class="back-link">Zurück zum Anfang</a>
<a href="/members" class="back-link">Zurück zum Anfang</a>
</main>
</body>
<#include "footer.ftl">