Newer
Older
task-bldg / src / main / resources / templates / tasks.html
@haya4 haya4 on 6 Aug 2022 4 KB OK : 「編集完了」
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{layout/layout}">
  5. <head>
  6. <meta charset="UTF-8" th:remove="tag">
  7. <script th:src="@{/custom/tasks.js}"></script>
  8. </head>
  9. <body onload='loadMap()'>
  10.  
  11. <!-- サイドバーの表示 -->
  12. <div layout:fragment="sidebar" th:replace="~{fragments/sidebar :: sidebar}">
  13. </div>
  14.  
  15. <!-- コンテンツの表示 -->
  16. <div layout:fragment="content">
  17. <main class="offcanvas-outside bg-light">
  18. <div class="container-fluid">
  19. <!-- トグルボタン -->
  20. <div th:replace="~{fragments/sidebar :: toggler}">
  21. </div>
  22.  
  23. <div class="row">
  24. <div class="col">
  25.  
  26. <div class="card shadow">
  27. <div class="card-header">
  28. <h6 class="text-navy my-2">Plateau 3D都市データ</h6>
  29. </div>
  30. <div class="card-body">
  31.  
  32. <!-- マップ -->
  33. <div id="wrap">
  34. <div class="header">
  35. <div id='title'></div>
  36. <div id='map'></div>
  37. </div>
  38. <!-- ポップアップ -->
  39. <div id='popup' class='ol-popup'>
  40. <a href='#' id='popup-closer' class='ol-popup-closer'></a>
  41. <div id='popup-content'></div>
  42. </div>
  43. </div>
  44. <table class="table table-bordered">
  45. <thead>
  46. <tr>
  47. <th th:text="${citycode}"></th>
  48. <th th:text="${cityname}"></th>
  49. <th th:text="${meshcode}"></th>
  50. <th th:text="${username}"></th>
  51. <th th:text="${changeSet}"></th>
  52. <th th:text="${validator}"></th>
  53. </tr>
  54. </thead>
  55. <tbody>
  56. <tr>
  57. <td th:object="${mesh}" colspan='4'>
  58. <a th:text="#{return}" th:href="@{/mesh/{citycode}(citycode=*{citycode})}" class="btn btn-navy">
  59. </a>
  60.  
  61. <a th:text="#{download}" th:href="@{{site}{folder}/bldg/{path}(site=*{city.site},folder=*{city.folder},path=*{path})}" class="btn btn-navy">
  62. </a>
  63. <a th:href="@{/task/add?op=RESERVE&citycode={citycode}&meshcode={meshcode}(citycode=*{citycode},meshcode=*{meshcode})}" class="btn btn-navy">
  64. <i class="bi bi-pencil-square" th:text="#{reserve}" ></i>
  65. </a>
  66. <a th:href="@{/task/add?op=CANCEL&citycode={citycode}&meshcode={meshcode}(citycode=*{citycode},meshcode=*{meshcode})}" class="btn btn-navy">
  67. <i class="bi bi-pencil-square" th:text="#{cancel}"></i>
  68. </a>
  69. <a th:href="@{/task/add?op=DONE&citycode={citycode}&meshcode={meshcode}(citycode=*{citycode},meshcode=*{meshcode})}" class="btn btn-navy">
  70. <i class="bi bi-pencil-square" th:text="#{done}"></i>
  71. </a>
  72. </td>
  73. </tr>
  74. </tbody>
  75. </table>
  76. <table class="table table-bordered">
  77. <thead>
  78. <tr>
  79. <th th:text="#{status}"></th>
  80. <th th:text="#{citycode}"></th>
  81. <th th:text="#{username}"></th>
  82. <th th:text="#{changeSet}"></th>
  83. <th th:text="#{validator}"></th>
  84. <th th:text="#{operation}"></th>
  85. <th th:text="#{updateTime}"></th>
  86. </tr>
  87. </thead>
  88. <tbody>
  89. <tr th:each="task : ${tasks}" th:object="${task}">
  90. <td th:text="*{status}"></td>
  91. <td th:text="*{citycode}"></td>
  92. <td th:text="*{username}"></td>
  93. <td th:text="*{changeSet}"></td>
  94. <td th:text="*{validator}"></td>
  95. <td th:text="*{operation}"></td>
  96. <td th:text="*{updateTime}"></td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </main>
  106. </div>
  107.  
  108. </body>
  109. </html>