APITester 재작성

This commit is contained in:
현성필
2023-10-17 14:05:35 +09:00
parent 4fee89e9cd
commit 50c59b274b
3 changed files with 1117 additions and 990 deletions
File diff suppressed because it is too large Load Diff
@@ -7,11 +7,6 @@
<body>
<aside class="pt-sidebar border" th:fragment="collectionFragment" style="min-width: 200px;">
<!-- <div class="input-group p-1">-->
<!-- <input type="text" class="form-control" placeholder="검색어를 입력하세요" aria-label="검색어를 입력하세요" id="filter_text"-->
<!-- aria-describedby="button-addon2">-->
<!-- </div>-->
<!-- new collection button -->
<div class="p-1">
<button type="button" class="btn btn-primary btn-sm" id="new_collection"><i class="fa fa-plus"></i>새 컬렉션</button>
<button type="button" class="btn btn-primary btn-sm" id="new_request"><i class="fa fa-plus"></i>새 요청</button>
@@ -28,11 +23,11 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<input type="text" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" aria-describedby="button-addon2" name="collection_name" required/>
<input type="text" id="new_collection_name" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" name="collection_name" required/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
<button type="button" class="btn btn-primary save">저장</button>
<button type="button" class="btn btn-primary save_collection">저장</button>
</div>
</div>
</div>
@@ -45,7 +40,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<input type="text" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" aria-describedby="button-addon2" name="name" required/>
<input type="text" class="form-control" placeholder="이름을 입력하세요" aria-label="이름을 입력하세요" name="name" required/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
@@ -93,13 +88,6 @@
<!-- menu script -->
<th:block th:fragment="collectionScript">
<script th:inline="javascript">
$(function () {
//when new_collection button clicked show modal popup for entering name
$('#new_collection').on('click', function () {
$('#new_collection_modal').find('input').val('');
$('#new_collection_modal').modal('show');
});
});
</script>
</th:block>
</body>
File diff suppressed because it is too large Load Diff