summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/report.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2023-07-26 08:39:58 +0200
committerPaul-Christian Volkmer2023-07-26 08:39:58 +0200
commit26312c86205681723dd8a9c249e886c8655aa078 (patch)
treed8047466d1b3905e32a44bbc198e300808a0be1a /src/main/resources/templates/report.html
parentcd20e0a17050c7096d3bf50dcf34d7bffd6cc1c6 (diff)
Add human readable data quality report
Diffstat (limited to 'src/main/resources/templates/report.html')
-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>