Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="ISO-8859-1">
- <title>Welcome to Tas kLibrary</title>
- <link rel="stylesheet" type="text/css" href="/webjars/bootstrap/css/bootstrap.min.css">
- <script type="text/javascript" src="/webjars/jquery/jquery.min.js"></script>
- <script type="text/javascript" src="/webjars/bootstrap/js/bootstrap.min.js"></script>
- <title>Books List</title>
- </head>
- </head>
- <body>
- <div class="container text-center">
- <div>
- <h1>Welcome to the books List</h1>
- </div>
- <div>
- <table class="table table-striped table-bordered">
- <thead class="thead-dark">
- <tr>
- <th>Title</th>
- <th>Author</th>
- <th>Genre</th>
- <th>Price</th>
- <th>Publish Date</th>
- <th>Description</th>
- <th>Details</th>
- <th>Borrowed By</th>
- </tr>
- </thead>
- <tbody>
- <tr th:each="user: ${listBooks}">
- <td th:text="${books.getTitle}">Title </td>
- <td th:text="${books.author}">Author</td>
- <td th:text="${books.genre}">Genre</td>
- <td th:text="${books.price}">Price</td>
- <td th:text="${books.publish_date}">Publish Date</td>
- <td th:text="${books.description}">Description</td>
- <td th:text="${books.borrowed}">Details</td>
- <td th:text="${books.borrowedBy}">Borrowed By</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement