diff options
| author | Paul-Christian Volkmer | 2024-03-04 17:03:41 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2024-03-04 17:03:41 +0100 |
| commit | 0aec5e44794d6458ee9b8d7b086922aec89aefeb (patch) | |
| tree | e9334364ed973ae4ceb6e3a7214f4413d866b920 /src/main/resources/templates/configs | |
| parent | b1a83510a67496b1d3a6874e345f292815995468 (diff) | |
style: fixed first column width
Diffstat (limited to 'src/main/resources/templates/configs')
| -rw-r--r-- | src/main/resources/templates/configs/tokens.html | 9 | ||||
| -rw-r--r-- | src/main/resources/templates/configs/userroles.html | 5 |
2 files changed, 6 insertions, 8 deletions
diff --git a/src/main/resources/templates/configs/tokens.html b/src/main/resources/templates/configs/tokens.html index 15c70f0..0e245b0 100644 --- a/src/main/resources/templates/configs/tokens.html +++ b/src/main/resources/templates/configs/tokens.html @@ -7,19 +7,20 @@ <h2><span>✅</span> Tokens</h2> <div class="border"> <div th:if="${tokens.isEmpty()}">Noch keine Tokens vorhanden.</div> - <table th:if="${not tokens.isEmpty()}"> + <table th:if="${not tokens.isEmpty()}" class="config-table"> <thead> <tr> <th>Name</th> <th>Erstellt</th> - <th></th> </tr> </thead> <tbody> <tr th:each="token : ${tokens}"> <td>[[ ${token.name} ]]</td> - <td><time th:datetime="${token.createdAt}">[[ ${token.createdAt} ]]</time></td> - <td><button class="btn btn-red" th:hx-delete="@{/configs/tokens/{id}(id=${token.id})}" hx-target="#tokens">Löschen</button></td> + <td> + <time th:datetime="${token.createdAt}">[[ ${token.createdAt} ]]</time> + <button class="btn btn-red" th:hx-delete="@{/configs/tokens/{id}(id=${token.id})}" hx-target="#tokens">Löschen</button> + </td> </tr> </tbody> </table> diff --git a/src/main/resources/templates/configs/userroles.html b/src/main/resources/templates/configs/userroles.html index f5e4586..e5b9c6d 100644 --- a/src/main/resources/templates/configs/userroles.html +++ b/src/main/resources/templates/configs/userroles.html @@ -7,12 +7,11 @@ <h2><span>✅</span> Benutzerberechtigungen</h2> <div class="border"> <div th:if="${userRoles.isEmpty()}">Noch keine Benutzerberechtigungen vorhanden.</div> - <table th:if="${not userRoles.isEmpty()}"> + <table th:if="${not userRoles.isEmpty()}" class="config-table"> <thead> <tr> <th>Benutzername</th> <th>Rolle</th> - <th></th> </tr> </thead> <tbody> @@ -29,8 +28,6 @@ <button class="btn btn-blue" th:disabled="${#authorization.authentication.getName() == userRole.username}">Übernehmen</button> </form> </div> - </td> - <td> <button class="btn btn-red" th:hx-delete="@{/configs/userroles/{id}(id=${userRole.id})}" hx-target="#userroles" th:disabled="${#authorization.authentication.getName() == userRole.username}">Löschen</button> </td> </tr> |
