summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/templates/report.html17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html
index 5a08e44..d9087bf 100644
--- a/src/main/resources/templates/report.html
+++ b/src/main/resources/templates/report.html
@@ -35,7 +35,22 @@
</table>
<h2 th:text="${request.report.description}"></h2>
- <div class="chart monospace" th:text="${request.report.dataQualityReport}"></div>
+
+ <table th:if="not ${issues.isEmpty()}">
+ <thead>
+ <tr>
+ <th>Schweregrad</th>
+ <th>Beschreibung</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr th:each="issue : ${issues}">
+ <td th:if="${issue.severity.value == 'warning'}" class="bg-yellow"><small>[[ ${issue.severity} ]]</small></td>
+ <td th:if="${issue.severity.value == 'error'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td>
+ <td>[[ ${issue.message} ]]</td>
+ </tr>
+ </tbody>
+ </table>
</main>
<script th:src="@{/scripts.js}"></script>
</body>