Files
vpd-permission-poc/dds-backoffice/src/main/resources/templates/fragments/dds-protection-direct.html
2026-07-01 07:57:52 +09:00

31 lines
1.6 KiB
HTML

<!doctype html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<body>
<div th:fragment="directComparison" class="table-responsive">
<form hx-post="/dds-protection/verify/direct" hx-target="#direct-comparison-result" hx-swap="innerHTML" class="mb-3">
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
<button class="btn btn-sm rw-btn-primary" type="submit">직접 접근 기준 검증 실행</button>
</form>
<table class="table table-sm align-middle protection-direct-table">
<thead><tr><th>검증 프로필</th><th>보호 상태</th><th>권한 반영</th><th>검색 검증</th><th>조치</th></tr></thead>
<tbody>
<tr th:each="status : ${directPaths}">
<td>
<strong th:text="${status.subjectLabel()}">검증 프로필</strong>
<small th:text="${status.objectName()}">보호 객체</small>
</td>
<td>
<span class="protection-table-badge" th:classappend="${' tone-' + status.primaryTone()}"
th:text="${status.primaryLabel()}">재검증 필요</span>
<small th:text="${status.primaryDescription()}">설명</small>
</td>
<td><strong th:text="${status.synchronizationLabel()}">선언 관측</strong><small th:text="${status.synchronizationDetail()}">설명</small></td>
<td><strong th:text="${status.verificationLabel()}">검증 기록 없음</strong><small th:text="${status.verificationDetail()}">설명</small></td>
<td><a class="btn btn-sm rw-btn-secondary" th:href="${status.actionHref()}" th:text="${status.actionLabel()}">실행</a></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>