Advertisement
Guest User

Untitled

a guest
May 15th, 2021
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta charset="ISO-8859-1">
  5. <title>Welcome to Tas kLibrary</title>
  6. <link rel="stylesheet" type="text/css" href="/webjars/bootstrap/css/bootstrap.min.css">
  7. <script type="text/javascript" src="/webjars/jquery/jquery.min.js"></script>
  8. <script type="text/javascript" src="/webjars/bootstrap/js/bootstrap.min.js"></script>
  9. <title>Books List</title>
  10. </head>
  11. </head>
  12. <body>
  13. <div class="container text-center">
  14. <div>
  15. <h1>Welcome to the books List</h1>
  16. </div>
  17.  
  18. <div>
  19. <table class="table table-striped table-bordered">
  20. <thead class="thead-dark">
  21. <tr>
  22. <th>Title</th>
  23. <th>Author</th>
  24. <th>Genre</th>
  25. <th>Price</th>
  26. <th>Publish Date</th>
  27. <th>Description</th>
  28. <th>Details</th>
  29. <th>Borrowed By</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr th:each="user: ${listBooks}">
  34. <td th:text="${books.getTitle}">Title </td>
  35. <td th:text="${books.author}">Author</td>
  36. <td th:text="${books.genre}">Genre</td>
  37. <td th:text="${books.price}">Price</td>
  38. <td th:text="${books.publish_date}">Publish Date</td>
  39. <td th:text="${books.description}">Description</td>
  40. <td th:text="${books.borrowed}">Details</td>
  41. <td th:text="${books.borrowedBy}">Borrowed By</td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. </div>
  47. </body>
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement