updated start site

start site has now user and admin login panels
added custom css for start page
dashboard is now splitted in cateogies
implemendet LiveReload
added fallback 'falseInput.html' page
This commit is contained in:
2020-11-24 17:11:16 +01:00
parent d8db603ab6
commit d265677b55
6 changed files with 106 additions and 172 deletions
+3 -4
View File
@@ -36,20 +36,19 @@
</div>
<h1>Kandidaten Liste</h1>
<div class="candidateTable">
<div th:each="category : ${categories}" th:id="${category.id}">
<h2 th:text="${category.name}"></h2>
<table class="tableCandidates" border="5">
<tr>
<th>Id</th>
<th>Name</th>
<th>Votes</th>
<th>Category</th>
</tr>
<tr th:each="candidate: ${candidates}">
<tr th:each="candidate: ${category.candidateList}" th:id="${category.id} + '_' + ${candidate.id}">
<td th:text="${candidate.id}"></td>
<td th:text="${candidate.name}"></td>
<td th:text="${candidate.votes}"></td>
<td th:text="${candidate.category}"></td>
</tr>
</table>
</div>