Changeset 3692f0d for src/main/resources/templates
- Timestamp:
- 09/22/22 18:11:04 (2 years ago)
- Branches:
- master
- Children:
- 6791e89
- Parents:
- e5de1b0
- Location:
- src/main/resources/templates
- Files:
-
- 2 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/book.html
re5de1b0 r3692f0d 25 25 </li> 26 26 <li class="nav-item m-auto"> 27 <a class="nav-link active" href="/ info">ИНФОРМАЦИИ</a>27 <a class="nav-link active" href="/book">КНИГИ</a> 28 28 </li> 29 29 <li class="nav-item m-auto"> 30 <a class="nav-link active" href="/guide">УПАТСТВО</a> 31 </li> 32 <li class="nav-item m-auto"> 33 <a class="nav-link active" href="/book">КНИГИ</a> 30 <a class="nav-link active" href="/room">ПРОСТОРИИ</a> 34 31 </li> 35 32 </ul> … … 47 44 <div class="container"> 48 45 <section class="jumbotron text-center"> 49 <h2 class="jumbotron-heading"> Достапни книги</h2>46 <h2 class="jumbotron-heading"><b>Достапни книги</b></h2> 50 47 </section> 51 48 … … 60 57 <table class="table table-striped"> 61 58 <thead> 62 <th scope="col">Book Name</th> 63 <th scope="col">Price</th> 64 <th scope="col">Price Late</th> 65 <th scope="col">Genre</th> 66 <th scope="col">Library</th> 59 <th scope="col">Име на книга</th> 60 <th scope="col">Број на книга</th> 61 <th scope="col">Цена</th> 62 <th scope="col">Цена со задоцнување</th> 63 <th scope="col">Автор</th> 64 <th scope="col">Жанр</th> 65 <th scope="col"></th> 67 66 </thead> 68 67 <tbody> 69 <tr> 70 <td></td> 68 <tr th:each="book : ${books}" class="book"> 69 <td th:text="${book.getBookName()}"></td> 70 <td th:text="${book.getBookNumber()}"></td> 71 <td th:text="${book.getBookPrice()}"></td> 72 <td th:text="${book.getBookPriceLate()}"></td> 73 <td th:each="writer : ${writers}" th:if="${book.getWriters().contains(writer)}" th:text="${writer.getWriterName()}"></td> 74 <td th:each="genre : ${genres}" th:if="${book.getGenre().contains(genre)}" th:text="${genre.getGenreName()}"></td> 75 <td><a class="btn btn-primary btn-sm ml-3" href="/resBook">Резервација</a> 76 <a class="btn btn-primary btn-sm ml-3" href="/online">Симнување</a></td> 71 77 </tr> 72 78 </tbody> … … 76 82 </div> 77 83 </div> 78 </div>79 80 <div>81 <table>82 83 <!-- For each news you should have one <tr> like below -->84 <tr class="item" th:each="book:${book}">85 <td th:text="${book.bookName}">[book.bookName]</td>86 <td th:text="${book.bookPrice}">[book.bookPrice]</td>87 <td th:text="${book.bookPriceLate}">[book.bookPriceLate]</td>88 <td th:text="${book.getGenreOfBook()}">[book.genreOfBook]</td>89 <td th:text="${book.getLibraryOfBook()}">[book.libraryOfBook]</td>\90 91 </tr>92 </table>93 84 </div> 94 85 -
src/main/resources/templates/register.html
re5de1b0 r3692f0d 25 25 </li> 26 26 <li class="nav-item m-auto"> 27 <a class="nav-link active" href=" info.html">ИНФОРМАЦИИ</a>27 <a class="nav-link active" href="/info">ИНФОРМАЦИИ</a> 28 28 </li> 29 29 <li class="nav-item m-auto"> 30 <a class="nav-link active" href=" guide.html">УПАТСТВО</a>30 <a class="nav-link active" href="/guide">УПАТСТВО</a> 31 31 </li> 32 32 </ul>
Note:
See TracChangeset
for help on using the changeset viewer.