[Developer] #424 generate object query ORDS handlers

This commit is contained in:
devmrko
2026-06-23 15:27:17 +09:00
parent 0b43750a32
commit 4fa130cb8f
5 changed files with 202 additions and 8 deletions

View File

@@ -143,6 +143,17 @@ body {
display: inline;
}
.action-stack {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: .4rem;
}
.action-stack .inline-form {
display: inline-flex;
}
.switch-field {
align-items: center;
display: flex;

View File

@@ -61,7 +61,7 @@
<th>Owner</th>
<th>Object</th>
<th>ORDS Path</th>
<th></th>
<th>Action</th>
</tr>
</thead>
<tbody>
@@ -78,11 +78,18 @@
</form>
</td>
<td>
<form method="post" action="/objects/disable" class="inline-form">
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
<input type="hidden" name="objectId" th:value="${object.objectId()}">
<button class="btn btn-sm btn-outline-danger" type="submit">비활성화</button>
</form>
<div class="action-stack">
<form method="post" action="/objects/ords-handler" class="inline-form">
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
<input type="hidden" name="objectId" th:value="${object.objectId()}">
<button class="btn btn-sm btn-outline-primary" type="submit">조회 Handler 생성</button>
</form>
<form method="post" action="/objects/disable" class="inline-form">
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
<input type="hidden" name="objectId" th:value="${object.objectId()}">
<button class="btn btn-sm btn-outline-danger" type="submit">비활성화</button>
</form>
</div>
</td>
</tr>
<tr th:if="${#lists.isEmpty(objects)}">