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

Last change on this file was 6791e89, checked in by Leona <leona@…>, 2 years ago

working on reservations part

  • Property mode set to 100644
File size: 4.3 KB
Line 
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>Reservation</title>
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</head>
11<body>
12<!--Header-->
13<nav class="navbar navbar-expand-md navbar-dark bg-dark">
14 <div class="container">
15 <a class="navbar-brand" href="/home">ONLINE LIBRARY</a>
16 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault"
17 aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
18 <span class="navbar-toggler-icon"></span>
19 </button>
20
21 <div class="collapse navbar-collapse justify-content-end" id="navbarsExampleDefault">
22 <ul class="navbar-nav m-auto">
23 <li class="nav-item m-auto">
24 <a class="nav-link active" href="/home">ПОЧЕТНА</a>
25 </li>
26 <li class="nav-item m-auto">
27 <a class="nav-link active" href="/book">КНИГИ</a>
28 </li>
29 <li class="nav-item m-auto">
30 <a class="nav-link active" href="/room">ПРОСТОРИИ</a>
31 </li>
32 </ul>
33
34 <form class="form-inline my-2 my-lg-0">
35 <a class="btn btn-primary btn-sm ml-3" href="/logout">
36 <i class="fa fa-shopping-cart"></i> ОДЈАВИ СЕ
37 </a>
38 </form>
39 </div>
40 </div>
41</nav>
42
43<!--Main-->
44<section class="jumbotron text-center">
45
46
47 <div th:if="${hasError}">
48 <h5 class="text-center text-danger" th:text="${error}"></h5>
49 </div>
50
51 <div class="container">
52 <form class="form-signin mt-xl-5" method="post" action="/resBook">
53
54 <h2 class="jumbotron-heading"><b>Резервација на книга</b></h2>
55
56 <div class="container mb-4">
57 <div class="row">
58 <p>
59 <label for="bookName" class="sr-only" th:text="${book.getId()}"></label>
60 <input type="text" id="bookName" name="bookName" class="form-control" th:placeholder="${book.getBookName()}" required="" disabled >
61 </p>
62 </div>
63 </div>
64
65 <div class="container mb-4">
66 <div class="row">
67 <p>Датум земање книга
68 <label for="takeDate" class="sr-only">Датум земање книга</label>
69 <input type="date" id="takeDate" name="takeDate" class="form-control" placeholder="Take Date" required="" autofocus="">
70 </p>
71 <br>
72 <p>Датум враќање книга
73 <label for="returnDate" class="sr-only">Датум враќање книга</label>
74 <input type="date" id="returnDate" name="returnDate" class="form-control" placeholder="Return Date" required="" autofocus="">
75 </p>
76 </div>
77 </div>
78 </form>
79 <button class="btn btn-lg btn-primary btn-block" type="submit">ПОТВРДИ РЕЗЕРВАЦИЈА</button>
80 <br>
81 <a href="/book" class="btn btn-block btn-light">ОТКАЖИ РЕЗЕРВАЦИЈА</a>
82 </div>
83
84</section>
85
86<!-- Footer -->
87<footer class="text-black-50 mt-xl-5">
88 <div class="container">
89 <div class="row">
90 <div class="col-md-3 col-lg-1 col-xl-5">
91 <h5>Contact</h5>
92 <hr class="bg-white mb-2 mt-0 d-inline-block mx-auto w-25">
93 <ul class="list-unstyled">
94 <li><i class="fa fa-envelope mr-2"></i>onlinelibrary@library.com</li>
95 <li><i class="fa fa-phone mr-2"></i> + 33 12 14 15 16</li>
96 <li><i class="fa fa-print mr-2"></i> + 33 12 14 15 16</li>
97 </ul>
98 </div>
99 </div>
100 </div>
101</footer>
102</body>
103</html>
Note: See TracBrowser for help on using the repository browser.