main
Last change
on this file since 4fd6e1a was cab5859, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Added all advanced reports, added bootstrap for every template
|
-
Property mode
set to
100644
|
File size:
848 bytes
|
Rev | Line | |
---|
[676144b] | 1 | <div>
|
---|
[cab5859] | 2 | <div th:if="${hasError}">
|
---|
| 3 | <h1>Нема корисници за одобрување</h1>
|
---|
| 4 | </div>
|
---|
| 5 | <div th:if="${!hasError}">
|
---|
| 6 | <h1 class="mt-3 mb-3">Корисници за одобрување</h1>
|
---|
| 7 | <table class="table table-bordered">
|
---|
| 8 | <thead class="thead-dark">
|
---|
[676144b] | 9 | <tr>
|
---|
[cab5859] | 10 | <th>Име</th>
|
---|
| 11 | <th>Корисничко име</th>
|
---|
| 12 | <th>Улога</th>
|
---|
| 13 | <th>Одобри</th>
|
---|
[676144b] | 14 | </tr>
|
---|
| 15 | </thead>
|
---|
| 16 | <tbody>
|
---|
| 17 | <tr th:each="user : ${users}">
|
---|
| 18 | <td th:text="${user.getName()}"></td>
|
---|
| 19 | <td th:text="${user.getUsername()}"></td>
|
---|
| 20 | <td th:text="${user.getAuthorities()}"></td>
|
---|
| 21 | <td>
|
---|
| 22 | <form method="post" th:action="@{'/approve/{id}' (id=${user.getId()}) }">
|
---|
[cab5859] | 23 | <button type="submit">Одобри</button>
|
---|
[676144b] | 24 | </form>
|
---|
| 25 | </td>
|
---|
| 26 | </tr>
|
---|
| 27 | </tbody>
|
---|
| 28 | </table>
|
---|
[cab5859] | 29 | </div>
|
---|
[676144b] | 30 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.