Advertisement
Guest User

index

a guest
Apr 8th, 2019
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.51 KB | None | 0 0
  1. <div class="container" xmlns:th="http://www.w3.org/1999/xhtml">
  2.     <a class="button" th:href="@{/create/}">Create New Task</a>
  3. </div>
  4.  
  5. <div class="tasks container" xmlns:th="http://www.w3.org/1999/xhtml">
  6.     <header>
  7.         <div class="column header open">Open</div>
  8.         <div class="column header inProgress">In progress</div>
  9.         <div class="column header finished">Finished</div>
  10.     </header>
  11.     <ul class="column open">
  12.         <th:block th:each="task : ${openTasks}">
  13.             <li th:inline="text">
  14.                 [[${task.title}]]
  15.                 <a class="icon edit" th:href="@{/edit/{id}(id=${task.id})}"></a>
  16.                 <a class="icon delete" th:href="@{/delete/{id}(id=${task.id})}"></a>
  17.             </li>
  18.         </th:block>
  19.     </ul>
  20.     <ul class="column inProgress">
  21.         <th:block th:each="task : ${inProgressTasks}">
  22.             <li th:inline="text">
  23.                 [[${task.title}]]
  24.                 <a class="icon edit" th:href="@{/edit/{id}(id=${task.id})}"></a>
  25.                 <a class="icon delete" th:href="@{/delete/{id}(id=${task.id})}"></a>
  26.             </li>
  27.         </th:block>
  28.     </ul>
  29.     <ul class="column finished">
  30.         <th:block th:each="task : ${finishedTasks}">
  31.             <li th:inline="text">
  32.                 [[${task.title}]]
  33.                 <a class="icon edit" th:href="@{/edit/{id}(id=${task.id})}"></a>
  34.                 <a class="icon delete" th:href="@{/delete/{id}(id=${task.id})}"></a>
  35.             </li>
  36.         </th:block>
  37.     </ul>
  38. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement