Massive changes but I have to go to sleep now
This commit is contained in:
@@ -18,22 +18,28 @@
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>E-Mail</th>
|
||||
<th>Vote status</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
|
||||
<tr th:each="voter : ${voters}">
|
||||
<div th:if="${voter.candidatesubmit_status}">
|
||||
<td class="submitted" th:text="${voter.id}"></td>
|
||||
<td class="submitted" th:text="${voter.email}"></td>
|
||||
<td class="submitted" th:text="Candidates submitted"></td>
|
||||
</div>
|
||||
|
||||
<!-- If voter has voted -->
|
||||
<div th:if="${voter.vote_status}">
|
||||
<td class="voted" th:text="${voter.id}"></td>
|
||||
<td class="voted" th:text="${voter.email}"></td>
|
||||
<td class="voted" th:text="${voter.vote_status}"></td>
|
||||
<td class="voted" th:text="Voted"></td>
|
||||
</div>
|
||||
|
||||
<!-- ELSE -->
|
||||
<div th:unless="${voter.vote_status}">
|
||||
<td class="notVoted" th:text="${voter.id}"></td>
|
||||
<td class="notVoted" th:text="${voter.email}"></td>
|
||||
<td class="notVoted" th:text="${voter.vote_status}"></td>
|
||||
<td class="notVoted" th:text="$Not voted"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user