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 | <link rel="shortcut icon" th:href="@{assets/images/favicon.ico}">
|
---|
6 | <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">
|
---|
7 | <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
---|
8 | <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
---|
9 | <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
---|
10 | <title> Резервација </title>
|
---|
11 | </head>
|
---|
12 | <body>
|
---|
13 | <form class="form-signin mt-xl-0">
|
---|
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"
|
---|
20 | data-target="#navbarsExampleDefault"
|
---|
21 | aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
|
---|
22 | <span class="navbar-toggler-icon"></span>
|
---|
23 | </button>
|
---|
24 | </div>
|
---|
25 | <a class="btn btn-primary btn-sm ml-3" href="/moi-upati">
|
---|
26 | <i class="fa fa-shopping-cart"></i> Мои Упати
|
---|
27 | </a>
|
---|
28 | <a class="btn btn-primary btn-sm ml-3" href="/logout">
|
---|
29 | <i class="fa fa-shopping-cart"></i> Одјави се
|
---|
30 | </a>
|
---|
31 | </form>
|
---|
32 | </div>
|
---|
33 | </div>
|
---|
34 | </nav>
|
---|
35 | <section class="jumbotron text-center">
|
---|
36 | <div class="container">
|
---|
37 | <h3 class="jumbotron-heading"> Трансакција за пациент:
|
---|
38 | <th:block th:if="${session.pacient != null}" th:text="${session.pacient.getEmail()}"></th:block>
|
---|
39 | </h3>
|
---|
40 | </div>
|
---|
41 | </section>
|
---|
42 | <div class="container mb-4">
|
---|
43 | <div class="row">
|
---|
44 | <div class="col-12">
|
---|
45 | <div class="table-responsive">
|
---|
46 | <h4 class="text-center"> Податоци за термин и упат </h4>
|
---|
47 | <table class="table table-striped">
|
---|
48 | <thead>
|
---|
49 | <tr>
|
---|
50 | <th scope="col"> Упат ИД</th>
|
---|
51 | <th scope="col"> Термин ИД </th>
|
---|
52 | <th scope="col"> Доктор ИД </th>
|
---|
53 | </tr>
|
---|
54 | </thead>
|
---|
55 | <tbody>
|
---|
56 | <tr>
|
---|
57 | <td th:text="${upat.getUpat_id()}"></td>
|
---|
58 | <td th:text="${termin.getTermin_id()}"></td>
|
---|
59 | <td th:text="${termin.getDoktor_id()}"></td>
|
---|
60 | </tr>
|
---|
61 | </tbody>
|
---|
62 | </table>
|
---|
63 | </div>
|
---|
64 | </div>
|
---|
65 | </div>
|
---|
66 | <div style="background-color: #e9ecef; padding: 10px">
|
---|
67 | <span>
|
---|
68 | <h6 style="font-style: italic"> *За да ја потврдите резервацијата морате да уплатите сума од 50 денари,
|
---|
69 | инаку ќе биде невалидна!
|
---|
70 | </h6>
|
---|
71 | </span>
|
---|
72 | <span class="mt-auto">
|
---|
73 | <form th:action="@{'/validiraj/rezervacija/{id}' (id = ${rezervacija.getRezervacija_id()})}">
|
---|
74 | <button type="submit" class="btn btn-primary"> Валидирајте ја резервацијата </button>
|
---|
75 | </form>
|
---|
76 | </span>
|
---|
77 | </div>
|
---|
78 | </div>
|
---|
79 | </form>
|
---|
80 | </body>
|
---|
81 | </html>
|
---|