summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/configs/userroles.html
diff options
context:
space:
mode:
authorPaul-Christian Volkmer2024-03-05 10:27:27 +0100
committerGitHub2024-03-05 10:27:27 +0100
commit69d796dab46cf17069057ed2177174200039135e (patch)
tree60369bf8c4cd718fc127a1aa31e7edfffb7a3ab9 /src/main/resources/templates/configs/userroles.html
parentb1a83510a67496b1d3a6874e345f292815995468 (diff)
parent4bfe7dc69861c47b752f1f6d415f504d5518a03d (diff)
Merge pull request #52 from CCC-MF/issue_51
Darstellung und Aufteilung der Konfigurationsseite verbessern
Diffstat (limited to 'src/main/resources/templates/configs/userroles.html')
-rw-r--r--src/main/resources/templates/configs/userroles.html5
1 files changed, 1 insertions, 4 deletions
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>