source: src/main/resources/templates/workers.html@ 448bd84

Last change on this file since 448bd84 was 448bd84, checked in by milamihajlovska <mila.mihajlovska01@…>, 23 months ago

added listing workers

  • Property mode set to 100644
File size: 903 bytes
Line 
1<div xmlns:th="http://www.thymeleaf.org">
2 <section class="jumbotron text-center">
3 <div class="container">
4 <h1 class="jumbotron-heading">Workers</h1>
5 </div>
6 </section>
7
8 <div class="container mb-4">
9 <div class="row">
10 <div class="col-12" >
11 <div class="table-responsive">
12 <table class="table table-striped">
13 <thead>
14 <tr>
15 <th scope="col">First name</th>
16 <th scope="col">Last Name</th>
17 <th scope="col">Position</th>
18
19 </tr>
20 </thead>
21 <tbody>
22 <tr th:each="w : ${workers}" class="workers">
23 <td th:text="${w.first_name}"></td>
24 <td th:text="${w.last_name}"></td>
25 <td th:text="${w.position}"></td>
26 </tr>
27 </tbody>
28 </table>
29 </div>
30 </div>
31
32 </div>
33 </div>
34</div>
Note: See TracBrowser for help on using the repository browser.