source: src/main/resources/templates/pacient-upati.html@ 7eed782

Last change on this file since 7eed782 was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago

initial commit

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[e5fefbd]1<!DOCTYPE html>
2<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8"/>
5 <title> Мои Упати </title>
6 <link rel="shortcut icon" th:href="@{assets/images/favicon.ico}">
7 <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
8 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
9 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
10 <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
11</head>
12<body>
13<form class="form-signin mt-xl-0" method="get" action="/moi-upati">
14 <nav class="navbar navbar-expand-md navbar-dark bg-dark">
15 <div class="container">
16 <form class="form-inline my-2 my-lg-0">
17 <div class="input-group input-group-sm">
18 <a class="navbar-brand" href="/home-pacient"> MEDWEB </a>
19 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
20 aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
21 <span class="navbar-toggler-icon"></span>
22 </button>
23 </div>
24 <a class="btn btn-primary btn-sm ml-3" href="/moi-upati">
25 <i class="fa fa-shopping-cart"></i> Мои упати
26 </a>
27 <a class="btn btn-primary btn-sm ml-3" href="/logout">
28 <i class="fa fa-shopping-cart"></i> Одјави се
29 </a>
30 </form>
31 </div>
32 </div>
33 </nav>
34 <section class="jumbotron text-center">
35 <div>
36 <h3> Мои упати </h3>
37 </div>
38 </section>
39
40 <div class="container mb-4">
41 <div class="row">
42 <div class="col-12" th:if="${session.pacient.getUpatList().size() > 0}">
43 <div class="table-responsive">
44 <table class="table table-striped">
45 <thead>
46 <tr>
47 <th scope="col"> Упат ИД </th>
48 <th scope="col"> Дијагноза </th>
49 </tr>
50 </thead>
51 <tbody>
52 <tr th:each="upat : ${upatList}">
53 <td th:text="${upat.getUpat_id()}"></td>
54 <td th:text="${upat.getDijagnoza()}"></td>
55 <td th:text="${upat.getRezervacija() != null} ? ${upat.getRezervacija().getTermin().getVreme()} : 'Нема закажан термин за упатот'"></td>
56 <td class="text-right" th:if="${upat.getRezervacija() == null}">
57 <a th:href="@{'/zakazi-termin/{id}' (id=${upat.getUpat_id()})}"
58 class="btn btn-sm btn-info">
59 <i class="fa fa-trash"> Закажи термин </i>
60 </a>
61 </td>
62 <td class="text-right" th:unless="${upat.getRezervacija() == null}">
63 <i class="fa fa-trash"> - </i>
64 </td>
65 </tr>
66 </tbody>
67 </table>
68 </div>
69 </div>
70 </div>
71 </div>
72</form>
73
74<!-- Footer -->
75<footer class="text-black-50 mt-xl-5">
76 <div class="container">
77 <div class="row">
78 <div class="col-md-3 col-lg-4 col-xl-3">
79 <h5>About</h5>
80 <hr class="bg-white mb-2 mt-0 d-inline-block mx-auto w-25">
81 <p class="mb-0">
82 Le Lorem Ipsum est simplement du faux texte employé dans la composition et la mise en page avant
83 impression.
84 </p>
85 </div>
86
87 <div class="col-md-2 col-lg-2 col-xl-2 mx-auto">
88 <h5>Informations</h5>
89 <hr class="bg-white mb-2 mt-0 d-inline-block mx-auto w-25">
90 <ul class="list-unstyled">
91 <li><a href="">Link 1</a></li>
92 <li><a href="">Link 2</a></li>
93 <li><a href="">Link 3</a></li>
94 <li><a href="">Link 4</a></li>
95 </ul>
96 </div>
97
98 <div class="col-md-3 col-lg-2 col-xl-2 mx-auto">
99 <h5>Others links</h5>
100 <hr class="bg-white mb-2 mt-0 d-inline-block mx-auto w-25">
101 <ul class="list-unstyled">
102 <li><a href="">Link 1</a></li>
103 <li><a href="">Link 2</a></li>
104 <li><a href="">Link 3</a></li>
105 <li><a href="">Link 4</a></li>
106 </ul>
107 </div>
108
109 <div class="col-md-4 col-lg-3 col-xl-3">
110 <h5>Contact</h5>
111 <hr class="bg-white mb-2 mt-0 d-inline-block mx-auto w-25">
112 <ul class="list-unstyled">
113 <li><i class="fa fa-home mr-2"></i> My company</li>
114 <li><i class="fa fa-envelope mr-2"></i> email@example.com</li>
115 <li><i class="fa fa-phone mr-2"></i> + 33 12 14 15 16</li>
116 <li><i class="fa fa-print mr-2"></i> + 33 12 14 15 16</li>
117 </ul>
118 </div>
119 </div>
120 </div>
121</footer>
122</body>
123</html>
Note: See TracBrowser for help on using the repository browser.