diff options
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/static/style.css | 10 | ||||
| -rw-r--r-- | src/main/resources/templates/report.html | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index c6a8c33..b6713d2 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -697,4 +697,14 @@ a.reload { .no-token { padding: 1em; background: var(--bg-red-op); +} + +.issue-message { + font-family: monospace; + font-weight: bolder; +} + +.issue-path { + font-family: monospace; + line-height: 1rem; }
\ No newline at end of file diff --git a/src/main/resources/templates/report.html b/src/main/resources/templates/report.html index 21d1b48..5442fd4 100644 --- a/src/main/resources/templates/report.html +++ b/src/main/resources/templates/report.html @@ -47,7 +47,7 @@ <thead> <tr> <th>Schweregrad</th> - <th>Beschreibung</th> + <th>Beschreibung und Pfad</th> </tr> </thead> <tbody> @@ -56,7 +56,11 @@ <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 th:if="${issue.severity.value == 'fatal'}" class="bg-red"><small>[[ ${issue.severity} ]]</small></td> - <td>[[ ${issue.message} ]]</td> + <td> + <div class="issue-message">[[ ${issue.message} ]]</div> + <div class="issue-path" th:if="${issue.path.isPresent()}">[[ ${issue.path.get()} ]]</div> + <div class="issue-path" th:if="${issue.path.isEmpty()}"><i>Keine Angabe</i></div> + </td> </tr> </tbody> </table> |
