1
This commit is contained in:
killerber4t
2020-03-17 16:44:09 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@
<div>
<h2 style="display: inline-block; margin: 0">Mitglieder</h2>
<form method="get" action="/gruppen2/details/members">
<button th:if="${roles.get(user.getUser_id() == admin)}" class="btn btn-secondary" type="submit" style="background: slategrey; float: right" >Mitglieder bearbeiten</button>
<button th:name="group_id" th:value="${group.getId()}" th:if="${roles.get(user.getUser_id() == admin)}" class="btn btn-secondary" type="submit" style="background: slategrey; float: right" >Mitglieder bearbeiten</button>
</form>
<p></p>
</div>

View File

@ -29,15 +29,15 @@
<div class="row">
<div class="col-9">
<div class="shadow-sm p-4" style="border: 10px solid aliceblue; background: aliceblue">
<table>
<table class="table-striped">
<thead>
<tr>
<th scope="col">Mitglied</th>
<th scope="col">Optionen</th>
</tr>
</thead>
<tr th:each="member: ${members}">
<th th:value="${member.getName()}"></th>
<tr th:each="member : ${group.getMembers()}">
<th th:value="${member.getUser_id()}"></th>
<th>
<button class="btn btn-warning">Adminrecht zuweisen</button>
<button class="btn btn-danger"> Mitglied entfernen</button>