source: src/main/resources/templates/clients.html

Last change on this file was 850b344, checked in by Tamara Simikj <tamara.simic12@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[850b344]1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.thymeleaf.org">
3
4<head>
5 <meta charset="UTF-8">
6 <title>BeautyCenter clients</title>
7
8 <link href="https://bootswatch.com/5/journal/bootstrap.css" rel="stylesheet">
9 <script src="https://bootswatch.com/_assets/css/custom.min.css"></script>
10 <script src="https://bootswatch.com/_vendor/prismjs/themes/prism-okaidia.css" ></script>
11 <script src="https://bootswatch.com/_vendor/font-awesome/css/font-awesome.min.css"></script>
12</head>
13<body>
14<div th:replace="layout.html :: header"></div>
15
16<div style="margin-top: 5%">
17<div>
18 <div class="container mb-4">
19 <div class="row">
20 <div class="col-12" >
21 <h2 class="text-center">List of clients</h2>
22 <div class="table-responsive">
23<table class="table table-hover table-striped">
24 <thead>
25 <tr>
26 <th>Client id</th>
27 <th>Ime</th>
28 <th>Prezime</th>
29 <th>Tel.Br</th>
30 <th>e-mail</th>
31 </tr>
32 </thead>
33 <tbody>
34
35
36 <tr class="item" th:each="klient :${klienti}">
37 <td th:text="${klient.id}">[klient.id]</td>
38 <td th:text="${klient.ime}" >[klient.ime]</td>
39 <td th:text="${klient.prezime}">[klient.prezime]</td>
40 <td th:text="${klient.telBr}" >[klient.telBr]</td>
41 <td th:text="${klient.eMail}" >[klient.eMail]</td>
42 <td>
43 <a th:href="@{'/clients/{id}/edit' (id = ${klient.id})}" class="btn btn-link">Edit</a>
44 </td>
45 </tr>
46 </tbody>
47</table>
48 </div>
49 </div>
50 </div>
51 </div>
52</div>
53<div>
54 <div th:replace="layout.html :: footer"></div>
55</body>
56</html>
Note: See TracBrowser for help on using the repository browser.