Reset voting site to the basic

This commit is contained in:
2020-11-25 18:35:05 +01:00
parent d265677b55
commit 71ac8d2feb
2 changed files with 44 additions and 12 deletions
+5 -12
View File
@@ -7,20 +7,13 @@
<link th:href="@{/styles/voting.css}" rel="stylesheet" />
</head>
<body>
<body class="center-screen">
<h1>Wähle deine Kandidaten:</h1>
<div th:each="category,iter : ${categories}">
<h2 th:text="${category.candidateList[iter.index]}"></h2>
</div>
<div th:each="candidate : ${candidates}" class="candidates">
<h2 th:text="${candidate.category.name}"></h2>
<ul>
<li th:text="${candidate.name}"></li>
<li th:text="${candidate.votes}"></li>
<li th:text="${candidate.category.id}"></li>
</ul>
<h2 class="categoryHeader" th:text="${category.name}"></h2>
<div th:each="candidate : ${category.candidateList}">
<a class="candidate" th:text="${candidate.name}"></a>
</div>
</div>
</body>