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

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

books & rooms showing

  • Property mode set to 100644
File size: 3.8 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>Room</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<div class="container">
45 <section class="jumbotron text-center">
46 <h2 class="jumbotron-heading"><b>Простории за учење</b></h2>
47 </section>
48
49 <div th:if="${hasError}">
50 <h5 class="text-center text-danger" th:text="${error}"></h5>
51 </div>
52
53 <div class="container mb-4">
54 <div class="row">
55 <div class="col-12" >
56 <div class="table-responsive">
57 <table class="table table-striped">
58 <thead>
59 <th scope="col">Име на просторија</th>
60 <th scope="col">Капацитет</th>
61 <th scope="col">Слободни места</th>
62 <th scope="col"></th>
63 </thead>
64 <tbody>
65 <tr th:each="room : ${rooms}" class="room">
66 <td th:text="${room.getName()}"></td>
67 <td th:text="${room.getPlaces()}"></td>
68 <td th:text="${room.getFreePlaces()}"></td>
69 <td><a class="btn btn-primary btn-sm ml-3" href="/resPlace">Резервација</a>
70 </td>
71 </tr>
72 </tbody>
73
74 </table>
75 </div>
76 </div>
77 </div>
78 </div>
79
80</div>
81
82<!-- Footer -->
83<footer class="text-black-50 mt-xl-5">
84 <div class="container">
85 <div class="row">
86 <div class="col-md-3 col-lg-1 col-xl-5">
87 <h5>Contact</h5>
88 <hr class="bg-white mb-2 mt-0 d-inline-block mx-auto w-25">
89 <ul class="list-unstyled">
90 <li><i class="fa fa-envelope mr-2"></i>onlinelibrary@library.com</li>
91 <li><i class="fa fa-phone mr-2"></i> + 33 12 14 15 16</li>
92 <li><i class="fa fa-print mr-2"></i> + 33 12 14 15 16</li>
93 </ul>
94 </div>
95 </div>
96 </div>
97</footer>
98</body>
99</html>
Note: See TracBrowser for help on using the repository browser.