cut-to-pack-service/target/classes/templates/process-list.html

38 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.w3.org/1999/xhtml" xmlns:uind="http://www.w3.org/1999/xhtml">
<head th:replace="_fragments :: head('Processes')"></head>
<body>
<div class="container-fluid">
<header class="row page-header" th:replace="_fragments :: page-header"></header>
<main class="row page-main">
<!--header starts-->
<div class="col-sm">
<div th:replace="_notices :: page-notices"></div>
<div class="mb-4 d-flex justify-content-between">
<h3>Processes</h3>
<a th:href="@{/processes/edit}" class="btn btn-primary">Edit Processes</a>
</div>
<div th:replace="_fragments :: table-loading-skeleton"></div>
<table class="table table-striped font-sm" data-table data-order="[[ 0, &quot;asc&quot; ]]">
<thead>
<tr>
<th>ID</th>
<th>Title</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr th:each="process,i : ${processes}">
<td th:text="${process.id}"></td>
<td th:text="${process.title}"></td>
<td th:text="${process.notes}"></td>
</tr>
</tbody>
</table>
<h4>No process found.</h4>
</div>
</main>
</div>
<div th:replace="_fragments :: page-footer-scripts"></div>
</body>
</html>