Skip to content

Commit

Permalink
fix position of status badge on status page
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Geißendörfer <[email protected]>
  • Loading branch information
mgeissen committed Apr 19, 2024
1 parent 5ddac40 commit 051e66d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head></head>
<body>
<div th:fragment="status_badge(status)">
<div th:fragment="status_badge(status)" style="display: inline-block">
<div>
<span th:if="${status.isOk}" class="badge text-bg-success">OK</span>
<span th:if="${status.isWarning}" class="badge text-bg-warning">WARNING</span>
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/resources/templates/status.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ <h5 class="card-title">System</h5>

<div class="status-details">
<h5>Status:
<div style="display: inline-block"
th:replace="~{ fragments/status-badge :: status_badge(status=${statusData.serviceStatus}) }"></div>
<div th:replace="~{ fragments/status-badge :: status_badge(status=${statusData.serviceStatus}) }"></div>
</h5>
<div th:each="statusGroup : ${statusData.indicators}" class="status-detail-group-container">
<h6 th:text="${statusGroup.key}"></h6>
Expand Down

0 comments on commit 051e66d

Please sign in to comment.