1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-07-01 22:22:53 +00:00

Add human readable data quality report

This commit is contained in:
2023-07-26 08:39:58 +02:00
parent cd20e0a170
commit 26312c8620
4 changed files with 77 additions and 2 deletions

View File

@ -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>