Files
AbizeitungVotingSystem/src/main/resources/templates/voting.html
T
Casually9790 40655b2130 All fallbacks added to the login site. Edited voting.html
.gitignore:
    - added the /logs folder to the gitignore

VotingController.java:
    - added log message logging false entry format

Candidate.java:
    - return type changed from 'String' to 'Candidate'

wrongEmail.html:
    - added html file to avoid error

voting.html:
    - changed the way of output
2020-11-14 01:11:17 +01:00

23 lines
580 B
HTML

<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link th:href="@{/styles/voting.css}" rel="stylesheet" />
</head>
<body>
<h1>Wähle deine Kandidaten:</h1>
<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>
</div>
</body>
</html>