main
Last change
on this file since 4d67d70 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
|
Line | |
---|
1 | <div>
|
---|
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">
|
---|
9 | <tr>
|
---|
10 | <th>Име</th>
|
---|
11 | <th>Корисничко име</th>
|
---|
12 | <th>Улога</th>
|
---|
13 | <th>Одобри</th>
|
---|
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()}) }">
|
---|
23 | <button type="submit">Одобри</button>
|
---|
24 | </form>
|
---|
25 | </td>
|
---|
26 | </tr>
|
---|
27 | </tbody>
|
---|
28 | </table>
|
---|
29 | </div>
|
---|
30 | </div> |
---|
Note:
See
TracBrowser
for help on using the repository browser.