diff --git a/src/main/resources/templates/page/itemList.html b/src/main/resources/templates/page/itemList.html index 1d4ec58da173894dbbcb2afa1abb0e185234f8e5..8a78b94d756568c3f9150968c33040df8c663021 100644 --- a/src/main/resources/templates/page/itemList.html +++ b/src/main/resources/templates/page/itemList.html @@ -6,5 +6,28 @@ </head> <body> <div>itemList</div> + <table> + <!--thead--> + <thead> + <tr> + <th>id</th> + <th>name</th> + <th>description</th> + </tr> + </thead> + <!-- tbody --> + <tbody> + <tr th:each="exchangeItem,iStat : ${exchangeItems}"> + <td th:text="${iStat.index}"></td> + <td th:text="${exchangeItem.name}"></td> + <td th:text="${exchangeItem.description}"></td> + <td> + <button><a th:href="@{/exchange/{link} (link=${exchangeItem.id})}"> + seeDetails + </a></button> + </td> + </tr> + </tbody> + </table> </body> </html> \ No newline at end of file